Watch and delete motion videos online.
Tested on Raspberry Pi zero w
and Rasperry Pi 4
running Ubuntu Server 20.04
and Raspbian OS
.
- Python 3.6 or higher
- Machine running motion
git clone https://github.com/gifuzzz/motionctl
cd motionctl
pip3 install -r requirements.txt
- Feel free to change default configs in
config.py
(particularly if your stream has a static address)
python3 app.py
This file deletes all the motion videos of 4 and more days ago. Put this in crontab to delete old files periodically.