{"id":19899866,"url":"https://github.com/starwhooper/rpi-motionalert","last_synced_at":"2026-04-10T22:36:39.309Z","repository":{"id":184836329,"uuid":"672557749","full_name":"Starwhooper/RPi-motionalert","owner":"Starwhooper","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-19T10:44:02.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-15T17:00:05.373Z","etag":null,"topics":["ffmpeg","motioneye","pushover","raspberrypi"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-sa-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Starwhooper.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}},"created_at":"2023-07-30T13:47:39.000Z","updated_at":"2023-08-06T17:48:33.000Z","dependencies_parsed_at":"2023-07-30T14:53:45.759Z","dependency_job_id":null,"html_url":"https://github.com/Starwhooper/RPi-motionalert","commit_stats":null,"previous_names":["starwhooper/rpi-motionalert"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Starwhooper/RPi-motionalert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Starwhooper%2FRPi-motionalert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Starwhooper%2FRPi-motionalert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Starwhooper%2FRPi-motionalert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Starwhooper%2FRPi-motionalert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Starwhooper","download_url":"https://codeload.github.com/Starwhooper/RPi-motionalert/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Starwhooper%2FRPi-motionalert/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31662169,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"ssl_error","status_checked_at":"2026-04-10T17:19:13.364Z","response_time":98,"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":["ffmpeg","motioneye","pushover","raspberrypi"],"created_at":"2024-11-12T20:10:08.933Z","updated_at":"2026-04-10T22:36:39.290Z","avatar_url":"https://github.com/Starwhooper.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"send alerts during motion\r\n\r\n# RPi-motion-alert\r\n\r\noptimized to use motion, motioneye or motioneyeos with pushover, include images/animated images\r\n\r\nMain features:\r\n* support pushover\r\n* create animated gif\r\n* support animated gif with pushover\r\n\r\n## Installation ##\r\ninstall all needed packages to prepare the software environtent of your Raspberry Pi:\r\n\r\n```bash\r\nsudo pip3 install requests python-ffmpeg\r\n```\r\nand this tool itself:\r\n```bash\r\ncd /opt\r\nsudo git clone https://github.com/Starwhooper/RPi-motionalert /opt/RPi-motionalert\r\n\r\n```\r\n## First configurtion ##\r\n```bash\r\nsudo cp /opt/RPi-motionalert/config.example.json /opt/RPi-motionalert/config.json\r\nsudo nano /opt/RPi-motionalert/config.json\r\n```\r\ninsert apikey and userkey for pushover and check the right folder\r\n\r\n## Add to motionEye\r\nInsert Command to \"Actions when motion has startet\": python3 /opt/RPi-motionalert/alert.py -v -c 1 -t \"%$\" -p %Y-%m-%d/%H-%M-%S.jpg\r\n* -v: means verbose\r\n* -c 1: means video device camera id on motionEye (not the camera id in motion itself)\r\n* -t \"%$\": means the Cameraname\r\n* -p %Y-%m-%d/%H-%M-%S.jpg: means the picture\r\n\r\nInsert Command to \"Actions when motion has ended\": python3 /opt/RPi-motionalert/alert.py -v -a -c 1 -t \"%$\" -p %Y-%m-%d/*.avi\r\n* -v: means verbose\r\n* -a: means to convert videofile in animated gif\r\n* -c 1: means video device camera id on motionEye (not the camera id in motion itself)\r\n* -t \"%$\": means the Cameraname\r\n* -p %Y-%m-%d/*.avi: means the videos, beware to set the right extension\r\n\r\n\r\n## Update ##\r\nIf you already use it, feel free to update with\r\n```bash\r\ncd /opt/RPi-motionalert\r\nsudo git pull origin main\r\n```\r\n\r\n# sources of knowledge:\r\n* Animated example: https://www.animatedimages.org/img-animated-animal-image-0051-80826.htm\r\n* python code: https://support.pushover.net/i44-example-code-and-pushover-libraries#python-image\r\n* pushover parameter: https://pushover.net/api\r\n* motion parameter: https://motion-project.github.io/motion_config.html#conversion_specifiers\r\n* python ffmpeg: https://pypi.org/project/python-ffmpeg/\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarwhooper%2Frpi-motionalert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstarwhooper%2Frpi-motionalert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarwhooper%2Frpi-motionalert/lists"}