Link Notifications to setting of premises alarm
AnsweredHi.
I was wondering if any one could help with ideas on how to trigger notifications through NX to send only when the site alarm panel is armed?
A fixed schedule type arrangement is not really an option as the site operates at sporadic hours.
thanks in advance
Chris
-
Hi chris gill,
Thank you for your question.
You could use the /ec2/saveEventRule API to turn on/off the event when the site alarm panel is armed:
1. If the alarm panel is an ONVIF-compatible device and managed by Nx, then the event rule could be:When: Input Signal on Device
Action: Do HTTP request
(Call the API /ec2/saveEventRule and enable the required event rules)2. If the alarm panel supports to send HTTP request, then it could send the Generic event to Nx when it is armed. And the event rule could be:
When: Generic Event
Action: Do HTTP request
(Call the API /ec2/saveEventRule and enable the required event rules)Note:
1. See the article here for the details of the Nx generic event.
2. You could obtain the event content by running /ec2/getEventRules. Just remember to change the value of the "disabled" parameter.
Thank you.0
Please sign in to leave a comment.
Comments
1 comment