OpenSprinkler Forums OpenSprinkler Unified Firmware Scripting Water Level

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #22730

    semag
    Participant

    Is there a way to read the water level? I tried http://x.x.x.x/023 but that didn’t work and I’ve been looking through the manual and can’t seem to find this available.

    I’d like to script the water level weekly based on a value published by our water district – and I wanted to be able to check to make sure that it got set correctly – otherwise alert myself….

    Thanks!

    #25907

    Ray
    Keymaster

    The water level (or now called the percentage of watering) is available as a javascript variable (wl) when you access the homepage, or the view options /vo page.

    If you have OpenSprinkler 2.0 and have upgraded your firmware to 2.0.3, the water level variable is also available through the json page /jo

    #25908

    semag
    Participant

    Thanks Ray-

    That’s exactly what I was looking for (the json page)

    Appreciate the reply – and yes, I’ve flashed mine up to 2.0.3. Looking at the threads regarding localizing the mobile app.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums OpenSprinkler Unified Firmware Scripting Water Level