Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: How To: Push notifications for OpenSprinkler #67003

    Tygerr
    Participant

    The code needs to be updated for Firmware 2.1.9, since the JSON codes for the rain sensor have changed.

    If you edit the ospi_push_notifications.py file, change the following lines:
    Line 220:
    –Old: if ( enabled[“urs”] == 1):
    –New: if ( enabled[“sn1t”] > 0):

    Line 236:
    –Old: rainSensor = data[“rs”]
    –New: rainSensor = data[“sn1”]

    Tha fixes the error.

Viewing 1 post (of 1 total)