Webhook POST to Synology Surveillance Station

Need some help here, please :slight_smile:
When I hit this link (fictive example) in my browser some snapshots are taken in my Synology surveillance station (--> the link is working)

https://192.168.158.213:12312/webapi/entry.cgi?api=SYNO.SurveillanceStation.Webhook&method="Incoming"&version=1&token=NSEjblablablablamqqJw627ww6

I can not make it work using a send GET or send POST in rule machine

If I try send GET, I only can paste the link, this does not work

I geuss I need to use sent POST

How do I need to fill in the 3 fields to make it work? I have try many combinations without result

Can anybody help? Is it possible to sent httpS ?

I don't think you can use https, just http, but I could be wrong.

What is it you are trying to accomplish? If it is to show the cameras on your dashboard get out the post below. I don't have my Surveillance Station running yet or I could provide more details.

1 Like

I want to send a trigger to my synology to save some snapshots, It works when I paste the link in my browser , I get {"success":true} and the action rule in my Synology is running (the snapshots are saved).

I have no issues to show the streams on my dashbord, this is working fine

Try like this (both http and https, make sure http is open on the NAS, or/and test with http 1st)

This is how I automate rebooting my hub.

Ha, I found it :slight_smile:
This HTTPS link:
https://192.168.158.213:12312/webapi/entry.cgi?api=SYNO.SurveillanceStation.Webhook&method="Incoming"&version=1&token=NSEjblablablablamqqJw627ww6

needed to be changed to a HTTP link with the HTTP port of the Synology NAS SurveillanceStation
http://192.168.158.213:12313/webapi/entry.cgi?api=SYNO.SurveillanceStation.Webhook&method="Incoming"&version=1&token=NSEjblablablablamqqJw627ww6

This is how I need to make the POST request (without the "?")

From now on I can send a trigger to my Surveillance Station to make for example some snapshots:-)

2 Likes

Hello there,
Many thanks for the description. I have tried all as described but for some reason, i cannot trigger the cams in SS via Hubitat. I have a setup via Homebridge. Same URL and the triggering works, but it fails via Hubitat. Do i need to enable something somewhere else in the hub to get this functionality. I really went through all the steps, but without luck. Really hope you can point me in the right direction. Thanks so much in advance?

Did you see step3 in this post, maybe this can help?

I really appreciate your quick reply. Just in general the whole atmosphere and willing to help go about of the community is amazing. I just started with Hubitat 6 months ago. Came from ST and i LOOOOVE Hubitat.
I did see steo 3 and i really did ALL as described. As mentioned the same link works in Homebridge. In Hubitat however, it doesn’t. I’m on http, removed the ? and did use the http port as used by my Synology NAS. I simply don’t get it. I’ll keep on trying, because i’d really like to keep Homebridge out of the equation.
Cheers and thanks!

Can you share a printscreen from your rule in rule machine?

Sure thing. Here you go: :pray:


can you try it without the "%22"
image

1 Like

You sir, are amazing!!!! That did the trick and i would never ever have been able to figure that out myself. IT WORKS NOW and you really, really made my day. Thank you so much🙏

3 Likes