Synology Surveillance station

Hi everyone,

I'm thinking of moving from blue iris to running everything in this nas (1019+). Just wondering if anyone has hooked up hubitat to toggle armed/disarmed status of surveillance station?

thank you


You should be able to do this with Action Rules in surveillance station. So basically, create two action rules (one for Home Mode ON, and one for OFF) with an EXTERNAL DEVICE event. Action would be to enter or leave Home Mode.

Then have an RM rule, or an app, or driver with HTTP capability (there are a few custom drivers that do this) to send the HTTP command listed in the action rule to surveillance station.

The http commands look something like:
http://{NasIP}:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.ExternalEvent&method="Trigger"&version=1&eventId=1&eventName="This is external event1"&account="{account}"&password="{password}"

Obviously you change {NasIP}, {account}, and {password} to match your ip/account settings.

It would be better to send it via HTTPS, but the easiest way is to send it to the HTTP port on the NAS (assuming you have it open).


I actually set this up this week. Works fine.

I made a virtual device, and used this user driver:

Then ON URL looks like this (with IP, user, and password changed :). As expected I had to replace spaces with %20 and quotation marks with %22:



thanks so much for sharing!

I found this today (going to have a play tomorrow):

Btw, I couldn't get the above driver to talk to my NAS.

Cheers, this works great for me. :+1:

I've set this up but using the local lan ip address to call it via hubitat is not going through but if i run the command in browser it works. I do have to click continue as it says it's not secure so maybe hubitat is getting caught?

it's a send get command is that right? https://192.168.1.xx:xxxx/webapi/entry.cgi?api=SYNO.SurveillanceStation.Webhook&method="Incoming"&version=1&token=xxxxxx

What version of DSM are you running?

version 6.2.4 - havn't updated to 7 as i'm not sure if it will kill my docker containers

ok so i was using https port... used http and it's working!

1 Like

Sweet, I hadn't noticed that in your URL. :man_facepalming:

1 Like

So it actually hasn't been working I thought it was.
. if I run it manually in the browser it works fine but habitat calling it does not work it never updates the status not really sure why

I found my work proxy breaks WebVPN, the workaround is to just use the Synology SSL VPN when I need access from work:

Screen Shot 2021-11-22 at 3.23.44 pm

However, I can get to all my stuff via my mobile internet connection just fine.

Thanks. Yeah it's not in any vpn at all. Could be the firewall rules perhaps.

I actually think the issue is on The HE side it's not calling the url properly
. doing it directly in the browser I get success so it's very strange

Hmm i don't understand sorry. I am using rule machine to call this URL as follows and it doesn't work. However running your rolling my browser on my work computer on LAN works fine.

Any idea what I may be doing wrong ?

Oh sorry, I thought we were in the Synolgy VPN topic, :man_facepalming: I need more sleep :stuck_out_tongue_winking_eye:.

I just setup a “http get switch” device like this:

And toggle it with a Basic Rule.

1 Like

ok got this going but i'm getting illegal characater does your url have "incoming" in it? http://192.168.1.xx:xxx/webapi/entry.cgi?api=SYNO.SurveillanceStation.Webhook&method="Incoming"&version=1&token= like this?

Im not sure how you are getting your HTTP URL, however, the NAS generates them for you. Just go into the Action Rules (you need to create one for each mode - Home / Away) then click get command. Then all you need to do is add your credentials and paste the result into your Hubitat HTTP Device.