OpenSprinkler › Forums › OpenSprinkler Unified Firmware › OpenSprinkler Firmware 2.1.0-beta (Major Upgrade!)
- This topic has 81 replies, 15 voices, and was last updated 11 years, 6 months ago by
TechFan.
-
AuthorPosts
-
October 17, 2014 at 6:23 pm #34035
automateParticipantI thought the traces under the screw heads might pose a problem down the road so I used NYLON 3mm screws I had laying around.
October 19, 2014 at 3:17 pm #34066
RamiasParticipantI use the MCV Vera to integrate with Open Sprinkler. It looks for certain fields in the HTML. For example, with 2.0.9 it shows all of these variables. I just rt click and say “view source” on the first web page.
var snames=;var ver=207,devt=1409135560;
var nbrd=1,tz=32,sbits=[0,0];var ps=0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0;
var en=1,rd=0,rs=0,mm=0,rdst=0,mas=0,urs=1,wl=100,ipas=0,loc=”ZIP”;
var lrun=[6,1,600,1409033431]Can somebody confirm these also exist with the 2.1.0 UI?
October 19, 2014 at 8:48 pm #34068
RamiasParticipantOk I took the plunge and upgraded to the beta firmware. This indeed breaks the MiCasaVerde Vera plugin.
In this thread from an earlier firmware it suggested changing syntax:
They do however moving forward you should try to use http://ipaddr/jc, /jo, /jn, and /jp. These are more resilient methods since the syntax is reliable versus the homepage being variable.
Where can I find out what each of these means? /jo, /jn etc?
Basically a doc that shows the old API via URLs, variables and the new preferred way with version 2.10 forward?
Thanks
October 25, 2014 at 4:00 pm #34191
SamerKeymasterThe document has been published and is available here: https://opensprinkler.com/api-documentation-firmware-2-1-0/
November 6, 2014 at 3:29 pm #34448
BradyParticipantI have a 24 zone system. According to the API, this —
http://myOSipaddress/cr&pw=mypassword&t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,300]— should start a Run-Once program that opens Station 24 for five minutes. However the return is {“result”:16}. What am I doing wrong?November 6, 2014 at 3:34 pm #34451
SamerKeymaster@jbbtex the URL you have is malformed and “result”: 16 means data is missing from the request.
The data that’s missing is the station runtimes because the format is wrong. It should be:
http://myOSipaddress/cr?pw=mypassword&t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,300]The difference is you need the question mark after the command in order to list the variables.
Hope that helps!
November 13, 2014 at 1:14 am #34647
TechFanParticipantWow, went on a long vacation and get back to a moved forum and released new version. Our irrigation turned off a month ago so I can’t really verify the new version now anyway.
-
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › OpenSprinkler Unified Firmware › OpenSprinkler Firmware 2.1.0-beta (Major Upgrade!)