OpenSprinkler Forums OpenSprinkler Unified Firmware Change %Watering via API call not working

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by  kdeuler 1 hour, 14 minutes ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #58507

    franzstein
    Participant

    I was wondering if the API call to change the %Watering is working at all?

    I have set the Weather Adjustment Method to “Manual” and the %Watering to 100%.

    Running the API call http://ipadress/co?pw=mypassword&o23=77 results in {“result”:1}. However the %Watering Level does not change. It is still set to the % Watering (100%) setup before and has not changed to 77% as expected.

    A reboot of the OpenSprinkler does not help either.

    Any help would be appreciated.

    App Version: 1.8.4
    Firmware: 2.1.8
    Hardware Version: 3.0 -DC

    #58689

    franzstein
    Participant

    Sorry! Actually used the wrong API call “Change Controller Variables [Keyword /cv]” instead of “Change Options [Keyword /co]”. Unfortunately http://ipadress/cv?pw=mypassword&o23=77 gives no errror. The API call http://ipadress/co?pw=mypassword&o23=77 is working!

    #59429

    kdeuler
    Participant

    Hi Franz. I’m glad you got the API call working.

    I’d like to ask you how you make the API call. What I’d like to do is call the API 3 or 4 times a year via, say, a cron job, to change the water % setting according to the season. I’m somewhat familiar with making cron jobs, but I’m not sure how I’d create the file (that the cron job would run) that calls the API.

    Thanks in advance

    #59430

    kdeuler
    Participant

    …. Note. a while back suggested I’d somehow use the HTTP GET command, but I’m not sure how.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

OpenSprinkler Forums OpenSprinkler Unified Firmware Change %Watering via API call not working

We are away till Mar 22. Orders placed during this time will be shipped on Saturday Mar 23 . Thank you. Dismiss