OpenSprinkler Forums OpenSprinkler Unified Firmware possible to set "rain" flag via API?

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

    bicmac
    Participant

    Hi,
    is it possible to set/unset the “rain” status which normaly the rainsensor set using the API?
    I have a rainsensor connected to my FHEM system and would like to set the status raining using the API to opensprinkler.

    #60929

    Ray
    Keymaster

    You can’t set the rain sensor flag through API because that flag is done by reading the rain sensor directly. However, you can set the rain delay amount through API. You can certainly modify the firmware to do what you want, by just following how the rain delay variable is set, and removing the line that reads rain sensor status.

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

OpenSprinkler Forums OpenSprinkler Unified Firmware possible to set "rain" flag via API?