# Else not triggered

**URL:** <https://community.homey.app/t/else-not-triggered/37281>\
**Category:** Questions & Help\
**Created:** [November 12, 2020, 8:50pm UTC](https://community.homey.app/t/else-not-triggered/37281 "2020-11-12T20:50:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wilbert\_van\_den\_Eske](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wilbert_van_den_eske/32/16860_2.png) [@Wilbert\_van\_den\_Eske](https://community.homey.app/u/Wilbert_van_den_Eske)\
**Post date:** [November 12, 2020, 8:50pm UTC](https://community.homey.app/t/else-not-triggered/37281/1 "2020-11-12T20:50:25Z")

</div>

Hi, I have multiple new flows where the  
“else” is not triggered if the"and" condition fails. What am I doing wrong, it is a very simpele flow.

See the video: [https://streamable.com/9g741e](https://streamable.com/9g741e)

I have tried other “else” cards. But “else” never triggers.

The flow should do the following:  
When lights go on, a timer is set.  
If the timer is done check if there is still movement. If so, turn lights off, else, set a new timer to check again in X minutes.

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [November 12, 2020, 8:59pm UTC](https://community.homey.app/t/else-not-triggered/37281/2 "2020-11-12T20:59:57Z")

</div>

Besides the else not triggering ur flows are not correct.  
Best start a timer when motion went off.  
Someone made [a nice topic](https://community.homey.app/t/simple-lights-turning-on-off-based-on-motion/10889) about it alr.  
When timer is empty ur motion sensor is alr off, otherwise it should have triggered a renew of the timer so a check in the AND part is not needed.

---

<div class="post-metadata">

**Author:** ![Wilbert\_van\_den\_Eske](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wilbert_van_den_eske/32/16860_2.png) [@Wilbert\_van\_den\_Eske](https://community.homey.app/u/Wilbert_van_den_Eske)\
**Post date:** [November 12, 2020, 9:06pm UTC](https://community.homey.app/t/else-not-triggered/37281/3 "2020-11-12T21:06:48Z")

</div>

Hmm that’s another idea.  
But I still wonder, why is the “else” not triggering?

---

<div class="post-metadata">

**Author:** ![Edwin\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_d/32/136417_2.png) [@Edwin\_D](https://community.homey.app/u/Edwin_D)\
**Post date:** [November 12, 2020, 10:12pm UTC](https://community.homey.app/t/else-not-triggered/37281/4 "2020-11-12T22:12:53Z")

</div>

Hard to tell if the else is really not triggered from your example. Have you tried putting a (different) notification before and after the else to see what really happens?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [November 13, 2020, 6:47am UTC](https://community.homey.app/t/else-not-triggered/37281/5 "2020-11-13T06:47:21Z")

</div>

That red triangle you get suggests an error, not that the AND condition failed. In that case, you get to see a stop sign:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/1/a14d37e910a6f248841c24a971300b51a4605a2d.png)

In the [flow web editor](https://flow.homey.app/) you may get more information on why the error occurred (either as a “pop up” or when you hover the mouse pointer over the red triangle, not sure which).

---

<div class="post-metadata">

**Author:** ![seiko](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/seiko/32/10963_2.png) [@seiko](https://community.homey.app/u/seiko)\
**Post date:** [November 14, 2020, 2:49pm UTC](https://community.homey.app/t/else-not-triggered/37281/6 "2020-11-14T14:49:51Z")

</div>

Does your counter start when movement starts or when movement ends?

---

<div class="post-metadata">

**Author:** ![Jan\_Willem\_Visser](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_willem_visser/32/10747_2.png) [@Jan\_Willem\_Visser](https://community.homey.app/u/Jan_Willem_Visser)\
**Post date:** [November 15, 2020, 8:35am UTC](https://community.homey.app/t/else-not-triggered/37281/7 "2020-11-15T08:35:05Z")

</div>

As Robert says, the problem is the logic card. Check the variable “Bewegingsalarm” something whent whrong with that variable
