Add Sunrise Sunset to Time Plan Settings

BLUF: Figured it out. Didn't have the cgi service running. Yep. That simple.

As a retired sysadmin / network admin I decided the best way to retain my sanity was to drag out an old POE dumb switch and setup a little test network where I could modify my spare empiretech cams at will using an old laptop.

I also grabbed the curl command lines and started running them in verbose mode and that's what final clued me in that something on the camera wasn't responding even though it should have been. After enabling the cgi service it was just a matter of setting the day / night options correctly in the cam via testing with curl. After I could reliably switch them from day to night and back to day the next test was getting it working via action sets in BlueIris. Only took a couple tweaks using the test button and had that fixed as well.

So I have one cam all setup to switch over tonight 30 minutes prior to sunset and 30 minutes after sunrise. Here's the commands I loaded into the BI action sets:
For Night:
user:[email protected]:4561/cgi-bin/configManager.cgi?action=setConfig&VideoInOptions[].NightOptions.SwitchMode=3&VideoInOptions[].NightOptions.DayNightColor=2

For Day:
user:[email protected]:4561/cgi-bin/configManager.cgi?action=setConfig&VideoInOptions[].NightOptions.SwitchMode=0&VideoInOptions[].NightOptions.DayNightColor=0

Again, thanks guys for all the recommendations.
 
  • Like
Reactions: CamCrazy and Tinman
Awww the good ole shutting stuff off and not realizing what it does LOL. Been there....got the tshirt LOL.

Glad you figured it out.
 
BLUF: Figured it out. Didn't have the cgi service running. Yep. That simple.

As a retired sysadmin / network admin I decided the best way to retain my sanity was to drag out an old POE dumb switch and setup a little test network where I could modify my spare empiretech cams at will using an old laptop.

I also grabbed the curl command lines and started running them in verbose mode and that's what final clued me in that something on the camera wasn't responding even though it should have been. After enabling the cgi service it was just a matter of setting the day / night options correctly in the cam via testing with curl. After I could reliably switch them from day to night and back to day the next test was getting it working via action sets in BlueIris. Only took a couple tweaks using the test button and had that fixed as well.

So I have one cam all setup to switch over tonight 30 minutes prior to sunset and 30 minutes after sunrise. Here's the commands I loaded into the BI action sets:
For Night:
user:[email protected]:4561/cgi-bin/configManager.cgi?action=setConfig&VideoInOptions[].NightOptions.SwitchMode=3&VideoInOptions[].NightOptions.DayNightColor=2

For Day:
user:[email protected]:4561/cgi-bin/configManager.cgi?action=setConfig&VideoInOptions[].NightOptions.SwitchMode=0&VideoInOptions[].NightOptions.DayNightColor=0

Again, thanks guys for all the recommendations.
Didn't see that coming, nice work though. Being retired admin I know that will have hurt more than most, we are often looking for the more complex answer though, it happens.
 
Yep - for years it was hammered into me that if a service isn't required it shouldn't be running so when I first set up my cams years ago and until now I had no need for the cgi service and most of the others that are available so I disabled them. I was also using port forwarding until about a year ago when I switched over to using wire guard for external access to my cams so again, less services for some bad actor to try and hack into.

All my cams switched over to night mode last night at 30 minutes prior to sunset and I'm waiting to see them switch back over to day mode this morning.