I'm looking to do something similar. I need a command to switch the camera to Night and another command to switch the camera to Day. The Auto Day/Night setting means the Gain setting is forced to 100 and not adjustable and being able to set this up would get around that.
It looks as though it should be possible using /ISAPI/Image/channels/1/ISPMode/ but I can't fathom it out how to send the command (I'm pretty clueless with anything involving code). Can anyone provide a simple example that might help? It looks as though I need to specify the IP and path and then enter some xml. I have everything in place to trigger it to switch from a lux sensor connected to my Hubitat C8 hub but I'm stuck with the precise format of the url (do I have to include admin
assword@) and the xml or json to send. Any help appreciated
EDIT: Switching manually between Day and Night allows the gain to be adjusted but the setting is common to both. What I actually need is the command to switch to a specific 'scene', as Day/Night, Gain, Shutter speed etc are saved individually. I want to be able to send a command to change the scene to 'Normal' which will equate to my daytime settings and 'Low Illumination' which will be for my night setup