So I broke the Surveillance station plugin by updating my Synology NAS to DSM 7.0 version.
I am loosing hope that the plugin will ever be updated to I am looking for a workaround.
What I am trying now is to set up a webhook rule in Surveillance Station and I just send a http request to trigger it.
Trying the following code in Vera:
local http = require("socket.http") http.TIMEOUT = 5 result, status = http.request("http://192.168.1.3:5010/webapi/entry.cgi?api=SYNO.SurveillanceStation.Webhook&method="Incoming"&version=1&token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
But for some reason it does not work. Using the same URL in chrome browser I get the expected result.
What is wrong with my luup code?