I've tested this work around and its been working well for a day. It might need some tweaking, but I wanted to get this info out there ASAP so others could tinker with it.
1. Log into your web interface camera settings---> profile management page and change profile management to Normal. You can still adjust all your day and night settings as required.
2. Run the following command in your browser, this will disable auto focus in normal profile mode. (Thanks @bickford )
4. Once you have zoom and focus set in the web interface, go into Dahua Sunrise Sunset app (Thanks @bp2008) and get current zoom/focus numbers. Then enter those numbers into the App and run it as a service.
5. Camera should switch over an use the Dahua Sunrise Sunset app setting and not try and auto focus.
It appears there is an issue with the camera automatically switching to day from night and vis versa, so you need to make sure Dahua Sunrise Sunset app is configured to push its zoom and focus commands after the camera has automatically switched modes. There may be an API command to disable this and and just let Dahua Sunrise Sunset app control the switching.
1. Log into your web interface camera settings---> profile management page and change profile management to Normal. You can still adjust all your day and night settings as required.
2. Run the following command in your browser, this will disable auto focus in normal profile mode. (Thanks @bickford )
- [0][0].Mode=4
4. Once you have zoom and focus set in the web interface, go into Dahua Sunrise Sunset app (Thanks @bp2008) and get current zoom/focus numbers. Then enter those numbers into the App and run it as a service.
5. Camera should switch over an use the Dahua Sunrise Sunset app setting and not try and auto focus.
It appears there is an issue with the camera automatically switching to day from night and vis versa, so you need to make sure Dahua Sunrise Sunset app is configured to push its zoom and focus commands after the camera has automatically switched modes. There may be an API command to disable this and and just let Dahua Sunrise Sunset app control the switching.
Last edited: