I’m needing assistance (very new) to Homey Pro. I built an advanced flow for a bathroom. I have a fan on/off switch, dimmer for the light and motion sensor in the bathroom. When the user walks into the bathroom, I want to turn the lights and fan on. While they are in the bathroom, the motion sensor will keep picking them up and know that the user is still in here. When it detects no more motion because the user left, to start a countdown and turn off the lights and fan after 1 minute.
So far, based on the flow I built below, it seems the lights and fan come on with no issue but at some point, it triggers the fan to randomly turn off or the lights, even with movement.
Let ‘spot 1’ be your lights and ‘spot 2’ your fan.
The motionsensor can detect new movements after 30 seconds and will restart the timer of 5 minutes. So 5 minutes after the last movement the lights turn off and the timer ‘keep fan running’ starts. New movement will stop timer ‘keep fan running’.
I am doing the same flow as well, but a bit complicated and it work as charm.
The only thing is missing is adding another flow to turn on the fan is the motion is active for more than 5 mins and turn it off if countdown ended with no motion is detected… the issue (where i seek help) is how to manage it when another flow is active with regards with humidity level?
This would be my approach/;
Let ‘plafond 1’ be your shower strip.
Plafond 2 is your bathlights
Plafond 3 is your fan.
The time between motionalarm on and motionalarm off is in my case 1 minute.
So after 1 minute it can detect new motion and will restart the timer of 5 minutes.
So when the timer ends there hasn’t been movement for at least 4 minutes.