Vettester
Getting comfortable
- Feb 5, 2017
- 932
- 912
I have the same camera and was struggling with this as well. My day profile is using color while my night profile is using black & white so the focus was never quite right between the two profiles. To overcome this I'm using the camera's API to switch the profile, focus & zoom, frame rate and I Frame Interval between day and night. For each profile I first setup the focus and zoom the way I wanted it and then ran ip.address/cgi-bin/devVideoInput.cgi?action=getFocusStatus to get the values. I then plugged those values into the following script:
(changes profile from day to night)
(these are the values I got from the getFocusStatus above)
(changes frame rate. I run 30 during the day and 15 at night)
(changes I frameInterval. I run 30 during the day and 15 at night)
I'm using my home automation system to run these at the appropriate sunrise and sunset times. I run all four scripts in a single automation with a 5 second delay between scripts
(changes profile from day to night)
(these are the values I got from the getFocusStatus above)
(changes frame rate. I run 30 during the day and 15 at night)
(changes I frameInterval. I run 30 during the day and 15 at night)
I'm using my home automation system to run these at the appropriate sunrise and sunset times. I run all four scripts in a single automation with a 5 second delay between scripts