5

I have a doorbird video doorbell with motion push button and PIR motion sensor. The camera can also provide a continuous feed which I'm recording via Synology Surveillance Station as a generic ONVIF camera. This ONVIF camera does not define the motion sensor or bell push button as digital inputs, which is the normal way to interact with them in Surveillance Station. However, the DoorBird can fire GET requests (at least on button push, possibly for PIR sensor) so I'm hoping to use this GET request feature instead of proper ONVIF event support.

Action Rules and External Events

Using the Surveillance Station 'Action Rules' available from the WEB UI, I hoped to wire this up to a motion event. I added a new event, using 'External Device' (web request call).

enter image description here

enter image description here

The 'external event' will generate a link like this.

http://192.168.1.5:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.ExternalEvent&method="Trigger"&version=1&eventId=1&eventName="This is external event1"&account="doorbird"&password="changeme"

This works, I get a 'success' json response and an event it registered. The problem is that I want to register a camera motion event that appears in the camera timeline as normal.

The problem here is that there is no way to utilise this event as a 'motion' detection event within Surveillance Station. You can only switch home mode on and off or invoke an audio output. I want the motion event triggered so that it shows up in the camera timeline as I continuously record the camera.

WEB API

https://global.download.synology.com/download/Document/DeveloperGuide/Surveillance_Station_Web_API_v2.7.pdf

To get the current version of Surveillance Station.

http://192.168.1.5:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Info&method=GetInfo&version=1&account="doorbird"&password="changeme"

To get the current camera information. Note that 'basic=true' sends addition basic data, it is not 'just' basic data. For example, the camera ID is not sent unless basic=true.

http://192.168.1.5:5000/webapi/entry.cgi?privCamType=1&version="8"&basic=true&streamInfo=true&api="SYNO.SurveillanceStation.Camera"&camStm=1&method="List"&account="doorbird"&password="changeme"

So I have the camera id, but at this point I'm stuck. I'm not sure if it is possible to trigger the equivalent motion event against the camera feed.

Paul George
  • 1,788
  • 16
  • 33
  • Did you get this sorted? Action device needs to be 'camera' not 'surveillance station'. [Action Manager](https://i.stack.imgur.com/4Rv0z.png) – xbmcnut Jan 14 '19 at 00:14
  • @xbmcnut when selecting 'camera' device there is no appropriate event to generate 'camera motion detection' – Paul George Jun 06 '19 at 14:01
  • 1
    I also want to know the answer. I have a Hikvision camera that has more advanced "smart" motion detection events than Surveillance Station like line crossing, intrusion detection, etc. However Surveillance Station doesn't recognize them, so I want to manually trigger a motion event when a smart event is triggered by my camera. – Iliyan Georgiev Jul 14 '19 at 08:15
  • @lliyan if you contact Synology support, you can reference my ticket if you like. The problem I had was conveying the actual problem. They didn't seem to 'get it', maybe you'll have better luck? Synology Support Ticket: #1266051 – Paul George Jul 15 '19 at 13:12

0 Answers0