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

Tips, Tricks and Scripts to enhance your home automation and workaround known device bugs, limitations and incompatibilities
Post Reply
fez
Posts: 53
Joined: 20 Jul 2015 23:03

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

Post by fez » 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)

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

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 2 guests