First setup your camera to be in Full Time profile for Day (or Night) since you will be changing it externally now. To switch to Day profile:
Code: Select all
http://username:password@IP-ADDRESS/cgi-bin/configManager.cgi?action=setConfig&VideoInMode[0].Config[0]=1
Code: Select all
http://username:password@IP-ADDRESS/cgi-bin/configManager.cgi?action=setConfig&VideoInMode[0].Config[0]=2
With my cameras I can either use one profile for day/night mode, or use 2 separate profiles and switch based upon fixed times.. since sunrise and set change every single day those fixed times are not a very good solution outside.. I use domoticz to make the switch now and I can have completely unique configurations for day and night.