Rainmachine integration?

There is a first release available now via Hubitat Package Manager or you can manually install from GitHub - bsileo/Hubitat_RainMachine: Integrate SmartThings with RainMachine. i have not done any cleanup on documentation and still have some code to clear-up from the old smartThings side, but it seems to work for me.

Shout out to BRBeaird for doing all the real work here from his original repo.

5 Likes

@brad2

Excellent, that was quick!

Unfortunately, didn't seem to work completely for me, appears to be an issue w/the driver getting recognized.

I have the app and driver installed (I used Package Manager and I'm new to Hubitat - first day w/C7) and both the driver and app appeared to get installed automatically.

Ran the app and it found my RainMachine and allowed me to choose which programs/zones, but I got a bunch of driver errors - see below.

Summary
Installation Details:
North Slope Bottom: problem creating RM device. Check your IDE to make sure the brbeaird : RainMachine device handler is installed and published.

Front Yard & North Slope: problem creating RM device. Check your IDE to make sure the brbeaird : RainMachine device handler is installed and published.

Bubblers: problem creating RM device. Check your IDE to make sure the brbeaird : RainMachine device handler is installed and published.

Back yard slope top and bottom: problem creating RM device. Check your IDE to make sure the brbeaird : RainMachine device handler is installed and published.

Zone 12: problem creating RM device. Check your IDE to make sure the brbeaird : RainMachine device handler is installed and published.

Zone 11 - Fruit tree bubblers: problem creating RM device. Check your IDE to make sure the brbeaird : RainMachine device handler is installed and published.

Zone 10 - Roses, lower bubblers behind Bball: problem creating RM device. Check your IDE to make sure the brbeaird : RainMachine device handler is installed and published.

Zone 6 - Back yard slopes: problem creating RM device. Check your IDE to make sure the brbeaird : RainMachine device handler is installed and published.

Zone 7 - Back yard slope top: problem creating RM device. Check your IDE to make sure the brbeaird : RainMachine device handler is installed and published.

Zone 8 - Lawn 1: problem creating RM device. Check your IDE to make sure the brbeaird : RainMachine device handler is installed and published.

Zone 9 - Lawn 2: problem creating RM device. Check your IDE to make sure the brbeaird : RainMachine device handler is installed and published.

Zone 2 - North side slope bottom: problem creating RM device. Check your IDE to make sure the brbeaird : RainMachine device handler is installed and published.

Zone 3 - Front yard left + Cam hedge: problem creating RM device. Check your IDE to make sure the brbeaird : RainMachine device handler is installed and published.

Zone 4 - Front yard garage side: problem creating RM device. Check your IDE to make sure the brbeaird : RainMachine device handler is installed and published.

Zone 5 - Front yard right: problem creating RM device. Check your IDE to make sure the brbeaird : RainMachine device handler is installed and published.

Zone 1- North side slope top: problem creating RM device. Check your IDE to make sure the brbeaird : RainMachine device handler is installed and published.

Your SmartApp version (3.0.1) is not the latest version (3.0.0)

Also that last line that says I don't have the latest version. It seems to think that 3.0.0 is a newer version than 3.0.1. :wink:

I don't have any RainMachine devices showing up yet, presumably due to the device handler error messages.

This was a (dumb) mistake on my side with some namespaces. i have pushed updated code to fix this now. Can you try removing the App code and the device Driver for Rain Machine, and then do a Repair in Hubitat Package manager to reinstall both from the repository?

1 Like

You can safely ignore this...Its tied to the old code I ported from SmartThings and I didn't get around to cleaning this up yet.

1 Like

I assumed it was something simple that didn't get updated. :slight_smile:

Will do so now and confirm.

And will disregard the version info too. :slight_smile:

Sweet!! Houston, we have lift-off. No more errors during setup, and my programs and zones are appearing in my device list. Note to self...start w/a common term so they are all next to each other in my device list... :wink:

Pure genius, and I love your timing since today is my first day using my C7 and you gave me RainMachine all shiny and new. :smiley:

1 Like

Just type in "Rain" in the Device search bar and you'll have a nice neat list! That search will become your friend once you have a few hundred devices in there!

1 Like

Great, didn't know that. A lot to learn on this platform. Moving over from years w/SmartThings makes me feel very dumb again.

There are many here familiar with that journey. After a while you'll feel much smarter for making the switch.....

1 Like

SOOOOOO Cool! I'll install this Tuesday evening and let you know if I find anything.

1 Like

Yeah, I'm on day two and haven't really moved anything over from ST yet. I'm waiting for the update they are working on for the C7 FW to deal w/the pairing issues that have been found w/the C7 w/secure devices. I don't need to hurry up the migration, and in the meantime will continue to add apps and drivers I'm going to want to use, and add stuff like Hue and Ring and RainMachine (YAY! Thank you!) that can be on both systems at the same time.

Enjoying things w/HE overall, there have been some glitches (HubConnect won't work for me no matter what I do) but for the few test devices I've added (Visonic contact sensor and Iris motion sensor), getting them on HE was easy, and they do seem to work fine and fast. My ST setup was already very fast and reliable (I was one of the few w/little or no problems). Moving proactively to HE anyway to keep control over my system and have access to all of the custom options that ST is starting to lock down...

At first glance, this is a very nice start! Are you thinking you will implement "Pause" functionality? I need to rename the zones and programs better, so they all get grouped together... Maybe by adding a prefix. example RM-Front Yard , RM-Back Yard, etc.

Thank you for all the hard work!

Looking forward to installing this over the weekend so I can assign zones to a remote.

@brad2 my offer still stands. Just PM me.

I have been thinking about including a Prefix option. That said, just using Search to locate them (type "Rain") works pretty good.

For those who installed early, I pushed a release last night which change the drivers. You may need to delete everything and restart, or if easier just remove all of the Program devices, then go back through the App again so it recreates them. There is a new device driver for programs now.

1 Like

It's ready to go so have a look and see what you find @Gnant. Feedback welcome.

Love it. Had to reinstall as I had old code. But this is great. Also hadn't seen Package Manager before so a double bonus. I may actually uninstall my Alexa app for RainMachine as I don't like all the unused zones populating my device list. This is a way to control that.

Thank you very much for putting this together. My RainMachine was literally the only smart device I had left not integrated with Hubitat. I feel strangely gratified.

@brad2 This looks really good, Thanks for separating the programs from the zones! That helps clear up the initial confusion between the two.

The only thing I would like to see added would be Pause and Resume commands.

Also, I've noticed that the remaining time and valve/switch (not sure what the difference between the two are?) values aren't getting updated on the device page. Currently, this has to be done manually.

I have caught the following Errors in my logs if this helps with anything:

These errors happened approximately 4 times. Is there a way to turn off the debug?

Again Thank you! As @Gnant stated this was the last smart device that I couldn't control via Hubitat.

What version should the new version be, @brad2? Are these the current versions?

image

And I'm likely confused, but it didn't seem like I had to change anything in my setup. I had upgraded last night from the Package Manager when I did a "matchup" and then upgraded all the matched apps (including Rainbird).

The app seemed to know what programs I have already and not need updating:

Or am I misunderstanding you?

And thanks for the update!

As far as I can see in the API there is no such thing as a pause / resume option in RainMachine. There is a stop and stop option, so that is what I have exposed for Zones and Programs.