OpenSprinkler Forums OpenSprinkler Unified Firmware OpenSprinkler Firmware 2.1.0-beta (Major Upgrade!)

Viewing 7 posts - 76 through 82 (of 82 total)
  • Author
    Posts
  • #34035

    automate
    Participant

    I thought the traces under the screw heads might pose a problem down the road so I used NYLON 3mm screws I had laying around.

    #34066

    Ramias
    Participant

    I 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?

    #34068

    Ramias
    Participant

    Ok 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:

    https://opensprinkler.com/forums/topic/opensprinkler-not-ospi-firmware-2-0-8-released/page/2/#post-27952

    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

     

    #34191

    Samer
    Keymaster

    The document has been published and is available here: https://opensprinkler.com/api-documentation-firmware-2-1-0/

    #34448

    Brady
    Participant

    I 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?

    #34451

    Samer
    Keymaster

    @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!

    #34647

    TechFan
    Participant

    Wow, 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.

Viewing 7 posts - 76 through 82 (of 82 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums OpenSprinkler Unified Firmware OpenSprinkler Firmware 2.1.0-beta (Major Upgrade!)