# Creating a flow for vacuum cleaner for different rooms

**URL:** <https://community.homey.app/t/creating-a-flow-for-vacuum-cleaner-for-different-rooms/153621>\
**Category:** Flows\
**Created:** [April 10, 2026, 9:33pm UTC](https://community.homey.app/t/creating-a-flow-for-vacuum-cleaner-for-different-rooms/153621 "2026-04-10T21:33:49Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Autogedrocht](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/autogedrocht/32/103824_2.png) [@Autogedrocht](https://community.homey.app/u/Autogedrocht)\
**Post date:** [April 10, 2026, 9:33pm UTC](https://community.homey.app/t/creating-a-flow-for-vacuum-cleaner-for-different-rooms/153621/1 "2026-04-10T21:33:49Z")

</div>

Hello!

I have a robot vacuum cleaner and I want to create a flow where the robot vacuum cleaner can clean rooms depending if a variable is set to yes/no in a dashboard.

I made a flow and this works fine for the floor where there are 2 rooms (Linda + Waskamer). But now I have a floor with 5 rooms, and there are way to much options for all variables.

 ![flow2](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/7/d771afd459abc1ec21c5f05f85f5e2dac1442d71.jpeg)

I can create this with 5 rooms, but there should be an easier way?

I prefer not having to install extra apps since my memory on the Homey Pro2023 is already kinda full.

Thanks!

---

<div class="post-metadata">

**Author:** ![Wim\_Post](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wim_post/32/56793_2.png) [@Wim\_Post](https://community.homey.app/u/Wim_Post)\
**Post date:** [April 11, 2026, 9:05am UTC](https://community.homey.app/t/creating-a-flow-for-vacuum-cleaner-for-different-rooms/153621/2 "2026-04-11T09:05:33Z")

</div>

With 2 Yes/No variables you can make 4 combinations:  
YY, YN, NY,NN

With 3 Yes/No variables you can make 8 combinations

YYY,YYN,YNY,YNN  
NYY,NYN,NNY,NNN

With 4 Yes/No variables you can make 16 combinations

YYYY,YYYN,YYNY,YYNN  
YNYY,YNYN,YNNY,YNNN  
NYYY,NYYN,NYNY,NYNN  
NNYY,NNYN,NNNY,NNNN

And so on.

---

<div class="post-metadata">

**Author:** ![Autogedrocht](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/autogedrocht/32/103824_2.png) [@Autogedrocht](https://community.homey.app/u/Autogedrocht)\
**Post date:** [April 11, 2026, 9:09am UTC](https://community.homey.app/t/creating-a-flow-for-vacuum-cleaner-for-different-rooms/153621/3 "2026-04-11T09:09:48Z")

</div>

Thanks for your reply.

Yes, i understand, but the thing is that with 5 rooms i have to make a LOT of combinations.  
I’m just wondering if there aint an easier way.

---

<div class="post-metadata">

**Author:** ![Wim\_Post](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wim_post/32/56793_2.png) [@Wim\_Post](https://community.homey.app/u/Wim_Post)\
**Post date:** [April 11, 2026, 11:13am UTC](https://community.homey.app/t/creating-a-flow-for-vacuum-cleaner-for-different-rooms/153621/4 "2026-04-11T11:13:08Z")

</div>

Just for fun I tried if using the yellow-lines and ALL-cards could make your flow more slick.  
With 2 rooms it’s not to bad, I think.  
With 3 rooms it becomes messy, to say the least. Still not sure it’s flwless.😜

 ![Scherm­afbeelding 2026-04-11 om 11.57.11](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/5/d572d15ecf374e998c3eaa8a528436d9edbfc85f.jpeg)

---

<div class="post-metadata">

**Author:** ![Anoniemand](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anoniemand/32/120697_2.png) [@Anoniemand](https://community.homey.app/u/Anoniemand)\
**Post date:** [April 11, 2026, 11:15am UTC](https://community.homey.app/t/creating-a-flow-for-vacuum-cleaner-for-different-rooms/153621/5 "2026-04-11T11:15:58Z")

</div>

Use it with a time as well? You can then seperate each task fe

- time = 14:00 and stfz room A is yes then vacuum room A
- Time = 14:30 and stfz room B is yes them vacuum room B

Or instead of making it overly complex keep it simple

- day is tuesday clean room A, C and E
- Day is friday clean all rooms

---

<div class="post-metadata">

**Author:** ![Wim\_Post](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wim_post/32/56793_2.png) [@Wim\_Post](https://community.homey.app/u/Wim_Post)\
**Post date:** [April 11, 2026, 2:13pm UTC](https://community.homey.app/t/creating-a-flow-for-vacuum-cleaner-for-different-rooms/153621/6 "2026-04-11T14:13:36Z")

</div>

Just for fun I created this flow for ‘3 rooms’:

Every time one of the 3 YES/NO-variables changes a TEXT-variable is updated. Depending on the content of the TEXT-variable one of the 8 options is selected each Tuesday and Friday.  
Still a lot of work for 5 rooms (32 options) but doable?

 ![Foto 11-04-2026 om 16.01](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/0/003ee07dde8231d2870ad51d4e099c1d352aaa9b.jpeg)

---

<div class="post-metadata">

**Author:** ![Autogedrocht](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/autogedrocht/32/103824_2.png) [@Autogedrocht](https://community.homey.app/u/Autogedrocht)\
**Post date:** [April 12, 2026, 4:34pm UTC](https://community.homey.app/t/creating-a-flow-for-vacuum-cleaner-for-different-rooms/153621/7 "2026-04-12T16:34:05Z")

</div>

Timing is a pretty good idea.

Downside is it takes longer, cause it doenst continue room after room and it has longer breaks between assignments. Also gives quite some extra pings to my phone cause he has multiple assignments and he sends a PM after finishing a job.

Reason for wanting a variable, is that sometimes in the morning some floors are filles with lego and clothes from children. 😀 Often I dont have the time to clean it before vacuuming, so I want to have an easy skip that room(s) for that day.

Thanks for sharing the idea tho.

---

<div class="post-metadata">

**Author:** ![Anoniemand](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anoniemand/32/120697_2.png) [@Anoniemand](https://community.homey.app/u/Anoniemand)\
**Post date:** [April 12, 2026, 7:25pm UTC](https://community.homey.app/t/creating-a-flow-for-vacuum-cleaner-for-different-rooms/153621/8 "2026-04-12T19:25:45Z")

</div>

> [@Autogedrocht](#):
>
> Downside is it takes longer, cause it doenst continue room after room and it has longer breaks between assignments.

Good thing it is automated though :). You could finetune timing to lower the breaks between rooms.

> [@Autogedrocht](#):
>
> Also gives quite some extra pings to my phone cause he has multiple assignments and he sends a PM after finishing a job.

If Homey is sending the “pings” you could change that automation to your wishes, with extra yes/no variables (Room X cleaned today)

> [@Autogedrocht](#):
>
> Reason for wanting a variable, is that sometimes in the morning some floors are filles with lego and clothes from children. 😀 Often I dont have the time to clean it before vacuuming, so I want to have an easy skip that room(s) for that day.

Good idea. I just don’t see a “manageable flow” to fully suit your needs, since it will become quite complex. Maybe a HomeyScript could fit your needs, but i don’t have much experience with that.

---

<div class="post-metadata">

**Author:** ![Autogedrocht](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/autogedrocht/32/103824_2.png) [@Autogedrocht](https://community.homey.app/u/Autogedrocht)\
**Post date:** [April 13, 2026, 5:38pm UTC](https://community.homey.app/t/creating-a-flow-for-vacuum-cleaner-for-different-rooms/153621/9 "2026-04-13T17:38:46Z")

</div>

> [@Anoniemand](#):
>
> If Homey is sending the “pings” you could change that automation to your wishes, with extra yes/no variables (Room X cleaned today)

Its the Dreame app itself sending the pings. Cause there are multiple types of error, i dont want to have all pings send from Homey, but from the Dreame app itself.

Thanks all for all the ideas tho. I’m gonna stick with my first idea, and try to minimize amount of rooms to 4, to keep an organised flow.

---

<div class="post-metadata">

**Author:** ![Anoniemand](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anoniemand/32/120697_2.png) [@Anoniemand](https://community.homey.app/u/Anoniemand)\
**Post date:** [April 13, 2026, 7:05pm UTC](https://community.homey.app/t/creating-a-flow-for-vacuum-cleaner-for-different-rooms/153621/10 "2026-04-13T19:05:10Z")

</div>

I’ve tried something with HomeyScript and it seems to work, as in: Dreame app card requires a comma seperated input with room names, this script returns a comma seperated list.

The order of input variables (in my case “Aanwezigheidswaarschuwing”, “Bewegingsalarm”, ..) must match with the `const namen = ['Kamer Linda', 'Waskamer' ,...` So we can match the yes/no variabels with the required rooms, since the Dreame card requires the room ids.

In my example I have picked some random yes/no variables that i have available in my Homey, the current values are: ✓✓⨯✓⨯ and they match with the result.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/5/75676564e26bec029682046e0849544187c1cef8.png)

Script

```auto
const namen = ['Kamer Linda', 'Waskamer', 'Badkamer', 'Slaapkamer', 'Gang'];
const chars = [...args[0]];
const ruimten = namen.filter((_, i) => chars[i] === '✓');
return ruimten.join(', ');

```

After this card you can add the Dreame card to clean the room, hopefully you can select the flow variable `resultaat` (in Dutch) in the “rooms” field.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/b/3bb7372e58320ec6645a325e249abf88dba01675.png)

Edit: oops responded in Dutch instead of English, translated.

---

<div class="post-metadata">

**Author:** ![Autogedrocht](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/autogedrocht/32/103824_2.png) [@Autogedrocht](https://community.homey.app/u/Autogedrocht)\
**Post date:** [April 13, 2026, 7:52pm UTC](https://community.homey.app/t/creating-a-flow-for-vacuum-cleaner-for-different-rooms/153621/11 "2026-04-13T19:52:49Z")

</div>

Amazing, next level 😀

Sadly tho, i don’t think I can put a variable result in a room field. There is only a card for an id or a room name. But both have to be selected from a dropdown.

I’ll bookmark this, and see if I can let it work with a workaround.

Many thanks!

---

<div class="post-metadata">

**Author:** ![Autogedrocht](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/autogedrocht/32/103824_2.png) [@Autogedrocht](https://community.homey.app/u/Autogedrocht)\
**Post date:** [April 13, 2026, 8:07pm UTC](https://community.homey.app/t/creating-a-flow-for-vacuum-cleaner-for-different-rooms/153621/12 "2026-04-13T20:07:17Z")

</div>

@Pjotr_Grootkop

Just FYI, since you build the fantastic app.

This is not a request, but maybe it inspires you. Excluding a room feature.

---

<div class="post-metadata">

**Author:** ![Autogedrocht](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/autogedrocht/32/103824_2.png) [@Autogedrocht](https://community.homey.app/u/Autogedrocht)\
**Post date:** [April 21, 2026, 10:07pm UTC](https://community.homey.app/t/creating-a-flow-for-vacuum-cleaner-for-different-rooms/153621/13 "2026-04-21T22:07:23Z")

</div>

And what about this?

Havent tested it yet, but curious about your input.

 ![Naamloos-1](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/b/7b2d276e1dfba931ee5ee3009261e4298898d615.jpeg)

---

<div class="post-metadata">

**Author:** ![Anoniemand](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anoniemand/32/120697_2.png) [@Anoniemand](https://community.homey.app/u/Anoniemand)\
**Post date:** [April 22, 2026, 7:29am UTC](https://community.homey.app/t/creating-a-flow-for-vacuum-cleaner-for-different-rooms/153621/14 "2026-04-22T07:29:41Z")

</div>

Looking pretty good!

Only needs the starting trigger(s) and a yellow line from “room D is yes” to “Terug naar basisstation”.

Great thinking, you really left your original workflow / idea aside for this 👍

---

<div class="post-metadata">

**Author:** ![Autogedrocht](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/autogedrocht/32/103824_2.png) [@Autogedrocht](https://community.homey.app/u/Autogedrocht)\
**Post date:** [April 23, 2026, 9:51am UTC](https://community.homey.app/t/creating-a-flow-for-vacuum-cleaner-for-different-rooms/153621/15 "2026-04-23T09:51:13Z")

</div>

Oh yes, forgot about the yellow line. Ty for that.

I made the flow active, im curious how it works. 👌

---

<div class="post-metadata">

**Author:** ![Ricardo\_Branch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ricardo_branch/32/121273_2.png) [@Ricardo\_Branch](https://community.homey.app/u/Ricardo_Branch)\
**Post date:** [May 1, 2026, 7:54pm UTC](https://community.homey.app/t/creating-a-flow-for-vacuum-cleaner-for-different-rooms/153621/16 "2026-05-01T19:54:30Z")

</div>

I’ve not built this in homey “yet” but I have a switchbot K11+ and I did something kind of neat in the switchbot app (will see if this is possible in Homey later!). I placed NFC tags near the doors to various rooms around the house. I created scenes where I tap my phone on the NFC tag and my K11+ goes over and cleans just that room. I have a schedule setup where it does the common areas 3 times a week.

---

<div class="post-metadata">

**Author:** ![Autogedrocht](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/autogedrocht/32/103824_2.png) [@Autogedrocht](https://community.homey.app/u/Autogedrocht)\
**Post date:** [May 23, 2026, 12:56pm UTC](https://community.homey.app/t/creating-a-flow-for-vacuum-cleaner-for-different-rooms/153621/17 "2026-05-23T12:56:00Z")

</div>

Sadly it didnt work. 🤨

I guess he didnt understand when a job is finished. It only did the first task and didnt continue.

I got back tot the option as @Wim_Post did. But i used logic for room ID’s to make the flow easier to create.

 ![flow](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/c/3c555754dba9f1270970ce0a9e4a592435bd72cc.jpeg)
