[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.