OpenSprinkler › Forums › OpenSprinkler Unified Firmware › Issue: Change Station Settings via HTTP API › Reply To: Issue: Change Station Settings via HTTP API
Anonymous
So I realized I was trying to do too many things at once trying to figure out how to use the api correctly.
Setting up a http station, using the url style shown with special characters, that is still a problem for me.
However, in the example above I was trying to enable the master station, but this is not the case.
The Url command is actually to make the setting necessary, for that station to be used as the master station.
After that, I go on to change the master1 and master2 station index via API (that works!)
Then finally, I send an http request to setup a virtual zone as the *GPIO* settings I need, Which also work!
However, in the following url I still for the life of me cannot figure out how to enable the master1/master2 flags, and enable sequential.
http://MYIPADDRESS:MYPORT/cs?pw=MD5PASSWORD&sid=20&stn_seq=1&m0=127&st=3&sd=200&
link example there sets up the station using gpio20 as active low.
Any advice on correctly formed URL for setting up the master stations?
Any corrections needed while setting up the additional virtual stations to get the master station and sequential flags enabled?
Again thanks.
matt