Help to run script (Synology Surveillance Station - Home Mode OFF/Home Mode ON)


(Peter Friis) #1

Can somebody helt me to integrate this to my ST-setup.
Maybe with a virtual switch - I do not have raspberrypi, so it need to be done without it.


Login (use your account and password to login)

pi@raspberrypi ~ $ curl -L “http://192.168.1.101:5000/webapi/auth.c … format=sid”
{“data”:{“sid”:“Gj.tXLURyrKZg1510MPN674502”},“success”:true}

Home Mode on

pi@raspberrypi ~ $ curl -L “http://192.168.1.101:5000/webapi/entry. … 0MPN674502”

Home Mode OFF

{“success”:true}pi@raspberrypi ~ $ curl -L “http://192.168.1.101:5000/webapi/entry. … 0MPN674502”

Thanks