Configuring Automation to Trigger HTTP GET for Camera Day/Night Switch

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

Nevermind… there is much more to this than I thought there might be. Way above my skill set. I’ll hire a freelancer, tell them what I want and have them set it up for me.

I just learned there is another required change in the code where an app has to run at 12:01 (1 minute after midnight) to determine the month.

Too much for me… sorry.