https://github.com/python1320/cctv_monitor_motion
Power saving for a CCTV monitor with motion detector
https://github.com/python1320/cctv_monitor_motion
Last synced: 2 months ago
JSON representation
Power saving for a CCTV monitor with motion detector
- Host: GitHub
- URL: https://github.com/python1320/cctv_monitor_motion
- Owner: Python1320
- Created: 2023-10-08T18:13:25.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-10T23:01:01.000Z (over 1 year ago)
- Last Synced: 2024-12-31T02:13:26.553Z (4 months ago)
- Language: C
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CCTV monitor on demand
Purpose: 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

## Installation (WIP)
*Arduino:*
- Install Arduino IDE or VSCode platform.io
- Upload
- Solder to P2 a PIR
- Connect to PC for fake keyboard
*Force close monitor daemon:*```bash
make
make install
```## Alternatives
- xprintidle and some bash## Misc
```bash
#!/bin/bash
while true;dompv --no-terminal --really-quiet --loop-playlist=force --loop --profile=low-latency -hwdec=vaapi --stop-screensaver=no "$HOME/.config/cams.m3u"
echo restarting
sleep 5
done```