How can we help?


MQTT support

Gathering Feedback

Comments

9 comments

  • Avatar
    RainMachine Nicholas

    Tagging this up to gather more feedback. 

    2
    Comment actions Permalink
  • Avatar
    Luis

    Be able to check the status and control my rainmachine from MQTT would be a such great addition.

    2
    Comment actions Permalink
  • Avatar
    Chris J

    Yes, please!!! I would especially appreciate being able to have the RM get the temperature data from local sensor publishing on MQTT topic.

    2
    Comment actions Permalink
  • Avatar
    Matt Ahlgren (Edited )

    Upvoting this. It's features like this that would allow the community to take some of the burden of development and get things done faster.

    2
    Comment actions Permalink
  • Avatar
    Sebastian

    Is there an update on this? Is this being considered?

    There does not seem to be too much traction here in the forum but still I think this is a must-have feature for a "smart" irrigation controller.

    Especially for integration into basically _any_ smart home system.

    1
    Comment actions Permalink
  • Avatar
    RainMachine Nicholas

    We are trying to understand what would be important to have with MQTT. Porting the entire API to MQTT would be a big project but maybe we can start with some basic functionality.

    For now we've gathered: zone, status, start, stop and sending temperature data.

    1
    Comment actions Permalink
  • Avatar
    Sebastian (Edited )

    Hi Nicholas, 

    it's good to hear that you guys are somewhat working on it in the background. 

    I agree, porting the whole API might be a too big step and doesn't even make sense. I'll have a look at the current API and check what I would figure might be useful. 

    Some ideas (just see them as a whishlist/user stories from end user point of view)
    - In general, publishing all relevant sensor data would be nice. I.e. current flow at the flow meter, cumulative flow.
    - Several "virtual" main valves (per zone) with configurable lead/follow-up time that can be used to a) actually trigger an external valve, pump power supply, etc., b) can be used as a warning that watering will soon start, i.e. to give a automatic lawn mower time to stop and dock.
    - I'd really like to have the opportunit to set a temporary snooze for my programs in a way that they are resumed after removing the snooze.My use case is: I want to have RM in control over my watering cycles. During summer I want to irrigate as early as possible in the morning. But I also want to use solar power for it. Therefore I'd like to snooze all programms via an external logic engine, until my PV array produced enough power to run the well pump. After "releasing" the snooze I'd like the RM to continue with all programs in the originally programmed order.
    Another use case would be to block watering while the veranda door is open (and the kids are possibly playing on the lawn).

    - topics to publish current weather data to the RM, i.e. every hour, coming from a locally installed weather station.

    Just a few ideas.

    2
    Comment actions Permalink
  • Avatar
    Zoltán Borsos

    I really like the idea of the virtual valves, or some other mechanism where we able to specify mqtt messages based on trigger event (eg. watering start in X minutes) or something like that. That is really useful with a robotic lawn mower

    1
    Comment actions Permalink
  • Avatar
    B. Martin (Edited )

    As for the "Why?" - MQTT is becoming the defacto standard for Internet-of-Things ("IoT") device communication. It is supported by a wide variety of home automation tools, such as Home Assistant, OpenHab, and even venerable MisterHouse. My home automation system integrates with my lights, A/V systems (TV, amp, blu-ray player, etc.), and alarm system. Pretty much everything EXCEPT the sprinklers. Adding MQTT to the RainMachine software would allow it to integrate with the rest of my ecosystem.

    No, I wouldn't want or expect a full rewrite of the API. I would envision that when an event occurs in the RainMachine (e.g. new weather update, zone turns on/off, etc.) that it "publish" (i.e. send) an MQTT message of the event. And that it would listen to MQTT for a set of messages (of your design) that it would respond to. MQTT was designed to be very low overhead, and as such is used by such small devices as individual in-wall light switches. It shouldn't be a lot of strain on RainMachine resources.

    As for features I'd like to see: In addition to general sensor and weather information as already discussed, I'd like to be able to use MQTT to enable/disable programs and start/stop programs or zones. This would allow me to change the watering cycle based on, say, ground moisture sensors, that RainMachine knows nothing about. Or defer watering a particular zone at 4AM when I have guests over for the weekend, because the sprinkler is noisy and right outside their window.

    0
    Comment actions Permalink

Please sign in to leave a comment.