I have blue iris controlling my cameras and have two profiles one when i’m at home and other when out. This is controlled from my home assistant, and for that i used these commands
# Change the blue Iris ative profile. switch: - platform: command_line switches: blue_iris: command_on: 'curl -X GET "http://192.168.1.xx:81/admin?profile=1&lock=1"' command_off: 'curl -X GET "http://192.168.1.xx:81/admin?profile=0&lock=1"' friendly_name: Blue Iris
This is woks fine, but affet change the profiles i want also return to activate profile based on the schedule that i have.
How can do that?