[userModule] Synology Surveillance Station (SSS) Web API sw
Posted: 08 Feb 2017 02:53
This module will enable you to control the Synology Surveillance Station through its Web API. It creates a virtual binary switch. Based on the provided credentials it will log in, send the given on/off command with the session ID and log off. This could be used to start and stop recording, switch on and off SSS notifications, etc. for complete command set please check the Synology Surveillance Station Web API manual. The format is left open to offer greater flexibility. Try the commands in a browser before using them here. Synology changed the web API so not all commands specified in its manual will work.
Here are some examples for SSS commands:
- start recording on camera (cameraId=1)
- stop recording on camera (cameraId=1)
- enable SSS email motion detection notifications
- disable SSS email motion detection notifications
toket: teamit_beta
Here are some examples for SSS commands:
- start recording on camera (cameraId=1)
Code: Select all
/webapi/_______________________________________________________entry.cgi?api=SYNO.SurveillanceStation.ExternalRecording&method=Record&version=2&cameraId=1&action=start
Code: Select all
/webapi/_______________________________________________________entry.cgi?api=SYNO.SurveillanceStation.ExternalRecording&method=Record&version=2&cameraId=1&action=stop
Code: Select all
/webapi/entry.cgi?5=1&api=SYNO.SurveillanceStation.Notification.Filter&version=1&method=Set&eventGroupType=2&eventType=5&filter=1
Code: Select all
/webapi/entry.cgi?5=0&api=SYNO.SurveillanceStation.Notification.Filter&version=1&method=Set&eventGroupType=2&eventType=5&filter=1