- Jul 12, 2021
- 46
- 10
It says "It looks like this is the answer:
table.Lighting_V2[0][0][1].LightType=WhiteLight
table.Lighting_V2[0][0][1].Mode=Auto
So you need to add those to the API and then change Auto with on, off, or true, false or 1, 2 to figure out which is on and off
Or turn the light on and run the get command again and see what Auto changed to
That's the same command as the 2nd post mentioned, however people have not got it to work yet.Code:http://user:password@ipaddress/cgi-bin/configManager.cgi?action=setConfig&Lighting[0][1].Mode=Off
curl --digest --globoff "http://user:password@ipaddress/cgi-bin/configManager.cgi?action=setConfig&Lighting[0][1].Mode=Off"
Thanks for you assistance but i'm not familiar with how to do a curl command?You may need to run it with the curl command:
Code:curl --digest --globoff "http://user:password@ipaddress/cgi-bin/configManager.cgi?action=setConfig&Lighting[0][1].Mode=Off"
But I have seen that with the new GUI that it will give the OK but nothing happen.
Im using web interface, internet explorer to test commands & using blue iris to trigger them, i have no where to input curl commands.Just run that command just like it shows except change the user password and IP address to yours