{"id":900,"date":"2023-10-05T18:48:21","date_gmt":"2023-10-05T18:48:21","guid":{"rendered":"https:\/\/iotmanager.org\/?p=900"},"modified":"2023-10-05T18:48:22","modified_gmt":"2023-10-05T18:48:22","slug":"%d0%b8%d0%bd%d1%82%d0%b5%d0%b3%d1%80%d0%b0%d1%86%d0%b8%d1%8f-%d1%81-esp32-cam","status":"publish","type":"post","link":"https:\/\/iotmanager.org\/en\/2023\/10\/05\/900\/","title":{"rendered":"Integration with ESP32-CAM"},"content":{"rendered":"<p>So far, only a stub for the future description<\/p>\n\n\n\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043b \u043c\u043e\u0434\u0443\u043b\u044c SDcard. \u041f\u043e\u043a\u0430 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u043c \u0432 esp32cam, \u043f\u043e\u0437\u0436\u0435 \u043f\u0440\u0438\u0434\u0435\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0448\u0438\u043b\u0434, \u043f\u0440\u043e\u0432\u0435\u0440\u044e \u043d\u0430 \u043d\u0435\u043c. \u0418\u0437 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u043f\u043e\u043a\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0431\u0440\u043e\u0441 \u043d\u0430 \u0444\u043b\u0435\u0448\u043a\u0443 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u043f\u0430\u043c\u044f\u0442\u0438, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0442\u044f\u043d\u0443\u0442\u044c \u0438\u0437 IoTValue \u0438\u0437 extBinInfo: sd.saveBin(&#171;\/\u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c&#187;, ID); ID &#8212; \u0435\u0441\u043b\u0438 ID \u0443\u043c\u0435\u0435\u0442 \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u0442\u043e \u043e\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0430 \u0432 \u0444\u0430\u0439\u043b. \u041f\u043e\u043a\u0430 \u043f\u0440\u044f\u043c\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f &#8212; \u044d\u0442\u043e \u0444\u043e\u0442\u043a\u0430 \u0441 \u043a\u0430\u043c\u0435\u0440\u044b. \u041f\u043e\u0437\u0436\u0435 \u0435\u0441\u0442\u044c \u043c\u044b\u0441\u043b\u044c \u0441\u043a\u0438\u0434\u044b\u0432\u0430\u0442\u044c \u043d\u0430 SD \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u0438\u043b\u0438 \u0432\u0435\u0441\u0442\u0438 \u043b\u043e\u0433 \u043f\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c ID.<\/p>\n\n\n\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043b \u043c\u043e\u0434\u0443\u043b\u044c EspCam. \u0423\u043c\u0435\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0444\u043e\u0442\u043a\u0430\u0442\u044c, \u0432\u0438\u0434\u0435\u043e, \u0435\u0441\u043b\u0438 \u0441\u0430\u043c\u0438\u043c \u0434\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c. \u0418\u0437 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f &#8212; EspCam.shot(); \u0418\u043b\u0438 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445: &#171;int&#187;: 60, &#8212; \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0441\u044a\u0435\u043c\u043a\u0438 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0430\u0445, \u0435\u0441\u043b\u0438 =0, \u0442\u043e \u0432\u044b\u043a\u043b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0430&#187;useLed&#187;: 0, &#8212; \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u043b\u0438 \u043d\u0435\u0442 \u0432\u0441\u043f\u044b\u0448\u043a\u0443 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u0443\u044e &#171;ticker&#187;: 0, &#8212; \u0433\u0435\u043d\u0435\u0440\u0438\u0442\u044c \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u043f\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u044a\u0435\u043c\u043a\u0435 &#171;webTicker&#187;: 0 &#8212; \u0442\u0438\u043a\u0430\u0442\u044c \u043f\u0440\u0438 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435 \u0444\u043e\u0442\u043a\u0438 \u0438\u0437 \u0432\u0435\u0431\u0430<\/p>\n\n\n\n<p>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&nbsp;<a href=\"http:\/\/espip\/getcam\">http:\/\/espIP\/getcam<\/a>&nbsp;2. \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043d\u0430 SD \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f sd.saveBin(&#171;&#187;, ID); 3. \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0432 \u0442\u0435\u043b\u0435\u0433\u0443 \u0442\u0438\u043f\u0430 tg.sendPic(ID); (\u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435)<\/p>\n\n\n\n<p>\u043f\u0440\u0438\u043c\u0435\u0440 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f (\u0444\u043e\u0442\u043a\u0430\u0442\u044c \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u043d\u0430 SD \u0444\u0430\u0439\u043b\u044b \u043f\u043e \u0442\u0430\u0439\u043c\u0435\u0440\u0443): if timer == 0 then { EspCam.shot(); sd.saveBin(&#171;\/pic&#187; + varNum + &#171;.jpg&#187;, EspCam); varNum = varNum + 1; }<\/p>","protected":false},"excerpt":{"rendered":"<p>So far, only a stub for the future description was added by 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 (&#034;\/file name with the extension&#034;, ID); ID \u2014 if ID can fill in the extended \u2026 <a title=\"Integration with ESP32-CAM\" class=\"read-more\" href=\"https:\/\/iotmanager.org\/en\/2023\/10\/05\/900\/\" aria-label=\"More on \u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f \u0441 ESP32-CAM\">Read more<\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[81],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/iotmanager.org\/en\/wp-json\/wp\/v2\/posts\/900"}],"collection":[{"href":"https:\/\/iotmanager.org\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iotmanager.org\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iotmanager.org\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iotmanager.org\/en\/wp-json\/wp\/v2\/comments?post=900"}],"version-history":[{"count":1,"href":"https:\/\/iotmanager.org\/en\/wp-json\/wp\/v2\/posts\/900\/revisions"}],"predecessor-version":[{"id":901,"href":"https:\/\/iotmanager.org\/en\/wp-json\/wp\/v2\/posts\/900\/revisions\/901"}],"wp:attachment":[{"href":"https:\/\/iotmanager.org\/en\/wp-json\/wp\/v2\/media?parent=900"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iotmanager.org\/en\/wp-json\/wp\/v2\/categories?post=900"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iotmanager.org\/en\/wp-json\/wp\/v2\/tags?post=900"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}