IPC-T54IR-AS-S3 Day/Night Switch

Steve556

n3wb
Jan 17, 2023
15
4
Minnesota
What I want is for the camera to be in color mode during the day, and in B/W (IR) mode at night. When I leave the camera in "Self-adaptive" it switches from color to B/W at dusk. It stays that way until my neighbor's light on the side of the house turns on, and stays on all night. As soon as that light turns on, the camera switches back to color. I want it to stay in B/W all night because I get a much clearer picture that way.

I tried every possible setting in the menu, and I cannot get around this. I can select B/W, but then the camera stays in B/W even during the day.

I tried every possible setting in "Self-adaptive" and "Day/Night Switch", and nothing works. I found a description of the "Customized Scene" setting in the manual, and thought that I finally solved this problem. "Customized Scene" should allow me to pick the time range when the camera is in day or night mode. I still can't get the camera to switch to B/W at a specific time because I just cannot figure out the menu. It is extremely complex and confusing. It looks like I can only set the time range for "day" and I am unable to select a time range for "night" no matter what I do.

I looked at many threads but could not find a way to do this.
 
You set a night profile and force it to B/W instead of auto and then use customized scene to set hours for day profile and hours for night profile.
 
You set a night profile and force it to B/W instead of auto and then use customized scene to set hours for day profile and hours for night profile.
How do I do that? The menu does not allow me to pick the night time range for some reason. It only allows to set the daytime (orange bars). When I pick the profile for night, and set it to B/W, I get a B/W picture, but I am unable to set the time range in the "Time Plan Settings" for night.
 
It can be browser dependent. Best to use Internet Explorer (yeah we know but it is still available) or Edge in IE mode.

In the schedule when you are under night profile place the cursor somewhere during the night hours and hold mouse button down and it will start yo draw night.

It is kinda quirky until you get the hang of it.
 
  • Like
Reactions: JDreaming
It can be browser dependent. Best to use Internet Explorer (yeah we know but it is still available) or Edge in IE mode.

In the schedule when you are under night profile place the cursor somewhere during the night hours and hold mouse button down and it will start yo draw night.

It is kinda quirky until you get the hang of it.
Thanks. I will give it a try.
 
  • Like
Reactions: JDreaming
It can be browser dependent. Best to use Internet Explorer (yeah we know but it is still available) or Edge in IE mode.

In the schedule when you are under night profile place the cursor somewhere during the night hours and hold mouse button down and it will start yo draw night.

It is kinda quirky until you get the hang of it.
I've been using the scheduler to postpone figuring out how to automate switching between day and night. Is there a way to deal with daylight savings time when using the scheduler (eg sunset is at 6:09pm on Nov 1 and 5:08pm on Nov 2)? Or will this be the forcing function to figure out how to automate?
 
If you’re using a Dahua NVR you can set DST on it, the cameras will adopt the NVR time/date settings
 
  • Like
Reactions: JDreaming
Using Blue Iris, but have set up the cameras so they correctly get DST. But that's the problem--the scheduler only allows you to choose a single day/night switch time for the whole month, but sunset occurs an hour earlier after DST ends.


Personally I think folks get way too wrapped around the axle on sunset/sunrise times.

There's a period of say 20-30 minutes on both that isn't optimal light for your settings no matter what they are.
 
Last edited:
Same DST issue on this end. It appears that one has to enter the current start and end times once per year to automatically change the Dahua cameras from standard to daylight time. For a large number of cameras it becomes a PITA project.

Giving this a try for November 2025, but so far it has worked for the time change for March 2025.

Using a Windows PowerShell script that is run manually. The script changes the BI listed "time zone" to keep the camera time correct. Thus in March Baja, CA time is used. (time zone 28). And for November, Alaska time (time zone 29).

The script loops through a flat text file changing each camera to either time zone 28 or 29 depending on the time of year. An "EOF" is placed as the last line in the text file to stop further script looping.

What used to take too long is now accomplished in a matter of seconds.

Plus an additional script can be added to write the camera change results to a text file (for viewing) to make sure all cameras were changed to the correct time zone.
 
the latest versions of BI allow using Action Sets with the events schedule to send web requests for each camera to change day/night automatically. Each day different time, assume DST change also. You enter action sets for each camera (one set for day, one for night) in just one camera, then the others follow. Works great in my 5442 s3 cams. The cameras themselves are set to full time "day", then BI makes the change.
the full format of the web requests are:
admin:xxxxxxxxx@192.168.50.22/cgi-bin/configManager.cgi?action=setConfig&VideoInMode[0].Config[0]=0 (for day)
admin:xxxxxxx@192.168.50.22/cgi-bin/configManager.cgi?action=setConfig&VideoInMode[0].Config[0]=1 (for night)
sounds complicated, but it really isn't... follow below, set the cameras to day only 24/7, I MIGHT have needed cams set to "self adaptive" rather than "customized scene" to get it working, but that may not have been necessary. Kudos to @Tinman for most of this info!

2025-08-14_22h23_19.png
 
Last edited:
Big Red Fish - it is just another way to make something work.....

Have not tried your scenario. It is simpler and a lot easier to implement. For Standard vs DST there would have to be a date field as the time change would only occur twice per year.

If using sunrise/set times plus an offset then your suggestion is very valid. In my case, day/night settings are based on LUX within a specified time window. Plus the same system turns on/off the outside garden lights for improved video quality. Thus implementing a BI rule based on LUX and a sunrise/set window may be more of a challenge.

Have been using Hubitat to change 30 cameras, some with the new blue field and others with the older gray field. For the newer ones it is based on the camera's "Time Plan Settings".

Here are the two pairs of GET calls that are used in Hubitat based on the Dahua API.

Web 5 (Blue) Changes Schedule - Requires month change (0-11)

Sunrise
Code:
http://admin:admin@192.168.55.78/cgi-bin/configManager.cgi?action=setConfig&VideoInMode[0].TimeSectionV2[%var_ptz_month%][0]=00:00:00-24:00:00%20Day

Sunset
Code:
http://admin:admin@192.168.55.78/cgi-bin/configManager.cgi?action=setConfig&VideoInMode[0].TimeSectionV2[%var_ptz_month%][0]=00:00:00-24:00:00%20Night

Web 4 (Gray)
Sunrise
Code:
http://admin:admin@192.168.55.28/cgi-bin/configManager.cgi?action=setConfig&VideoInOptions[].NightOptions.SwitchMode=0

Sunset
Code:
http://admin:admin@192.168.55.28gi-bin/configManager.cgi?action=setConfig&VideoInOptions[].NightOptions.SwitchMode=3
 
Last edited: