Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remote control via http request?
#3
Hi David,

Good to hear from you.

If you want to run the greenhouse sprinklers for a pre-set length of time you can create a program that will run the sprinkler for the desired duration.
It does not matter about start time, days, etc.

Disable the program by selecting program off on the program creation page or the "PROGRAMS" page so it won't run on its own.

You can then run it with: [URL of SIP]/rp?pid=X where X is the number of the program minus 1 (program 1 = 0, etc).

Let me know if this does not make sense.

Dan

PS:

If you have a password enabled for SIP you will need to include it in the command. e.g.:
192.168.1.123/rp?pw=opendoor&sid=0
This would run the first program and include the (default) password.

I have a document that covers the HTTP GET commands for SIP but it needs some updating and testing. I will try to publish it in the next couple of days.
Reply


Messages In This Thread
Remote control via http request? - by DavidCNZ - 2016 Sep 01, 11:16 PM
RE: Remote control via http request? - by DavidCNZ - 2016 Sep 02, 12:17 AM
RE: Remote control via http request? - by dan - 2016 Sep 02, 03:01 AM
RE: Remote control via http request? - by DavidCNZ - 2016 Sep 04, 02:23 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)