# Lights on doesnt work

**URL:** <https://community.homey.app/t/lights-on-doesnt-work/108979>\
**Category:** Flows\
**Tags:** homey-pro\
**Created:** [April 28, 2024, 8:28am UTC](https://community.homey.app/t/lights-on-doesnt-work/108979 "2024-04-28T08:28:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Volker\_Genkel](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/volker_genkel/32/79872_2.png) [@Volker\_Genkel](https://community.homey.app/u/Volker_Genkel)\
**Post date:** [April 28, 2024, 8:28am UTC](https://community.homey.app/t/lights-on-doesnt-work/108979/1 "2024-04-28T08:28:14Z")

</div>

Hi, i have an easy Flow, but it dont works. I want that the lights goes on after the sun is down and before grows in the Morning and the motion detector alarm. Without sundown rule, the lights goes on. Where is my mistake?

 ![IMG_9664](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/5/b5ea9bab44f720354e9d1e1848fc921aafd82079.jpeg)

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [April 28, 2024, 8:37am UTC](https://community.homey.app/t/lights-on-doesnt-work/108979/2 "2024-04-28T08:37:50Z")

</div>

The rule “it is between sunset and sunrise” is never true, because you mean the sunrise of the next day. Replace this rule with “it is not between sunrise and sunset”

Die Regel „es ist zwischen Sonnenuntergang und Sonnenaufgang“ ist nie wahr, weil Sie den Sonnenaufgang des nächsten Tages meinen. Ersetzen Sie diese Regel durch „es ist nicht zwischen Sonnenaufgang und Sonnenuntergang“

---

<div class="post-metadata">

**Author:** ![Volker\_Genkel](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/volker_genkel/32/79872_2.png) [@Volker\_Genkel](https://community.homey.app/u/Volker_Genkel)\
**Post date:** [April 28, 2024, 8:39am UTC](https://community.homey.app/t/lights-on-doesnt-work/108979/3 "2024-04-28T08:39:11Z")

</div>

Das ist eine gute Idee. Werde es testen. Danke

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [April 28, 2024, 8:57am UTC](https://community.homey.app/t/lights-on-doesnt-work/108979/4 "2024-04-28T08:57:31Z")

</div>

Missing owner name bug?

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [April 28, 2024, 9:18am UTC](https://community.homey.app/t/lights-on-doesnt-work/108979/5 "2024-04-28T09:18:16Z")

</div>

@Volker_Genkel  
Is this a German topic?

[Multilingual on the Homey community - Why not discuss in different languages on forums?](https://community.homey.app/t/multilingual-on-the-homey-community-why-not-discuss-in-different-languages-on-forums/105951)

Then pls move it to the correct categorie.

---

<div class="post-metadata">

**Author:** ![Volker\_Genkel](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/volker_genkel/32/79872_2.png) [@Volker\_Genkel](https://community.homey.app/u/Volker_Genkel)\
**Post date:** [April 28, 2024, 11:57am UTC](https://community.homey.app/t/lights-on-doesnt-work/108979/6 "2024-04-28T11:57:28Z")

</div>

Hi, no. I want to use multilanguage to get more help. Is this not the correct categorie?

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [April 28, 2024, 12:44pm UTC](https://community.homey.app/t/lights-on-doesnt-work/108979/7 "2024-04-28T12:44:07Z")

</div>

> [@Volker\_Genkel](#):
>
> . I want to use multilanguage

Pls read above Link I Posted, Categories are either English OR German or one of the other Languages …

> [@Volker\_Genkel](#):
>
> Is this not the correct categorie?

Nop, this is English,  
So also @Rmb pls translate your post to English then.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [April 29, 2024, 1:55am UTC](https://community.homey.app/t/lights-on-doesnt-work/108979/8 "2024-04-29T01:55:03Z")

</div>

Hint: add a timeline card in the ELSE part, with f.e. the message “Bad bewegung An, aber es war tag”.  
You then can look up when your flow actions were allowed to fire, and when they were not.

BTW Homey has an internal conditional ‘_And_’ card with “it is daytime”. When you invert it, it turns into “it is nighttime”.  
It follows the actual sunset and sunrise times

> ![Screenshot_20240429-040200_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/b/bbf495afa1abd8af3cd3f89327711d3258e0f7a0.jpeg)
