That is why most of us use this little tool because even in 2021, Dahua still hasn't figured out how to switch between day and night properly:
I wanted to use stronger noise reduction at night and weaker during the day, but Dahua seems to have made a mess of the profile management. On most cameras, there doesn't seem to be a way to have the camera switch automatically between Day and Night profiles when the camera changes between...
ipcamtalk.com
so I've tried to deploy this for my
IPC-T5442T-ZE, but its not working. got the service configured, it gets a legit sunrise/sunset time for my lat/long, configured the camera and I'm getting this in the logfile... this is from a manual 'sunrise'...
8/20/2021 11:22:38 AM DahuaSunriseSunset 1.6.0.0 Service Manager Startup
8/20/2021 11:22:43 AM TriggerSunriseActions
8/20/2021 11:22:46 AM Exception thrown attempting web request (
): The underlying connection was closed: The connection was closed unexpectedly.
8/20/2021 11:22:50 AM Exception thrown attempting web request (
): The underlying connection was closed: The connection was closed unexpectedly.
8/20/2021 11:22:59 AM Exception thrown attempting web request (
): The underlying connection was closed: The connection was closed unexpectedly.
8/20/2021 11:23:13 AM Exception thrown attempting web request (
): The underlying connection was closed: The connection was closed unexpectedly.
8/20/2021 11:23:31 AM Exception thrown attempting web request (
): The underlying connection was closed: The connection was closed unexpectedly.
8/20/2021 11:23:55 AM Exception thrown attempting web request (
): The underlying connection was closed: The connection was closed unexpectedly.
8/20/2021 11:24:24 AM Exception thrown attempting web request (
): The underlying connection was closed: The connection was closed unexpectedly.
.......
interestingly, my /other/ "Dahua" is an
amcrest IP8M-T2599EW, and it seems to be doing auto day/night just fine without needing this..
ooooh, port should be the WEB port, not the rtsp thing. hah, whooops, works now with port 80.