# Flow for lights on when motion is detected has stopped working

**URL:** <https://community.homey.app/t/flow-for-lights-on-when-motion-is-detected-has-stopped-working/136408>\
**Category:** Flows\
**Tags:** z-wave, homey-pro\
**Created:** [May 12, 2025, 7:01pm UTC](https://community.homey.app/t/flow-for-lights-on-when-motion-is-detected-has-stopped-working/136408 "2025-05-12T19:01:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![TBrokke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tbrokke/32/122263_2.png) [@TBrokke](https://community.homey.app/u/TBrokke)\
**Post date:** [May 12, 2025, 7:01pm UTC](https://community.homey.app/t/flow-for-lights-on-when-motion-is-detected-has-stopped-working/136408/1 "2025-05-12T19:01:12Z")

</div>

We have a few simple flows that we use to turn the lights in a room on when activity is detected and turn them off again 10 minutes after the last detected activity. Now one of them has stopped working unexpectedly. Lights are neither turned on nor off anymore.

Here’s what I’ve checked:

- The flow is active.
- The sensors (2 x Aeotec Multisensor 6) detect motion and report the correct status in the app.
- The lights (Fibaro Dimmer 2) can be turned on and off both with the physical switch and through the Homey app.
- Nothing has changed in the flow, and it’s identical to the flows in the other rooms with motion triggered lights (and all the others work normally).

I have to say I’m quite stumped and don’t know what else to debug. 🤔

Does anyone have any idea as to what the problem might be?

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [May 12, 2025, 7:04pm UTC](https://community.homey.app/t/flow-for-lights-on-when-motion-is-detected-has-stopped-working/136408/2 "2025-05-12T19:04:47Z")

</div>

[[Tip] Problems with Homey?](https://community.homey.app/t/tip-problems-with-homey/35744)

And Maybe you can share your flow?

---

<div class="post-metadata">

**Author:** ![TBrokke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tbrokke/32/122263_2.png) [@TBrokke](https://community.homey.app/u/TBrokke)\
**Post date:** [May 12, 2025, 7:17pm UTC](https://community.homey.app/t/flow-for-lights-on-when-motion-is-detected-has-stopped-working/136408/3 "2025-05-12T19:17:34Z")

</div>

I’d love to, but I can’t quite figure out how. 😅

It’s an advanced flow, so the “Share” button isn’t there. Where do I go to share it?

EDIT: Ah, pardon. I see now that I must screenshot it. 👍 See the attached image:

 ![img](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/1/01fdb66adc441f194a3cd22c126b04237f20fcb2.png)

---

<div class="post-metadata">

**Author:** ![TBrokke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tbrokke/32/122263_2.png) [@TBrokke](https://community.homey.app/u/TBrokke)\
**Post date:** [May 12, 2025, 7:18pm UTC](https://community.homey.app/t/flow-for-lights-on-when-motion-is-detected-has-stopped-working/136408/4 "2025-05-12T19:18:51Z")

</div>

Oh, and it’s a Homey Pro (Early 2023), version 12.4.4.

---

<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:** [May 12, 2025, 8:04pm UTC](https://community.homey.app/t/flow-for-lights-on-when-motion-is-detected-has-stopped-working/136408/5 "2025-05-12T20:04:25Z")

</div>

“bitrot” maybe… What else can go wrong with this straight forward flow?

Instead of trying to find a cause, I’d like to suggest to build the flow from scratch again, and then delete this non-functional flow.

---

<div class="post-metadata">

**Author:** ![Marius\_Stensrod](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marius_stensrod/32/56540_2.png) [@Marius\_Stensrod](https://community.homey.app/u/Marius_Stensrod)\
**Post date:** [May 12, 2025, 9:31pm UTC](https://community.homey.app/t/flow-for-lights-on-when-motion-is-detected-has-stopped-working/136408/6 "2025-05-12T21:31:51Z")

</div>

All lights on, have you checked that the lights still are in the group “light”. If yes, try to replace the Then card with the actual devices.
