{"id":18876553,"url":"https://github.com/python1320/cctv_monitor_motion","last_synced_at":"2026-02-18T13:30:18.368Z","repository":{"id":199120807,"uuid":"702179415","full_name":"Python1320/cctv_monitor_motion","owner":"Python1320","description":"Power saving for a CCTV monitor with motion detector","archived":false,"fork":false,"pushed_at":"2023-10-10T23:01:01.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-31T02:13:26.553Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Python1320.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":"2023-10-08T18:13:25.000Z","updated_at":"2023-10-08T18:13:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"7f5fa48a-7aca-464e-bb97-81cc48a3e820","html_url":"https://github.com/Python1320/cctv_monitor_motion","commit_stats":null,"previous_names":["python1320/cctv_monitor_motion"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Python1320%2Fcctv_monitor_motion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Python1320%2Fcctv_monitor_motion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Python1320%2Fcctv_monitor_motion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Python1320%2Fcctv_monitor_motion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Python1320","download_url":"https://codeload.github.com/Python1320/cctv_monitor_motion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239832635,"owners_count":19704608,"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":[],"created_at":"2024-11-08T06:13:53.236Z","updated_at":"2026-02-18T13:30:18.323Z","avatar_url":"https://github.com/Python1320.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CCTV monitor on demand\r\n\r\nPurpose: Makes a Linux CCTV monitor turn off even in fullscreen (you should also kill the program to save on CPU) and wakes the screen on motion detected with a PIR sensor\r\n\r\n![architecture.drawio.svg](architecture.drawio.svg)\r\n\r\n## Installation (WIP)\r\n\r\n\r\n*Arduino:*\r\n - Install Arduino IDE or VSCode platform.io\r\n - Upload\r\n - Solder to P2 a PIR\r\n - Connect to PC for fake keyboard\r\n \r\n*Force close monitor daemon:* \r\n\r\n```bash\r\nmake\r\nmake install\r\n```\r\n\r\n## Alternatives\r\n - xprintidle and some bash\r\n\r\n## Misc\r\n\r\n```bash\r\n#!/bin/bash\r\nwhile true;do\r\n\r\n        mpv --no-terminal --really-quiet --loop-playlist=force --loop --profile=low-latency -hwdec=vaapi --stop-screensaver=no \"$HOME/.config/cams.m3u\"\r\n        echo restarting\r\n        sleep 5\r\ndone\r\n\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython1320%2Fcctv_monitor_motion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpython1320%2Fcctv_monitor_motion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython1320%2Fcctv_monitor_motion/lists"}