Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Announcing OpenSprinkler Unified Firmware 2.1.9 #62782

    ruimarinho
    Participant

    Thank you very much for the explanation. So in this situation, Hunter’s Soil Clik probably comes with a built-in threshold converter.

    I agree, the ESP32 would be a tremendous option.

    in reply to: Announcing OpenSprinkler Unified Firmware 2.1.9 #62762

    ruimarinho
    Participant

    Hi Ray,

    This is great! Already looking forward for 2.2.0 with MQTT support 😉

    Are these soil sensors an improvement over rain sensors? Are they generally worth it?

    in reply to: MQTT Integration #52062

    ruimarinho
    Participant

    The usual suspects are PubSubClient for synchronous and AsyncMqttClient for asynchronous style.

    in reply to: MQTT Integration #51707

    ruimarinho
    Participant

    That look like a great start! I would definitely love to see this on the next firmware update 🙂

    Having used Home Assistant for a while, I would just keep it very simple: a state subtopic for each station, i.e. opensprinkler/station/4 with the following payload sent with the RETAIN flag:

    
    {
      "state": "on",
      "name": "My First Station",
      "duration": 10,
      "updated_at": 1530394861
    }

    Then another subtopic for setting station data, i.e. opensprinkler/station/4/set:

    
    {
      "state": "off",
      "name": "New Station Name",
      "ignore_rain": true,
      "sequential": false,
      "enabled": true
    }
    

    Main controller settings could be updated using the opensprinkler/set topic, probably on a 2nd phase.

Viewing 4 posts - 1 through 4 (of 4 total)