This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Flashing light
skoni
Member
Installed the Neo Coolcam water flood sensor in the bathroom. Now i would like a flashing light when teh floor gets wet (overflow)
Is there a easy setup for? try some several flows with the countdown timer but it isn't working. In the bathroom is a Fibaro light module present.
Any tips/tricks?
Is there a easy setup for? try some several flows with the countdown timer but it isn't working. In the bathroom is a Fibaro light module present.
Any tips/tricks?
Comments
Make another flow that when countdown time count changes and when the timer is even value turn on light else turn off light.
Also make a when card when countdown is active. else it will never stop even when you cleaned up the mess.
use better logic to see if the countdown value is even or uneven
The better logic.. thta is where I get wrong I guess.
So far I have:
Then the math.js in better logic and use the even formula in there .
so start 60 is even and light on
59 not even so light off
58even ao light on
and so on until 0
Flow A with
WHEN "alarm turned on" THEN "trigger flow B"
Flow B with
WHEN "this flow is triggered"
AND "alarm turned on"
THEN "turn light on" + "turn light off" (with a delay of X seconds) + "trigger flow B" with a delay of X times 2 seconds)
Flow B will then be a feedback loop continuing as long as the alarm is on - initiated by flow A that starts when the alarm turns on.