Struggling with getting Litter Robot 4 integration working

Just got a new Litter Robot 4 which has built-in WiFi connect. Can't get it to integrate with Hubitat.

Here's where I'm at:

  1. Installed the Litter Robot app via HPM (the @dman2306 one)
  2. Configured it - asked me for my LR credentials, it says "Litter Robot API Integration" is in "connected" state
  3. Added a "Litter Robot" device -- drop down on Virtual Drivers, under User, selected Litter Robot
  4. I see a driver page with lots of options -- Light On, Light Off... Reset Drawer Gauge, Start Clean Cycle, etc, etc
  5. Events have no events
  6. Have confirmed the LR can be controlled via WiFi with it's app on my phone
  7. Have updated the LR firmware
  8. Logs look like this

Now, nowhere in this process did it ask for the name of my Litter Robot -- technically I could have several in my account (I don't). So not sure if that's normal.

I’m a little bit ashamed to admit it, but I got one a couple months ago and it’s been working great, but only one of my 2 cats uses it, so I still have a litter box to scoop :cry:. I didn’t realize that there was an integration for it. I’ll have to see if I can get it to work.

What happens if you take away the manual litter box? We started off with 3 manual litter boxes and are now down to the single LR4.

...for 4 cats.

I have been afraid to find out :scream:

1 Like

We just adopted a 4 year old cat. Set out one manual litterbox, and the new LR4 (turned off). After 2 days, we detected she had begun to use the LR4. Are about ready to start having the LR4 run automatically. It's seeming to be a very easy integration on the biological side :wink:

1 Like

LOL - I've had two of their Litter Robot 2's -- both eventually died after nearly 2 decades. Daughter has a LR3 -- for her cat. Now that we've adopted a cat, I knew I'd never go back to a manual box. So I choked on the total cost (man, they've tripled in price) -- but it makes night/day difference in the enjoyment of having a cat. And has MASSIVE WAF.

I also see a Roomba in my future. You can use Hubitat to "trigger" the Roomba to go over to the LR4 and sweep in front of it -- each time the cat finishes using the LR4. LOL.

2 Likes

That is an amazing idea.
The app isn’t creating the child device for the litter robot. It must be broken and dcmeglio is no longer on Hubitat :disappointed:

Can confirm I don't see a Child device under the Litter Robot Manager

1 Like

Have you tried the LR support suggestion of letting the manual box get a bit "dirtier" than normal? And to have it next to the LR4? That tends to help a cat "decide" to use the cleaner LR4. Also, putting some of the reticent cat's "poo" into the LR4 so it adds their scent to the litter.

Yes. No dice. I know this because of the weight recorded. It may have been better if I was blissfully ignorant.

-blank stare-

I have a roomba in the same room and didn't think to do that...

Right after every use might be a little much with 4 cats though. haha

1 Like

BTW, The Homebridge plugin doesn’t seem to work either. No devices are created with that either.

The Litter Robot integration, written by Nate Spencer for SmartThings and ported by Dominick Meglio (@dman2306) to Hubitat, only works for the LR3, which I have. The API for the LR4 is very different. Neither API is published, and everything has been reverse engineered.

Dominic Meglio has left Hubitat for Home Assistant, and Nate Spencer left SmartThings for Home Assistant, too. Nate Spencer has developed an automation for Home Assistant that supports LR3, LR4, and the other LR product, the Feeder Robot. That automation seems to be undergoing continual change and development.

I spoke with Tom Denton, the Director of Software Engineering, a year ago, and he seems like a nice guy, very bright. He had just joined Litter Robot (now, Whisker) a few months before I spoke to him. The original API and mobile app for the LR3 was written by outside contract programmers, and is the API (“Legacy API”) that the Hubitat integration uses. Tom Denton assured me that the Legacy API will not go away even though the older mobile app has been removed from the Google and Apple app stores. A new mobile app was developed, using a Google Firebase API, but that API was scrapped when Tom Denton took over and brought all programming in-house. A new, extensible, API was developed for the new mobile app that supports LR3, LR4, the Feeder Robot, and other products. Nate Spencer’s Home Assistant automation, written in Python, uses this new (still unpublished) API.

If/when Nate Spencer’s Home Assistant automation stabilizes, or if the new Whisker API becomes published, I may port that to Hubitat. I have a LR3, and Dominic Meglio’s port has been rock solid for me.

Until then, if you want to integrate the LR4 with Hubitat, you should spin up a Home Assistant instance on a Raspberry Pi and use the community HADB to bring it into Hubitat.

2 Likes

While a larger project than I thought it'd be -- I can do that. I think I may be able to run HA as a task on my Unraid server (docker might be available).

Thanks for the suggestion and very detailed info on "where we're at". Never crossed my mind that the LR4 would be so different than the LR3.

1 Like

Yup. An "official" Home Assistant docker at that.. That'll work. I'll get that running on my Unraid server.

1 Like

Oh the humanity! Looks like I'll be sticking with the LR3. Could not do without it and the automation is super helpful. When Alexa announced "Kitty pooper needs attention" that's our call to action.

Maybe they will at least support IFTTT?

1 Like

That was easy, and seems to be working. Thanks for the suggestion and info :smiley:

1 Like

Care to give me any pointers? Anything you ran into unusual? I've never done the HA or HADB. Straight forward?

Surprisingly so. Just be aware that the devices won’t appear in Hubitat until they have an event. Followed the instructions in the thread that @672southmain linked. This was my first time using HA as well. I installed it from the Snap store on a Ubuntu desktop that I set up for Homebridge and Echo Speaks. It found the litter robot automatically, I just had to enter my email and password.

1 Like

HooHoo! Yup -- wasn't too bad getting it running as a Docker on my Unraid server and connected to Hubitat.

Wanted to compare notes a bit.

Am seeing this as a automatic device
image

But in HA - there are several devices

image

Eg, in Hubitat -- am seeing ONLY one of the HA "device" - "Waste Drawer" -- is that right? Or do the other show up eventually?

Specifically, was hoping to get something that would tell me that it was idle or cycling (HA says the values are 'docked' or 'cleaning')