Enable/disable mobile alert notification via http request

Joined
May 20, 2015
Messages
6
Reaction score
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?
 

LopezEL

Getting the hang of it
Joined
Sep 30, 2019
Messages
97
Reaction score
90
Location
SC
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.
 

TonyR

IPCT Contributor
Joined
Jul 15, 2014
Messages
16,954
Reaction score
39,441
Location
Alabama
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.
 
Joined
May 20, 2015
Messages
6
Reaction score
0
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.
 

LopezEL

Getting the hang of it
Joined
Sep 30, 2019
Messages
97
Reaction score
90
Location
SC
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.
 
Top