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.

Flashing light

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?

Comments

  • mruitermruiter Member
    edited February 2018
    make a countdown indeed. but just start it.

    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 
  • Oke Thanks, 

    The better logic.. thta is where I get wrong I guess.
    So far I have:




  • mruitermruiter Member
    edited February 2018
    you have to go higher then 2. lets say 60 for 60;seconds of blinky
    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
  • Thanks for the help. But that is not going to work for me. No idea where to set up the bolean.

  • cbhcbh Member
    edited February 2018
    What about:
    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.
  • anniewoodanniewood Member
    edited February 2018
    Thanks a lot! This is only right decision that I have found online
Sign In or Register to comment.