{"id":20093885,"url":"https://github.com/tokollo5/PIR-Sensor","last_synced_at":"2025-05-06T04:32:21.144Z","repository":{"id":186389680,"uuid":"560531401","full_name":"tokollo5/PIR-Sensor","owner":"tokollo5","description":"Motion Detector based on Raspberry Pi","archived":false,"fork":false,"pushed_at":"2024-02-07T16:19:44.000Z","size":30,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-04T00:27:12.032Z","etag":null,"topics":["motion-detector","pi-camera","pir-sensor","python","raspberry-pi"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/tokollo5.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":"2022-11-01T17:50:58.000Z","updated_at":"2025-03-14T12:20:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"c592c5dd-81c8-43ec-9440-7d75ce63fc2e","html_url":"https://github.com/tokollo5/PIR-Sensor","commit_stats":null,"previous_names":["matrocholo/pir-sensor","bylotonix/pir-sensor","tokollo5/pir-sensor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tokollo5%2FPIR-Sensor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tokollo5%2FPIR-Sensor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tokollo5%2FPIR-Sensor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tokollo5%2FPIR-Sensor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tokollo5","download_url":"https://codeload.github.com/tokollo5/PIR-Sensor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252622422,"owners_count":21777987,"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":["motion-detector","pi-camera","pir-sensor","python","raspberry-pi"],"created_at":"2024-11-13T16:48:39.569Z","updated_at":"2025-05-06T04:32:20.892Z","avatar_url":"https://github.com/tokollo5.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eRaspberry Pi Motion Detector\u003c/h1\u003e\n\u003ch4 align=\"center\"\u003eRaspberry Pi Motion Detector is a Python script with which you can use Raspberry Pi and a PIR sensor as a motion detector.\u003c/h4\u003e\n\n## Warnings:\n- Only **Raspberry Pi OS Bullseye** is supported.\n\n## Requirements:\n- Raspberry Pi\n- Any three-pin PIR sensor\n\n## Setup:\n- In the file pir.py edit poweroff_delay and check_delay to change the screen auto-off time and the delay between sensor polling, as well as pir_pin to the one you use for the sensor (BOARD type numbering)\n```sh\ngpio.setmode(gpio.BOARD)\npoweroff_delay = 10\ncheck_delay = 0.85\npir_pin = 11\n```\n- Download the script:\n```sh\ngit clone https://github.com/ByloTonix/PIR-Sensor/\ncd PIR-Sensor/\n```\n\n## Usage:\n- After completing the configuration, go to the directory with the script and run it:\n```sh\ncd ~/PIR-Sensor\nsudo python3 pir.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftokollo5%2FPIR-Sensor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftokollo5%2FPIR-Sensor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftokollo5%2FPIR-Sensor/lists"}