Enable/disable mobile alert notification via http request

May 20, 2015
6
0
I have a scenario where I trigger alerts via http requests for a camera from two different sources. I want one of the sources´ triggers to send mobile push notifications while the other source should not. Is there a way for me to achieve this?
 
I would clone the camera you are trying to trigger.
Set one camera to push the alert when triggered externally by whatever source you are using.
Set the other camera to not push the notification.
 
  • Like
Reactions: TonyR
Found in BI's built-in 'Help' under "Administration" => "HTTP INTERFACE" => "Admin Commands":

/admin?camera=x&alerts=x Enable or disable alerts on camera x (short name)

Example:
http://BI-Server-IP:BI-Server-Port/admin?camera=x&alerts=x

It's not clear to me if "alerts=X" where x=1 to enable or x=0 to disable alerts.
 
  • Like
Reactions: Mike A.
Thanks for your suggestions, I didn´t quite get the alerts=x thing to work, I think I will have to go done the clone route. I don´t think it´s the most elegant and cpu friendly solution though.
 
Thanks for your suggestions, I didn´t quite get the alerts=x thing to work, I think I will have to go done the clone route. I don´t think it´s the most elegant and cpu friendly solution though.

A correctly cloned camera does not use extra Cpu resources. After closing and setting up the alert, just hide it in the gui.

I'm using one cloned camera that is only enabled at night and sends an email alert to IFTTT to turn my flood lights on when motion is detected.
 
  • Like
Reactions: TonyR