Toggle notifications based on Verisure alarm status

Hi,

I want to integrate my Verisure alarm system with NCS. What I am trying to accomplish:

  • When the alarm is armed, I want to be notified for motion on 3 specific camera’s
  • When the alarm is unarmed, I want to disable the notifications

On the Verisure side, I can read out the status of the Verisure alarm, so I can write a script that checks the alarm status every x seconds, and fires actions to NCS.
On the NCS side, what would be the best workflow to get notifications on motions?

I could use standard email notifications, but, correct me if I am wrong, that would fire alerts for ALL sources, and I don’t think that you can turn on or off notifications via API?

Alternative could be that I let NCS do a http request to my script on motion, and let the script handle the notification.
In that case I would need to query NCS for the motion image. Any example on how to do this exactly?

When sending an https request from NCS to my script, could I add the name of the camera to the request? Is there any place holder for that?

Thanks

Hi Mitch,
Back in business with interesting things! Well, this is a piece of cake ;). Here are some suggestions for you to test and see what is best in your application.
-you can use the email function, but to get an email for specific cams when motion is triggered you must create a rule for each camera.
-when the alarm is armed you can turn on motion detection for the individual cameras with the webAPI. http://netcamstudio.com/WebAPI/#Moonware.Server.WCF~Moonware.Server.WCF.MoonwareServerWCF~GetRules.html
-I am not sure if you want to have motion detection running also when alarm is unarmed. In that is the case you probably need to be able to enable/disable the Rule which I do not see is possible right now?
-it should be possible to disable notifications using the StartStopPlugin command. Alternatively you can in Verisure just disregard from notifications that arrive between unarmed and armed.

-Alternative could be that I let NCS do a http request to my script on motion, and let the script handle the notification.
In that case I would need to query NCS for the motion image. Any example on how to do this exactly?
— test CapturePicture Method

-When sending an https request from NCS to my script, could I add the name of the camera to the request? Is there any place holder for that?
— not to my knowledge, but please clarify a little bit more if you can.

-Henrik