OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) API access for Interval

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

    Madoma73
    Member

    Hello,
    I’d like to use URL like http://<@ip>:8080/sn1=1&t=0 to activate stations using the latest version of Interval (2.x). However, I do not manage to put the password in the URL. Is there a way (I was not able to find) to do it ?

    Thanks in advance

    Pierre

    #27786

    virtus
    Participant

    You can use “pw”. So here’s how I run a program from Tasker on my phone: http://:8080/rp?pw=password&pid=1.

    #27787

    Madoma73
    Member

    Hello,
    is it still working on interval 2.x ?
    because I tried to put a station on using http://:8080/pw=opendoor&sn1=1&t=0 which is not working, whereas http://:8080/sn1=1&t=0 works perfectly if I’m already logged in….

    #27788

    Ray
    Keymaster

    To turn on a station manually, you need to switch the controller to manual mode first:
    http://:8080/?pw=opendoor&mm=1
    then
    http://:8080/sn1=1&t=0
    This is because directly turning on/off a station is implemented as part of the manual mode operation. If the controller is in program mode, it won’t accept such commands. At least this is how interval program 1.x is implemented.

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

OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) API access for Interval