Rainmachine Irrigation Controller

That’s an error from regenmaschine (the underlying library), indicating that the token you’re getting is expired. If you restart HASS and try this automation again, does the same thing occur?

yes sir, restarted and got the same error as before.

Got it. In that case, let’s see if we’re looking at a bug. Could you please submit a regenmaschine issue and I’ll guide you?

Yes sir, more than happy to. Do you want me to just click on the above link and fill out the information to the best of my ability?

Yep! Put in as much as you have and I will guide you from there.

yes sir, will do!

ok, submitted…

How do you find a list of the program ids?

If you view the state attributes of a program or zone, you’ll see its ID.

I have a quick question regarding Rainmachine:

The service has a function to push flow data to Raimachine: * rainmachine.push_flow_meter_data

Is there any more explanation on this service? I would like to push current flow rate to Rainmachine (gallons/minute). Does this have to be done in regular intervals? Each of my zoens has a different flow rate, so I assume I need to send this data while any program is running.

Unfortunately, the RainMachine API docs give us very little about this call (source):

Add values to flowmeter counters from an external smart water meter (like Flume) not wired directly to RainMachine. Units can be “clicks”, “gal”, “m3” and “litre”.

What sort of device are you using to monitor your flow rate?

I have a pulse water meter for my irrigation lines connected to ESP32. Through ESPHome I get the flow rate in gallons/minute and the total water use. Not sure it even makes sense to send this information to the Rainmachine

Hmm, I’m unsure how to think about gallons/minute in your pulse meter vs. gallons in RainMachine. I’ll dig around and see if I can find anything.

No need to. Thanks for the offer. I understand that there is very little information on this feature. I was just hoping to get any more information on it. Rainmachine allows connecting a water meter with pulse output directly and I was hoping, this can replace the direct connection.

At the same time, my Rainmachine has become a bit unstable and I had to simplify a lot of things to get some level of reliability out of it. Might be better not to add anything to it. Unfortunately, they are out of stock for over 2 years :frowning:

1 Like

Hello, I’m just starting out with this integration, and trying to build a dashboard with some auto-populating capabilities. I notice that the “_enabled” zone and program switches don’t have any attributes (as opposed to the main “run this now” switches), so there’s no way to differentiate between individual zones and programs.

Any reason not to add those same attributes (I believe here) to the enabled switches? Or, perhaps better, adding an explicit kind: String = "zone|program" attribute to all switches?

Great idea! Add activity type to appropriate RainMachine switches by bachya · Pull Request #117875 · home-assistant/core · GitHub

Awesome, subscribing- thanks for the quick turnaround on this!