Roborock Routines

Yep. Loved the Jetsons growing up so mine is named Rosey :grinning:

3 Likes

If it’s not too much trouble, do you mind sharing a screenshot of your rule that does the private bool that uses the emptying and charging state please? I’m trying to wrap my head around this but not 100% sure what that looks like.

See below. It's triggered by a Virtual switch, one for each room. The rule allows you to select multiple rooms but I usually just do one at a time. I only show two of the IFs for room selection but it's just one IF for each room. This just vacuums.

[edit]Something I found after I built this rule is the Roborock driver has a Switch attribute. It turns on when the unit starts cleaning and off when it is done, so that would be an even easier way to track when it's finished.



1 Like

Thank you!!! I greatly appreciate it! :smiley:

Just read your Edit. So, yes, I did see the on/off and the rule I've written for POC originally used those, but the Off state occur before the emptying status. So, it would be "off" but is still emptying or washing the mop. At least with the way I've made my rule, it would try to trigger the next room clean when the Switch turned off but was still emptying. I believe all "Off" does is trigger a "Send me back to the docking station". But maybe if I added timers in between, it could work.

My S7 runs in the dark no problem at all, it is 100% depending on lidar, I believe the S8 has poop, sock, etc. detection and not 100% sure if lighting is needed for those detections or not since it's a camera looking for those obstacles?

About my automations, everyday as soon as the house detects everyone has left and goes into away mode, a rule starts and checks if it already ran today, if not, it will start a full 1st floor cleaning (before the dog poops :wink: cause mine does not detect that), after a sweep and while it returns to the base to empty the dust bin and recharge, the rule updates the date in a local variable so that if the the home goes back to away mode during the same day, it does not start again.

I did have a few times where the robot would not start and found out that one mode I did not take into account in my rule, was the sleep mode. So here is my rule machine snapshot just in case someone gets into the same problem I had...

1 Like

If that is the case then using state or the on/off would be a 6 of one, half dozen of the other situation. You could use it but you would still need to watch the state variable to tell when it had emptied and was back to charging.

I never really looked that close, I use the one/off for another rule that makes sure the vacuum is ran at least every 3 days, In that case, however, I really only need know it started.