{"id":28062081,"url":"https://github.com/adityarao127/motion-detector-system","last_synced_at":"2025-07-05T09:05:05.281Z","repository":{"id":240888025,"uuid":"799815341","full_name":"AdityaRao127/motion-detector-system","owner":"AdityaRao127","description":"Motion detection system with M5GO","archived":false,"fork":false,"pushed_at":"2024-06-01T10:23:27.000Z","size":68,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-05T09:05:04.183Z","etag":null,"topics":["m5stack","mms-messages","pir-sensor","sms-messages"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AdityaRao127.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2024-05-13T06:48:05.000Z","updated_at":"2024-06-01T10:23:31.000Z","dependencies_parsed_at":"2024-05-21T09:28:39.209Z","dependency_job_id":"94791afc-cf23-44bb-88ca-88145002c7fe","html_url":"https://github.com/AdityaRao127/motion-detector-system","commit_stats":null,"previous_names":["adityarao127/motion-detector-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AdityaRao127/motion-detector-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityaRao127%2Fmotion-detector-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityaRao127%2Fmotion-detector-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityaRao127%2Fmotion-detector-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityaRao127%2Fmotion-detector-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AdityaRao127","download_url":"https://codeload.github.com/AdityaRao127/motion-detector-system/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityaRao127%2Fmotion-detector-system/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263715326,"owners_count":23500241,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["m5stack","mms-messages","pir-sensor","sms-messages"],"created_at":"2025-05-12T10:33:59.691Z","updated_at":"2025-07-05T09:05:05.262Z","avatar_url":"https://github.com/AdityaRao127.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Motion Detection System with M5GO, PIR Sensor, and SMS/MMS notifications\n\nDeveloped with MicroPython\\\n![Micropython Logo](https://dashboard.snapcraft.io/site_media/appmedia/2018/12/mp_logo.png) \n\n\nDeveloped with M5GO kit\\\n![M5GO Kit](https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSS2YtHgVWWzzhsuiFNPCIjIHTisbo3g6TOfmewtrU9gA\u0026s) \n\n## How to use? \n1. Follow manual instructions to plug the Motion sensor with appropriate wires into the ESP32 device.\n\n2. Create a Gmail account (or use an existing one).\n   - Turn on two-factor authentication and obtain an app password. It should be in this format `xxxx-xxxx-xxxx`\n\n4. Connect your M5GO device or ESP32 board. Click the `connected` button in the bottom-left corner and ensure the connection is successful. \n\n5. Visit [m5stack website](https://flow.m5stack.com/) and insert [main.py](https://github.com/AdityaRao127/motion-detector-system/blob/main/main.py) into the file.\n\n6. Add the environment variables into the appropriate fields. Choose the appropriate domain name for the `sender_email`:\n  - AT\u0026T: **number@txt.att.net** for a normal text message (SMS), or **number@mms.att.net** for a multimedia message (MMS)\n  - Verizon: **number@vtext.com** for both SMS and MMS messages\n  - Sprint PCS: **number@messaging.sprintpcs.com** for both SMS and MMS messages\n  - T-Mobile: **number@tmomail.net** for both SMS and MMS messages\n   [Domain info taken from source](https://www.wikihow.com/Send-a-Text-from-Email)\n\n6. Name the Python file `main` if it's not already. Then run the [main.py](https://github.com/AdityaRao127/motion-detector-system/blob/main/main.py) and test if it works.\n   - `1` means motion detected\n   - `0` means no motion detected\n\n8. Change M5GO device into APP Mode -\u003e Reset Device -\u003e Go to Programs -\u003e Scroll down and select the `main.py` file.\n   - Since you are in APP mode, the device will run `main.py`  whenever the M5GO device is online.\n  \n\n## How does the motion detector work? \nThe PIR sensor detects the heat emitted by a person or object, and this detection signal is sent to the microcontroller, which then sends an email to the specified recipient.\n\nPIR sensor image\\\n![PIR sensor](https://ars.els-cdn.com/content/image/3-s2.0-B9780128236949000190-f08-05-9780128236949.jpg)\n\n\n### GitHub Stats\n[![Commits](https://img.shields.io/github/commit-activity/m/AdityaRao127/motion-detector-system.svg)](https://github.com/AdityaRao127/motion-detector-system)\n[![Forks](https://img.shields.io/github/forks/AdityaRao127/motion-detector-system.svg)](https://github.com/AdityaRao127/motion-detector-system/network)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n\n### GitHub Profile\n[![GitHub Profile](https://github.com/AdityaRao127.png)](https://github.com/AdityaRao127)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadityarao127%2Fmotion-detector-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadityarao127%2Fmotion-detector-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadityarao127%2Fmotion-detector-system/lists"}