[OBSOLETE] Rachio Manager

Where do I input the api key?

Just wanted give you guys a heads up. I’ve updated the Rachio Manager SmartApp to add support for multiple controllers.
It’s not live yet I just want to perform a bit more testing before I push it out tomorrow.

1 Like

Rachio Manager (v1.1.0)

  • This release adds support for multiple controllers.
  • Lot’s of bug fixes and cleanups

Upgrade Notice:

I tried my best to cover all scenarios in handling the upgrade migration process.
YOU MUST OPEN THE APP AFTER UPDATING THE CODE AND PRESS SAVE.

2 Likes

I just applied the update and I’m still not able to get this or the official install to work. It shows the Rachio device in the SmartApp and lists the Zones in the SmartApp. It then adds a device per zone (although it keeps the names I set for them from the original install of the Rachio interface last year). Each device/zone shows as unavailable and never updates nor can I control the zone with it. I’m at a loss on how to further troubleshoot. Thoughts?

I would remove everything and start over

Are you trying to install the official SmartThings integration or are you trying to install @tonesto7 community version?

Just in case people missed it, Anthony wrote the official integration for Rachio and ST, which ST published officially. Rachio made some updates to the API which required some changes to the official ST integration however, official integrations have to go through a stricter process of approval as opposed to unofficial community SmartApps and Device Type Handlers and right now that strict process is taking a LONG time SO… Rachio allowed Anthony to release what WOULD be the official integration as an “unofficial community integration” so that we can get the updated code now as opposed to waiting for the official integration to be updated.

I had to delete all of my official integration and then installed the version being discussed here through @tonesto7’s absolutely amazing Community Installer with basically one click and some credentials.

If you are not using Anthony’s Community Installer, you really really really really really REALLY should be:

[BETA] Community SmartApp Installer

2 Likes

You missed a “really” in there somewhere … maybe between the third and forth one :stuck_out_tongue_winking_eye:

Lastest upgrade (v1.1.0) working fine here :+1:

2 Likes

I’m trying to use the @tonesto7 community version.

I just:

  1. Removed the Devices and SmartApp from the SmartThings App.
  2. I removed the Rachio entries from My Device Handlers and My SmartApps in the Web settings.
  3. I rebooted the router
  4. Reinstalled the Rachio Device Handlers and SmartApp on the Web
  5. Enabled OAuth on the SmartApp
  6. Installed the SmartApp in the Smartthings App
  7. Added the API Key
  8. Selected my Rachio (I only have one) and the 6 active Zones and hit Save

The Devices were added for each Zone, but they, once again, had the name I had named them when I had installed the official one in 2017 (not necessarily a problem, just an observation). The Devices don’t work and all of them say Watering and eventually time out and say Device Unavailable.

I did all of this with live logging on. There were some Errors thrown in the Rachio Manager SmartApp (see below).

Thoughts?

