you can login to the actual camera settings (not the nvr) and set day / night times. and at the specific hour (i.e. 7am) it will change to day and visa versa.
Checking back in. Because I like to tinker and because I wanted some additional options, I wrote my own controller in .py. It's worked flawlessly for a few months now. Also the camera has actually nailed a criminal who was dumb enough to use the non-fraudulent plates.
so I've installed this - I need to control 5 cam's with this - Good news: when testing my sunrise and sunset, 4 cameras work perfectly. The 5th camera (which is not a dahua camera, but is a dahua OEM camera from LTS that I am testing) seemingly has no response - does not respond to sunrise or sunset (I've tried to put the camera in "full time" and it still doesnt respond) ... any ideas?
Whats funny is I was looking through the Dahua API and getting ready to write a bash script to do this exact same thing (profile switcher) tied to another script knows that knows when sunrise/sunset is in my location. I'll look through this thread to see if there are any "snafus" waiting for me.
I'm getting frustrated with the day/night focus issue with my Z12 Dahua. The SunriseSunset utility has been working well in the past, but lately the utility sometimes fails to command the camera to switch modes. Might have to consider a different camera model.
so I've installed this - I need to control 5 cam's with this - Good news: when testing my sunrise and sunset, 4 cameras work perfectly. The 5th camera (which is not a dahua camera, but is a dahua OEM camera from LTS that I am testing) seemingly has no response - does not respond to sunrise or sunset (I've tried to put the camera in "full time" and it still doesnt respond) ... any ideas?
Whats funny is I was looking through the Dahua API and getting ready to write a bash script to do this exact same thing (profile switcher) tied to another script knows that knows when sunrise/sunset is in my location. I'll look through this thread to see if there are any "snafus" waiting for me.
No, the API requests are really straightforward. The biggest obstacle you are likely to encounter is the camera being unreachable or otherwise just not doing what it is supposed to, like @DLONG2 is apparently struggling with.
I'm getting frustrated with the day/night focus issue with my Z12 Dahua. The SunriseSunset utility has been working well in the past, but lately the utility sometimes fails to command the camera to switch modes. Might have to consider a different camera model.
Just getting into this... since the Program runs as a server on Windows, am I assuming right that my PC needs to be running to make it work all the time?
Or is there a smarter way to make sure my Dahua cams are switching between day and night profile?
Just getting into this... since the Program runs as a server on Windows, am I assuming right that my PC needs to be running to make it work all the time?
Or is there a smarter way to make sure my Dahua cams are switching between day and night profile?
Has anyone enhanced the script to set the camera clock? Having the cameras on a subnet that is not connected to the internet seemed like a good idea but the NTP sync in my cameras has some serious time drift that negatively impacts the ability to watch across a couple cameras. Not huge but if the clock was reset to the PC clock each time the script ran......
And changed the cameras to point to the address of the ethernet card in BI machine.
I don't see the time change reflected on the cameras. There are no errors in the Dahua log but.. there were no errors there when the cam was pointed at the time service I know it could not access either.
And make sure the time server is actually running, which means checking the box Allow other computers to sync to this computer and Start NetTime service at bootup
And back on the main screen of NetTime it should say this:
I found the issue. I had created another problem by creating a VM on the Windows machine to do some things and keep them separate from BI (and everything else). In doing that I broke the network connection setting up the virtual switch. Thanks for the help. I was at a standstill and appreciate the help
Hi guys. I installed the day/night link here which seemed to go ok. Today I noticed one cam, when reviewing overnight footage, the time bar (on the Dahua NVR) is a solid block of red ("alarm"). I had also added some tripwire rules. Could the day/night addon have anything to do with it? Annoying, as I can't now review rule-based issues on the most important overnight camera (such as movement/tripwire/etc). Mat