Page 1 of 1

[userModule] Synology Surveillance Station (SSS) Web API sw

Posted: 08 Feb 2017 02:53
by fez
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)

Code: Select all

/webapi/_______________________________________________________entry.cgi?api=SYNO.SurveillanceStation.ExternalRecording&method=Record&version=2&cameraId=1&action=start
- stop recording on camera (cameraId=1)

Code: Select all

/webapi/_______________________________________________________entry.cgi?api=SYNO.SurveillanceStation.ExternalRecording&method=Record&version=2&cameraId=1&action=stop
- enable SSS email motion detection notifications

Code: Select all

/webapi/entry.cgi?5=1&api=SYNO.SurveillanceStation.Notification.Filter&version=1&method=Set&eventGroupType=2&eventType=5&filter=1
- disable SSS email motion detection notifications

Code: Select all

/webapi/entry.cgi?5=0&api=SYNO.SurveillanceStation.Notification.Filter&version=1&method=Set&eventGroupType=2&eventType=5&filter=1
toket: teamit_beta

Re: [userModule] Synology Surveillance Station (SSS) Web API sw

Posted: 17 Aug 2017 21:44
by igitlin
How to take snapshot, not record video, use this plugin and send snapshot to email

Re: [userModule] Synology Surveillance Station (SSS) Web API sw

Posted: 18 Aug 2017 00:38
by fez
That will not be possible with this module.
You could use this module as a start point to handle the login/session key handling and implement the snhapshot feature. The method is documented in the Synology SS manual, section 2.3.4.4
If you do implement it, please post it on the developers portal.