Motion detection with on- and off-transitions

Hello readers,

I’ve just started using Homey Pro and I want to make an actitvity flow, combined with transitions and check of the current luminance level.
What I’ve come up with is the following advanced flow:

I was wondering:

  • Am I making it to complex?
  • Would it be better to split the flow in seperate flows? (i.e. check activity, execute transitions, etc)
  • Are there any steps that are wrong/not logical?

I looks like this flow is working for me, with one minor issue: If there has’nt been any activity for 10 minutes and for some reason the light is switched on, it will stay on.
( I think I can make it work, but then I would add a variable, which would make the flow even more complex :slight_smile: )

Thank you for reading this and any recommendations.

Peter

Personally I like to spit

  • makes it more readable
  • Easier to debug (especially when you add simple log cards to every flow)
  • Less risk on entanglements

But hey, if it works…