Rachio Manager SmartApp Logs
572fd0e1-417c-4571-98ac-435e30943db7  3:27:49 PM: info Updating (1) Controllers and (6) Zone devices...
572fd0e1-417c-4571-98ac-435e30943db7  3:27:49 PM: error exception polling children: groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#minus.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @line 1077 (getCurrentRainDelay)
572fd0e1-417c-4571-98ac-435e30943db7  3:27:49 PM: error exception polling children: groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#minus.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @line 1077 (getCurrentRainDelay)
572fd0e1-417c-4571-98ac-435e30943db7  3:27:49 PM: error exception polling children: groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#minus.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @line 1077 (getCurrentRainDelay)
572fd0e1-417c-4571-98ac-435e30943db7  3:27:49 PM: error exception polling children: groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#minus.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @line 1077 (getCurrentRainDelay)
572fd0e1-417c-4571-98ac-435e30943db7  3:27:49 PM: error exception polling children: groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#minus.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @line 1077 (getCurrentRainDelay)
572fd0e1-417c-4571-98ac-435e30943db7  3:27:49 PM: error exception polling children: groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#minus.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @line 1077 (getCurrentRainDelay)
572fd0e1-417c-4571-98ac-435e30943db7  3:27:49 PM: error exception polling children: groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#minus.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @line 1077 (getCurrentRainDelay)
572fd0e1-417c-4571-98ac-435e30943db7  3:27:49 PM: info Rachio Manager -- Polling API for Latest Data -- Last Update was (10000 seconds ago)
572fd0e1-417c-4571-98ac-435e30943db7  3:27:49 PM: info Successfully Created API Webhook Subscription for Controller (e5cacb80-1c0b-4265-a9f8-64edab5b2a83)!!!
572fd0e1-417c-4571-98ac-435e30943db7  3:27:45 PM: trace appCleanup()
572fd0e1-417c-4571-98ac-435e30943db7  3:27:45 PM: info Zone Device Created: (Rachio - West Side of House) with id: [6aba87b8-497a-429b-a7dd-c3fe51c02e23]
572fd0e1-417c-4571-98ac-435e30943db7  3:27:44 PM: info Zone Device Created: (Rachio - East Side of House) with id: [b9566959-f76e-4a67-92ff-27bade8e89ba]
572fd0e1-417c-4571-98ac-435e30943db7  3:27:44 PM: info Zone Device Created: (Rachio - Front Lawn) with id: [121e2893-09ab-471c-b67a-b21084d0132e]
572fd0e1-417c-4571-98ac-435e30943db7  3:27:43 PM: info Zone Device Created: (Rachio - Front Sidewalk) with id: [c7325293-4ce9-4dd0-8bab-9d3b6fe9c41b]
572fd0e1-417c-4571-98ac-435e30943db7  3:27:43 PM: info Zone Device Created: (Rachio - Far Back) with id: [278a3722-c2e5-430f-b40c-2ccb449463b1]
572fd0e1-417c-4571-98ac-435e30943db7  3:27:42 PM: info Zone Device Created: (Rachio - Back) with id: [55266750-d667-43f2-a971-787cda629d3f]
572fd0e1-417c-4571-98ac-435e30943db7  3:27:41 PM: info Controller Device Created: (Rachio - Home Rachio) with id: [e5cacb80-1c0b-4265-a9f8-64edab5b2a83]
572fd0e1-417c-4571-98ac-435e30943db7  3:27:37 PM: trace initialized...
572fd0e1-417c-4571-98ac-435e30943db7  3:27:37 PM: debug Updated with settings: [controllers:[e5cacb80-1c0b-4265-a9f8-64edab5b2a83], defaultZoneTime:10, e5cacb80-1c0b-4265-a9f8-64edab5b2a83_zones:[121e2893-09ab-471c-b67a-b21084d0132e, c7325293-4ce9-4dd0-8bab-9d3b6fe9c41b, 6aba87b8-497a-429b-a7dd-c3fe51c02e23, b9566959-f76e-4a67-92ff-27bade8e89ba, 55266750-d667-43f2-a971-787cda629d3f, 278a3722-c2e5-430f-b40c-2ccb449463b1], authKey:aec97e4e-a08f-44cd-8190-47af993c4551, pauseInStandby:true]
572fd0e1-417c-4571-98ac-435e30943db7  3:27:36 PM: trace initialized...
572fd0e1-417c-4571-98ac-435e30943db7  3:27:36 PM: trace Installed with settings: [controllers:[e5cacb80-1c0b-4265-a9f8-64edab5b2a83], defaultZoneTime:10, e5cacb80-1c0b-4265-a9f8-64edab5b2a83_zones:[121e2893-09ab-471c-b67a-b21084d0132e, c7325293-4ce9-4dd0-8bab-9d3b6fe9c41b, 6aba87b8-497a-429b-a7dd-c3fe51c02e23, b9566959-f76e-4a67-92ff-27bade8e89ba, 55266750-d667-43f2-a971-787cda629d3f, 278a3722-c2e5-430f-b40c-2ccb449463b1], authKey:aec97e4e-a08f-44cd-8190-47af993c4551, pauseInStandby:true]
572fd0e1-417c-4571-98ac-435e30943db7  3:27:28 PM: debug rachioDeviceList(): [e5cacb80-1c0b-4265-a9f8-64edab5b2a83:Home Rachio]
572fd0e1-417c-4571-98ac-435e30943db7  3:27:17 PM: debug rachioDeviceList(): [e5cacb80-1c0b-4265-a9f8-64edab5b2a83:Home Rachio]
572fd0e1-417c-4571-98ac-435e30943db7  3:27:09 PM: debug rachioDeviceList(): [e5cacb80-1c0b-4265-a9f8-64edab5b2a83:Home Rachio]
572fd0e1-417c-4571-98ac-435e30943db7  3:26:32 PM: info No Rachio AuthToken Found... Please Login to Web App > Account Settings > Get API Key...
572fd0e1-417c-4571-98ac-435e30943db7  3:26:32 PM: info No Rachio AuthToken Found... Please Login to Web App > Account Settings > Get API Key...
572fd0e1-417c-4571-98ac-435e30943db7  3:26:31 PM: info No Rachio AuthToken Found... Please Login to Web App > Account Settings > Get API Key...
572fd0e1-417c-4571-98ac-435e30943db7  3:26:11 PM: info No Rachio AuthToken Found... Please Login to Web App > Account Settings > Get API Key...
572fd0e1-417c-4571-98ac-435e30943db7  3:24:23 PM: info No Rachio AuthToken Found... Please Login to Web App > Account Settings > Get API Key...
572fd0e1-417c-4571-98ac-435e30943db7  3:24:08 PM: info No Rachio AuthToken Found... Please Login to Web App > Account Settings > Get API Key...
Rachio Controller Device

ec36e137-a0f0-4f0e-a537-d10f66a75b0f 3:27:41 PM: debug Parsing ‘updated’

One of the Rachio Zones (They all say the same)

