I would like to have a switch that disables all camera alerts in Blue Iris via a button on the Lovelace UI.
The command line that queries the status would be (with authentication):
and outputs:
signal=green
schedule=Default
profile=1
lock=2
transport=0,0/1
Of which signal=green
determines the state.
The command that disables the cameras would be:
http://192.168.1.17:81/admin?signal=0
returns:
signal=red
schedule=Default
profile=1
lock=2
transport=0,0/1
The command that enables the cameras would be:
http://192.168.1.17:81/admin?signal=0
signal=green
schedule=Default
profile=1
lock=2
transport=0,0/1
How would I handle this with basic authentication to create a button on the UI?
Thank you