This is a simple python script to activate Synology DS Surveillance Station 7 based on inputs from a RPi PiFace.
ipcam.py
- monitors events on the PiFacetrigger.py
- sends http request to Syno DS SS7
- Create limited user in Surveillance Station and add the username and password to
trigger.py
- Create custom alarms in Surveillance Station for different "External Event"
- Change
ipcam.py
s.t.get_event()
returns a tuple containing an external event, if any changes is detected by the PiFace - On the Raspberry Pi type:
crontab -e
and add:@reboot /usr/bin/tmux new-session -d -s IPCAM /home/pi/ipcam.py
- Make sure
pifacedigitalio
is installed:pip install pifacedigitalio
Reboot the Raspberry Pi and now you can at any time check the status of the script: tmux a -t IPCAM
.
I can't get the InputEventListener
to work (and might not be the only one), however this would make the implementation of ipcam.py
much simpler.