3742a10f-cf6b-4bba-b364-6ebb63464e66 3:27:42 PM: debug Parsing ‘updated’

Did you delete it from here in the IDE?

I deleted it from the My Smart Apps section in the IDE. After that I looked in the Installed SmartApps like your screenshot and it wasn’t listed there. Should I try removing it differently?

Make sure the Rachio devices aren’t listed under My Devices in the IDE.

I suspect since you had the old devices from the official integration that was the issue. Technically you could have went in and changed each existing device to use the Rachio manager device and been good but the new app will not work with the old official devices.

Thank you for all of your help and suggestions. Unfortunately, I’m still unable to get this working and I’m really puzzled.

I tried again for a fresh install:

  1. This time, I removed everything via the IDE
  2. I went into My Locations
  3. Then into Devices and removed all of the Rachio entries
  4. Then into SmartApps and removed the Rachio entry
  5. Then into My Device Handers and removed the 2 device handlers
  6. Then into My Smart Apps and removed the Smart app
  7. I then rebooted the hub
  8. I confirmed that in the IDE and in the App there weren’t any installed Rachio Devices, Device Handlers, Smart Apps or Smart App “handlers”
  9. I then installed the Rachio SmartApp “handler” and the 2 device handlers via the Github integration into the IDE
  10. I enabled OAuth in the Smart App
  11. Then, in the App and I installed the Smart App from My Apps
  12. Then added my API key, selected my Rachio and my 6 zones
  13. The 6 Rachio Zone Devices and one Rachio Controller Device were added. The once again have the names that I had renamed the original devices last year (even though they’ve been deleted multiple times).
  14. The Rachio devices all show watering and don’t update when I start or stop a Rachio zone from actually watering
  15. I looked in the IDE and the Rachio Devices are using the Community Rachio devices and not the official integration

I’m completely baffled as to what’s going on.

Hey @tonesto7

Have you looked into using the Rachio webhooks for events? I quickly edited the smartapp to poll every 30 seconds and I found out that they rate limit API requests.

If you haven’t already started to look into it I might take a crack at it. I want the sprinklers to open a zwave controlled water valve and it would be nice for there to be no delay at all with it.

It already uses webhooks. Events occur within a 1-2 seconds so I’m not sure what your talking about :slight_smile:

This has been tested and certified by ST and the community. So if you are having issues maybe you should return the code to stock

Doh!

Nothing ever good happens after 2AM :slight_smile:
I think I was using the official published one before (which i don’t believe was using webhooks), so I took yours and modified it to have a higher poll interval before i even thought to look to see if you already had it done.

Im going to go ahead and comment out the rapid polling now.

Thanks!

+1 to that. I’ve caused a lot of problems while coding late at night.

The official one is the same (I wrote it) I only released the public one to push out Rachio API fixes because ST submissions are very slow.
I recently added support for multiple controllers to the public one which will eventually be submitted to ST.

If you are seeing events issues where real-time events are not occurring (~2sec) let me know.

I’m having a heck of time with getting this installed.

I had the official version installed (1.0.0).

I tried installing “manually” (like I do all smart apps) and it installs but I don’t see any devices.
Now one thing I did do was I uninstalled the Old one AFTER I installed the new version (Rachio Manager 1.1.1).

I tried reinstalling the new one again (with the old one removed first) and same result no devices.
I did notice that you also have a couple devices over on GitHub.

So then I figured ok, I’ll try the community installer (which handles dependencies?). Which goes fine until I click “Installer Home”. Not clear what that even is, but it asks for SmartThings or Samsung account. I have an IDE Account and a SmartThings Community Account (neither works).

Ok, figured out part of the issue.

I also have a Samsung account. So I tried that.

This time it ASKED me Samsung or Smartthings Account.
I enter my Samsung account (that I just verified on the web) and it Failed too. Tried several times.
Then, I entering the same Samsung Login info the “Failed Login” page and that logged in !!

When I enter my SmartThings account email (which is different) it never prompts for Samsung vs SmartThings Account and appears to jump straight to Samsung login (which does not use that email), so it always fails.

Now it’s just stuck saying “Loading Data, Please wait”. This is so painful.

I’m only looking into this because Rachio (standalone) seems dumber than a brick. I think it’s main issue is poor weather prediction and past rain. I think if it gets that data correct it works “ok”. If not, it’s runs like crap (over or under waters).

I was tempted to get the RainMaster because it allows several sources of weather data and I’ve had very good luck with Weather Underground data in the past. Which Rachio doesn’t support. So I thought I’d look into doing it myself. I had done it before with SmartThings.

Finally got it to work.

It never finished Loading Data. Tried a 2nd time and the whole login mess happened again. And it got stuck again.

Then I understood what it meant by Embedded vs Mobile Browser and switched it to Mobile Browser.
Entered my SmartThings account it went right in and Displayed the Community Apps.

Geesh.

1 Like

Is there ST github intergration for easy updates? Sorry if I missed it, I’m outside sweating bullets installing this new rachio 3 controller in enclosure.