# Kitchen light goes of

**URL:** <https://community.homey.app/t/kitchen-light-goes-of/255>\
**Category:** Questions & Help\
**Created:** [August 23, 2018, 4:41pm UTC](https://community.homey.app/t/kitchen-light-goes-of/255 "2018-08-23T16:41:15Z")\
**Posts on this page:** 16\
**Page:** 2

<div class="post-metadata">

**Author:** ![Joacimbr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joacimbr/32/12491_2.png) [@Joacimbr](https://community.homey.app/u/Joacimbr)\
**Post date:** [December 26, 2018, 11:46am UTC](https://community.homey.app/t/kitchen-light-goes-of/255/21 "2018-12-26T11:46:11Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/8/89931eaf4d6599e84b1b94807fe61592c71b5d8e.jpeg)

---

<div class="post-metadata">

**Author:** ![Toon\_Vos](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@Toon\_Vos](https://community.homey.app/u/Toon_Vos)\
**Post date:** [December 26, 2018, 12:01pm UTC](https://community.homey.app/t/kitchen-light-goes-of/255/22 "2018-12-26T12:01:28Z")

</div>

The flows are correct.  
What is the setting of the motion detector, how long is the alarm active after it detects motion. Especially in the kitchen you could sit still for some time, so I would increase this setting to a good amount of minutes.

I would increase the time of the countdown timer to 60-120 seconds, no need to refire this flow so often in my opinion.

---

<div class="post-metadata">

**Author:** ![Joacimbr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joacimbr/32/12491_2.png) [@Joacimbr](https://community.homey.app/u/Joacimbr)\
**Post date:** [December 26, 2018, 12:19pm UTC](https://community.homey.app/t/kitchen-light-goes-of/255/23 "2018-12-26T12:19:58Z")

</div>

I was just using this timer settings for test-reasons. We dont have a table in the kitchen, so we are only there to “work”.

These are the available settings for the motion detector:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/d/d76d9e2c0c643ea805880c77d1d3493ab94bc42a.png)

But was I correct on how the flow work? Every motion alarm should restart the timer, yes?

---

<div class="post-metadata">

**Author:** ![Toon\_Vos](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@Toon\_Vos](https://community.homey.app/u/Toon_Vos)\
**Post date:** [December 26, 2018, 12:36pm UTC](https://community.homey.app/t/kitchen-light-goes-of/255/24 "2018-12-26T12:36:13Z")

</div>

I am not familiar with this motion sensor. It is one of the 2nd and 3th settings. I would go for at least 5 minutes or 3000 ms of time in which the alarm stays on after motion detection.

The flows look correct.

No not every motion will fire the first flow, as long as the sensor stays in alarm mode it will not fire the first flow. So if you keep moving the sensor will stay in alarm mode and the first flow is not started. In this case the second flow keeps starting after the countdown is finished, checks the sensor for alarm and if not it will stop the light.

---

<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:** [December 27, 2018, 5:24pm UTC](https://community.homey.app/t/kitchen-light-goes-of/255/25 "2018-12-27T17:24:00Z")

</div>

It is:

When motion goes on AND lights are off THEN turn lights on ELSE stop timer  
WHEN motion goes off THEN start timer  
WHEN timer is empty THEN turn of the lights

grtz

---

<div class="post-metadata">

**Author:** ![Toon\_Vos](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@Toon\_Vos](https://community.homey.app/u/Toon_Vos)\
**Post date:** [December 27, 2018, 6:21pm UTC](https://community.homey.app/t/kitchen-light-goes-of/255/26 "2018-12-27T18:21:00Z")

</div>

Deleted to clean discussion

---

<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:** [December 27, 2018, 6:55pm UTC](https://community.homey.app/t/kitchen-light-goes-of/255/27 "2018-12-27T18:55:39Z")

</div>

you are right I forgot the ELSE in the 1st flow

edited that one

---

<div class="post-metadata">

**Author:** ![Storm](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/storm/32/12389_2.png) [@Storm](https://community.homey.app/u/Storm)\
**Post date:** [December 27, 2018, 7:13pm UTC](https://community.homey.app/t/kitchen-light-goes-of/255/28 "2018-12-27T19:13:41Z")

</div>

I’ am feeling a bit stupit but, about what timer are you talking?

---

<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:** [December 27, 2018, 7:16pm UTC](https://community.homey.app/t/kitchen-light-goes-of/255/29 "2018-12-27T19:16:52Z")

</div>

[https://apps.athom.com/app/nl.bevlogenheid.countdown](https://apps.athom.com/app/nl.bevlogenheid.countdown)

---

<div class="post-metadata">

**Author:** ![Toon\_Vos](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@Toon\_Vos](https://community.homey.app/u/Toon_Vos)\
**Post date:** [December 27, 2018, 7:46pm UTC](https://community.homey.app/t/kitchen-light-goes-of/255/30 "2018-12-27T19:46:18Z")

</div>

Now this indeed will also work, but it’s 3 flows instead of 2.  
What would be the advantage of this solution?

---

<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:** [December 27, 2018, 7:46pm UTC](https://community.homey.app/t/kitchen-light-goes-of/255/31 "2018-12-27T19:46:49Z")

</div>

It’s not stupid. Just a matter of not reading the topic from the start but just the last 3 messages. This link is given in the 2nd post of this very topic.

---

<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:** [December 27, 2018, 8:15pm UTC](https://community.homey.app/t/kitchen-light-goes-of/255/32 "2018-12-27T20:15:52Z")

</div>

That not each time when the motion is triggered the lights turn on when they are already on:roll\_eyes:

Is not verry logical.

---

<div class="post-metadata">

**Author:** ![Joacimbr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joacimbr/32/12491_2.png) [@Joacimbr](https://community.homey.app/u/Joacimbr)\
**Post date:** [December 28, 2018, 11:08am UTC](https://community.homey.app/t/kitchen-light-goes-of/255/33 "2018-12-28T11:08:28Z")

</div>

My sensor have no “Motion goes off/on”, its only Motion alarm is on, or its off.So I cant use some of these setups.

But it seems to me that there is nothing that will restart the timer here. The timer has to reach zero before its can be started, and thats only if the motion alarm is on, but what if the motion alarm isnt on at that time exactly?

Is there no way to restart the timer?

---

<div class="post-metadata">

**Author:** ![Joacimbr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joacimbr/32/12491_2.png) [@Joacimbr](https://community.homey.app/u/Joacimbr)\
**Post date:** [December 28, 2018, 11:55am UTC](https://community.homey.app/t/kitchen-light-goes-of/255/35 "2018-12-28T11:55:32Z")

</div>

I dont get that option, I only get this one:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/6/6be89298e3d59e870f103a1adb7ea808afc68939.png)

---

<div class="post-metadata">

**Author:** ![Joacimbr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joacimbr/32/12491_2.png) [@Joacimbr](https://community.homey.app/u/Joacimbr)\
**Post date:** [December 28, 2018, 12:21pm UTC](https://community.homey.app/t/kitchen-light-goes-of/255/37 "2018-12-28T12:21:59Z")

</div>

Yes

---

<div class="post-metadata">

**Author:** ![Joacimbr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joacimbr/32/12491_2.png) [@Joacimbr](https://community.homey.app/u/Joacimbr)\
**Post date:** [December 28, 2018, 5:03pm UTC](https://community.homey.app/t/kitchen-light-goes-of/255/39 "2018-12-28T17:03:30Z")

</div>

Yes, same app… these are the options I get:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/6/6d6902a157e4c2ed0b7b54378fd68fdcb8b3e2f0.jpeg)

[Previous page](https://community.homey.app/t/kitchen-light-goes-of/255.md?page=1)
