Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTTP GET api control
#1
after i turn on a output, then turn it back off, it wont turn on again, unless i wait for several minutes.

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

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 }

i have program that runs that needs to be able to execute these commands very often and close together
Reply


Messages In This Thread
HTTP GET api control - by jc10000rpm - 08-21-2025, 06:17 AM
RE: HTTP GET api control - by admin - 08-21-2025, 09:20 AM
RE: HTTP GET api control - by jc10000rpm - 08-21-2025, 09:46 AM
RE: HTTP GET api control - by jc10000rpm - 08-21-2025, 11:05 PM
RE: HTTP GET api control - by admin - 08-21-2025, 11:24 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)