OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) HTTP station on/off comands formats/capabilities

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

    zenonmb
    Participant

    Guys,

    I am attaching an HTTP station based on LC Tech relay module (with ESP8266 /EasyESP) and trying to configure on/off commands, but it looks the GUI does not like what I am setting . Basically need to input “relay,0,1” , where the 0 means relay# and 1 turns it on . When I put that , it does it accept it, saved it, but when trying to see it again , I only see “relay” . It seems the “,” removes the rest.
    What is the format expected for on/off commands?
    Is there any workaround, besides using the API ?
    Cheers,

    martin

    BTW, I have App Ver 2.2.5 , Firmware 2.1.9(9), Hardware version OSPi

    #71247

    zenonmb
    Participant

    Found the issue.
    Yes, “,” is a delimiter , so the workaround is to use HEX equivalent %2C instead.
    In my case, the complete command is “control?cmd=relay%2C0%2C1”
    Cheers,

    martin

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

OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) HTTP station on/off comands formats/capabilities