# Turn off Roborock Dock when charging is finished

**URL:** <https://community.homey.app/t/turn-off-roborock-dock-when-charging-is-finished/108363>\
**Category:** Flows\
**Tags:** advancedflow\
**Created:** [April 16, 2024, 6:15pm UTC](https://community.homey.app/t/turn-off-roborock-dock-when-charging-is-finished/108363 "2024-04-16T18:15:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![simtom](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/simtom/32/103694_2.png) [@simtom](https://community.homey.app/u/simtom)\
**Post date:** [April 16, 2024, 6:15pm UTC](https://community.homey.app/t/turn-off-roborock-dock-when-charging-is-finished/108363/1 "2024-04-16T18:15:16Z")

</div>

I have slightly modified this [flow](https://community.homey.app/t/simple-lights-turning-on-off-based-on-motion/10889) to work with my smart socket and Roborock dock:

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

It’s correct right that with Advanced Flows we can merge the 3 flows from the example (since advanced flows wasn’t a thing yet then)?

Assuming this works, it should turn off the dock when it’s finished charging (in stand-by power usage is around 2-3 W, but only if there hasn’t been a peak above 5 W during 1 hour. This to prevent it from turning off when the robot vacuum is actually cleaning (and away from the dock).

So in logic terms: `WHEN power < 5 W DURING 1h THEN turn off`.

I know there’s a Roborock app available for Homey (which will actually tell when it’s finished charging) but I would have to use another app on my phone which I don’t want to do.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [April 16, 2024, 7:45pm UTC](https://community.homey.app/t/turn-off-roborock-dock-when-charging-is-finished/108363/2 "2024-04-16T19:45:29Z")

</div>

> [@simtom](#):
>
> It’s correct right that with Advanced Flows we can merge the 3 flows from the example (since advanced flows wasn’t a thing yet then)?

Yes, and you’ve done it according your screenshot

> [@simtom](#):
>
> So in logic terms: `WHEN power < 5 W DURING 1h THEN turn off`.

With this card from[Device Capabilities](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287), you can do exactly as you wished for:

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

---

<div class="post-metadata">

**Author:** ![simtom](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/simtom/32/103694_2.png) [@simtom](https://community.homey.app/u/simtom)\
**Post date:** [April 16, 2024, 7:58pm UTC](https://community.homey.app/t/turn-off-roborock-dock-when-charging-is-finished/108363/3 "2024-04-16T19:58:26Z")

</div>

Ha, I had already installed Device Capabilities but hadn’t found a use for it yet. Guess I do now 😉

Thanks for making things even more efficient.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [April 17, 2024, 2:10am UTC](https://community.homey.app/t/turn-off-roborock-dock-when-charging-is-finished/108363/4 "2024-04-17T02:10:41Z")

</div>

YW!  
DC is a very versatile app!  
This particular card should be a standard Homey card imho 😜
