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?