OpenSprinkler › Forums › OpenSprinkler Mobile and Web App › Mobile Web App with Screenshots (Updated) › Re: Re: Mobile Web App for OpenSprinkler (w/Screenshots)
June 16, 2013 at 10:45 pm
#23879
Samer
Keymaster
I found why you are getting an index out of range error. It is because it expects a t value to be given, like so:
http://IP_ADDR/sn1=1&t=0
The t variable is how long to keep the zone on, and 0 means indefinitely. Basically, there are a few syntax differences that need to be addressed.
I have updated my code to issue a t=0 now which works fine on both versions (the RPi and the OS).
Let me know if this works better now!