[RELEASE] Roborock Robot Vacuum

Thanks! My account can't send PMs or post links yet (too new), so here's the full source as a GitHub gist. Copy this into your browser:

gist.github.com/simonhendricks/0e98950f3292dec127f7066793e3c0ec

It's 1.1.12 plus the four changes. Search for "local" to find them. I set the version to "1.1.12-shared.3" just to tell it apart. It's been running on my C-7 since this morning with no drops. Happy to test a release before it goes to HPM.

Fixed that for you.

Have it running now and will update HPM/GitHub this evening. Thanks for the help. I've been busy redistributing things between HA and Hubitat as I move away from SmartThings and its upcoming pay-to-play API model.

Update: 1.1.13 posted to HPM/GitHub.

[RELEASE] Roborock Sequence Scheduler

I thought some folks here may have interest in using this app I co-piloted with AI that integrates with the Roborock Vacuum devices to schedule room cleanings in a sequence.

* Schedule multiple Roborock Vacuums to perform room sequence cleanings.
* Choose the rooms cleaned and the room cleaning order for the sequence, as well as mop settings for each room. Choose individual days or use a frequency.
* Each robot can run their sequences concurrently, if desired, and the app will keep track of the sequence states independently.
* Optional: a blocking device can be chosen to stop sequences from starting until the blocking device attribute clears
* Optional: multiple blocking devices can be added to stop individual rooms from starting during the sequence, until the room blocking device attribute clears.
* Option for = and != value to match blocking device attribute for both sequence block and room blocking
* Optional: speaker device for each room to announce a room cleaning is about to start
* Optional: use a chosen speaker device to annouce robot and dock errors when they happen.
* Optional: auto empty for self-emptying vacs: Enter a Sq foot cleaned limit for each vac since last empty, to cause the vac to empty between rooms if it goes over limit.
* Optional: signal light using an RGB bulb device for status. Green=Cleaning, Yellow=Blocked/waiting, Blue=Water Errors, Red=Other Robot Error, also includes brightness and hue settings for each vac. The same light can be used with multiple vacs, you can assign different hue colors for different vacs using the same light, or use a different light for each vac.
* Optional: create a child pushable button device to create html attributes and room clean buttons for dashboards, with Sequence Schedules, room clean button codes, and status, that can be put on dashboards. The room clean buttons have settings for mop in the app.
* The Child device also contains a button attribute, to pull up the app settings page in an iframe, to modify the app settings and schedules from a dashboard attribute tile or the device page.

If interested, here are the Groovy files:
Roborock Sequence Scheduler
Roborock Scheduler Display Tile Child Device

Any device and attribute can be used as a blocking device. Example: Use presence to control starting a sequence only when away. The schedule will wait to start until the attribute changes when you leave. In addition, you can use multiple room blockers, such as a motion sensor where room motion must be inactive for the room to start cleaning. It will wait, and then start cleaning the room when motion goes to inactive. There is setting to stop waiting and cancel the cleaning, with a default set to 12 hours. Since this is open to all devices and attribute values, you can use any devices, such as contact sensors to make sure a room door is open. Rooms can have multiple blocking devices, so a room cleaning can be based on door open and room inactive, for example.

I wrote most of this app myself before summer started. When I got back to it in the summer, I decided to have AI help me finish it up and add more features, based on my original code. An initial refactor of the code used Gemini, but then it started doing it's Gemini thing and going off the rails, so I moved to DeepSeek AI. DeepSeek did an amazing job adding the new features, so most of the optional features were added by DeepSeek AI at my direction.

I've been testing it and it has been working well so far, but let me know if there are issues if you try it.

Edit: I will be continuing to update this app. I just added a timeout setting for room blocks that is separate from sequence blocker timeouts. I have room blocks default to 30 minutes before timing out, so one room doesn't block the rest of the sequence for 12 hours. Github link above is updated to version 2.35.

I updated to the latest version just to see if that was somehow able to help and found this in the logs. It’s like it’s trying to connect to the wrong vacuum somehow.

Any ideas?

You should be able to select the other device in the UI control "select device". If that doesn't work, go into the moblie app and delete out your dead device.

My old device was already removed and I had selected the new one in Hubitate. I deleted the new one from the Roborock app, readded it, and still have the same issue of it showing Offline. Without the debugging turned on, I keep getting this:

Wondering if there’s something different with how the API reflects this Q7 L5 than the other versions.

Doing a quick search, it does sound like Q series has been moving to the matter protocol which like HA would not be compatible with this driver.