OpenSprinkler Forums OpenSprinkler Mobile and Web App API: Logs manual mode and water level

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #39857

    David
    Participant

    Hi,

    i see in the OpenSprinkler App the Logs with manual mode and the water level. How can i get this infos from the API? Its not documentet in the API-docu.

    Its just return the pid, sid, duration and endtime. With the specia pid “0” for “rain delay” and “rain sensor”.

    for what is the pid 99 or 254?

    #39862

    Samer
    Keymaster

    Here is the function I use to resolve the program name: https://github.com/OpenSprinkler/OpenSprinkler-App/blob/master/www/js/main.js#L7017-7029

    You will notice the PID 255 or 99 mean a manual program and PID of 254 or 98 is a run-once program.

    For the water level, it uses the same request however you add a type=wl to the URL. We will update the API document to reflect these items

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

OpenSprinkler Forums OpenSprinkler Mobile and Web App API: Logs manual mode and water level