I have the URL codes for each of our cameras based on IP address… for example:
Day Switch for Sunrise Trigger
http://admin:[email protected]/cgi-bin/configManager.cgi?action=setConfig&VideoInMode[0].TimeSectionV2[0][0]=00:00:00-24:00:00 Day
Night Switch for Sunset Trigger
http://admin:[email protected]/cgi-bin/configManager.cgi?action=setConfig&VideoInMode[0].TimeSectionV2[0][0]=00:00:00-24:00:00 Night
Each of these codes will switch my camera settings to day mode and night mode.
I need HA to automate running these codes daily.
I watched a YouTube on setting up an HTTP command in the configuration.yaml file. What I do not understand is how to list this command for each camera (since I have several with different IP addresses) and how to implement the Automation using Sun (I’ve created Sunrise and Sunset triggers).
Reaching out for help, if possible for a hillbilly.
Regards,
Sonnie