08-21-2025, 09:46 AM
Please see below
it is correct and works first time i send command
here is the commands i use:
ipaddress/ctrl.cgi?secret=mysecret&cmd=set_output&id=1&value=1
ipaddress/ctrl.cgi?secret=mysecret&cmd=set_output&id=1&value=0
when i send command to turn on second time,
the browser gives a message saying success, but the output does not come on.
here is example of output (but does not turn on) { "id": 1, "value": 1, "status": "success", "code": 0 }
it is correct and works first time i send command
here is the commands i use:
ipaddress/ctrl.cgi?secret=mysecret&cmd=set_output&id=1&value=1
ipaddress/ctrl.cgi?secret=mysecret&cmd=set_output&id=1&value=0
when i send command to turn on second time,
the browser gives a message saying success, but the output does not come on.
here is example of output (but does not turn on) { "id": 1, "value": 1, "status": "success", "code": 0 }

