OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Emulate Rain Sensor state with API

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

    pfeifer
    Participant

    I have a rain sensor that can send a http Get request when active.
    The rain sensor is outside, and the raspberry is inside.
    I can’t wire them.
    Can I emulate the Rain Sensor on Raspi with a get request made by the rain sensor?
    thks
    Sandro

    #47223

    Ray
    Keymaster

    You can use the rain delay feature. Basically have your rain sensor send a rain delay command, with the maximum amount of rain delay time; then when the rain sensor is deactivated, send a rain delay value of 0 to clear it out. The rain delay settings is included in the /cv command. Check the firmware API for example:
    https://openthings.freshdesk.com/solution/articles/5000716363-api-document-firmware-2-1-7-current-

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) Emulate Rain Sensor state with API