OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) OSpi AC connected across WiFi to remote station

  • This topic has 1 reply, 2 voices, and was last updated 4 years ago by Ray.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #45777

    JNewcomb
    Participant

    Hello OpenSprinkler community, I have two OSpi_ACs running firmware 2.1.7 and API 1.6.0. They connect to each other through the home network WiFi. I was wondering if there any sort of notification mechanisms in the case where the master commands a remote station to start and has no connection. It seems as though I can loose connection and the master shows a remote station running, when it is not opening the valve.
    It would me great if in this case, the master could sense a problem and push out an email or log notification before the lawn starts turning brown.
    Thanks,

    #45867

    Ray
    Keymaster

    There are a couple of ways to address what you need. First, you can set up IFTTT notification on your remote controller, so that every time a station finishes running you receive a notification. This will make sure the remote controller is receiving command as expected.

    Second, if you don’t mind changing the firmware code (which on OSPi is really easy, just involves running built.sh to recompile the firmware), you should look at this line:
    https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/master/OpenSprinkler.cpp#L1126
    in OpenSprinkler.cpp. If the timeout has reached, or the client has lost connection, that means it’s not able to reach the remote controller, and you can add code around here to log this event, or send a notification.

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) OSpi AC connected across WiFi to remote station