Robot vacuum scheduler using Node Red

I just put together some node flows to make scheduling cleaning a little easier so I thought I’d share just incase anyone is interested.

I know that this is by far not the best way to do it so but I just did it for me and it works and because of the shear amount of nodes I don’t know how or if it would affect performance as I run HA on a i5 nuc.

I used alexa actionable notifications that you can find here also my vacuum is a Roborock S5 running Valetudo RE, it also runs SoX so I can audio directly on it so it may take a little tweaking. The only card you will need is the vacuum card that you can hacs or here. You will also need to install the schedex node in node red

Cleaning Modes:
Alarm - Starts vacuum according to the alarm set in alexa (has offset in node-red)
Auto - Starts at the selected time
Semi-Auto - Asks the user before starting, either through alexa(if home) or though the HA app(if away), useful if you need to put the mop cloth on

Vacuum Modes:
Incase vacuums use different settings like “low” instead of “min” theres nodes to easily change

Cleaning Time:
Only has 5 options (of course you can add more) but one being manual so you can input any time you want

Rooms:
Select any rooms and it will just do them all at once, no pausing or going back to dock and with the option to reset all the selected rooms after the job is complete

After 8 runs (manual/spot cleaning, from vac itself included) the vacuum goes to a spot to be emptied and informs the user(The node to change that is labled “Cleans before travelling to bin” under the Vacuum flow)


I don’t know how to anything more advanced, I’m sure that is making some more advanced node red users cringe.

Heres all the flows
The input booleans, input selects, input text, scripts and finally here the card (install the vacuum-card before adding my card)

3 Likes