{"id":15795132,"url":"https://github.com/rdcm/iot-camera-gun","last_synced_at":"2026-04-26T12:32:56.107Z","repository":{"id":240180993,"uuid":"782943355","full_name":"rdcm/iot-camera-gun","owner":"rdcm","description":"Motion detection with ESP32 AI Thinker Camera","archived":false,"fork":false,"pushed_at":"2024-04-06T13:46:02.000Z","size":149,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-12T00:16:53.697Z","etag":null,"topics":["arduino","eloquent","esp32-cam","iot","motion-capture","motion-detection","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rdcm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-06T13:45:32.000Z","updated_at":"2024-04-25T22:57:26.000Z","dependencies_parsed_at":"2024-05-17T06:49:53.047Z","dependency_job_id":"3bf0cf6a-cd2a-49d5-a623-1316a63c3383","html_url":"https://github.com/rdcm/iot-camera-gun","commit_stats":null,"previous_names":["rdcm/iot-camera-gun"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rdcm/iot-camera-gun","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdcm%2Fiot-camera-gun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdcm%2Fiot-camera-gun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdcm%2Fiot-camera-gun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdcm%2Fiot-camera-gun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rdcm","download_url":"https://codeload.github.com/rdcm/iot-camera-gun/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdcm%2Fiot-camera-gun/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32297895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T09:34:17.070Z","status":"ssl_error","status_checked_at":"2026-04-26T09:34:00.993Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","eloquent","esp32-cam","iot","motion-capture","motion-detection","telegram-bot"],"created_at":"2024-10-05T00:00:48.219Z","updated_at":"2026-04-26T12:32:56.092Z","avatar_url":"https://github.com/rdcm.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## About \n\nExample of usage [EloquentEsp32cam](https://github.com/eloquentarduino/EloquentEsp32cam) library.\n\n## Problem\n\nFor example, you want to monitor activity behind a glass window and, if motion is detected, take a screenshot and send it over the network to a telegram bot.\n\nThe first solution that comes to mind is to use a PIR sensor. But this solution will not work, because... glass reflects ultraviolet and most infrared light.\n\n![PIR](./images/PIR.jpg)\n\nIn the working solution, the PID sensor is excluded from the circuit. The camera takes pictures at a certain frequency and compares them with each other, if the comparison algorithm considers that the discrepancies between the frames are significant, the motion trigger is triggered.\n\n## Components\n\nESP32 Ai Thinker Cam\n\n![camera](./images/ESP32-CAM.jpeg)\n\n## Settings\n\n`secrets.h.example`:\n\n```\n// wifi\n#define WIFI_SSID \"wifi network\"\n#define WIFI_PASS \"wifi network pass\"\n\n// telegram\n#define TELEGRAM_TOKEN \"telegram token from @BotFather\"\n\n/*\nRequest:\nhttps://api.telegram.org/bot\u003cTELEGRAM_TOKEN\u003e/getUpdates (Before execute http request you should send at least one message to bot)\n\nResponse:\n...\n\"chat\": {\n    \"id\": \u003cCHAT_ID\u003e,\n    \"first_name\": \"...\",\n    \"username\": \"...\",\n    \"type\": \"private\"\n}\n...\n*/ \n#define TELEGRAM_CHAT \"CHAT_ID\"\n```\n\n## Links\n\n[ESP32 cam motion detection without PIR](https://eloquentarduino.com/posts/esp32-cam-motion-detection)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdcm%2Fiot-camera-gun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frdcm%2Fiot-camera-gun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdcm%2Fiot-camera-gun/lists"}