OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › Sprikler PHP code doest not work for opensprinkler pi › Reply To: Sprikler PHP code doest not work for opensprinkler pi
January 2, 2015 at 7:00 pm
#35124
Dan in CA
Participant
There was a change to the code a while back made by another developer. You need to use http://XX.XXX.XXX.XXX:8080/sn?sid=1 to get the status of station 1.
You can also do http://XX.XXX.XXX.XXX:8080/sn?sid=1&set_to=1 to turn the station on or http://XX.XXX.XXX.XXX:8080/sn?sid=1&set_to=0 to turn the station off.
Dan