So far, only a stub for the future description
Added the SDcard module. So far, I tested only on the built-in esp32cam, later a separate shield will come, I will check on it. Of the functions, so far only reset binary data from the memory area to the flash drive, which can now be pulled from IoTValue from extBinInfo: sd.saveBin ("/file name with the extension", ID); ID — if ID can fill in extended information, it will be saved to a file. While a direct example of use is a photo from the camera. Later, there is an idea to throw the configuration to SD or keep a log based on ID values.
Added the EspCam module. It can only take photos and videos if you add them yourself. From the script-EspCam. shot(); Or in the settings: "int": 60 — - automatic shooting interval in seconds, if =0, then off the automatic machine "useLed": 0 — - use or not the built-in flash "ticker": 0, - generate events for each shooting "webTicker": 0 — tick when viewing photos from the web
any method of starting shooting saves the photo to memory in the extended IoTValue zone, then you can: 1. view the photo in the browser at http://espIP/getcam 2. save to SD using sd. saveBin ("", ID); 3. send to a cart like tg. sendPic(ID); (under development)
sample scenario (take photos and save files to SD using a timer): if timer == 0 then { EspCam.shot(); sd.saveBin(«/pic» + varNum + «.jpg», EspCam); varNum = varNum + 1; }