took me a damn good while to figure this one out, so here it for anyone needing it in the future.. once again searches lead me nowhere so I had to resort to a bit of trial and error as the docs suggest this is not the way to accomplish this task.. but it is.
First setup your camera to be in Full Time profile for Day since you will be changing it externally now.
To switch to Day profile:
To switch to Night profile:
Now I can have tailored configurations for day and night mode, then use my Automation system that actually calculates real sunrise/sunset based off lon/lat and has access to a few light sensors to trigger the switch when I want it to.
First setup your camera to be in Full Time profile for Day since you will be changing it externally now.
To switch to Day profile:
Code:
http://username:password@IP-ADDRESS/cgi-bin/configManager.cgi?action=setConfig&VideoInMode[0].Config[0]=1
Code:
http://username:password@IP-ADDRESS/cgi-bin/configManager.cgi?action=setConfig&VideoInMode[0].Config[0]=2
Attachments
Last edited by a moderator: