# Light to only activate if blind at a closed position percentage

**URL:** https://community.homey.app/t/light-to-only-activate-if-blind-at-a-closed-position-percentage/134363
**Category:** Flows
**Tags:** advancedflow
**Created:** [April 9, 2025, 4:24pm UTC](https://community.homey.app/t/light-to-only-activate-if-blind-at-a-closed-position-percentage/134363 "2025-04-09T16:24:06Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![J273](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/j273/32/131778_2.png) [@J273](https://community.homey.app/u/J273)
#### Post date: [April 9, 2025, 4:24pm UTC](https://community.homey.app/t/light-to-only-activate-if-blind-at-a-closed-position-percentage/134363/1 "2025-04-09T16:24:07Z")

</div>

In one room i have a light which is activated with a motion sensor depending on the lux of the room. I have the blinds open and close at sunrise and sunset.

Ive created a logic (blind closed yes/no)

In the advanced flow ive created when the sun rises it opens the blind at 100% and sets the variable to YES and when the sun sets it closes the blind to 0% and sets it to NO.

The light i have automated to check the logic if its YES and lux is low it wont activate the light and works great.

Problem i have is if i manually control the blind it doesn’t work as it need the above flow to run.

Is there anyway around this or a better way of doing it?

Thanks

---

<div class="post-metadata">

### Author: ![Wim\_Post](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wim_post/32/56793_2.png) [@Wim\_Post](https://community.homey.app/u/Wim_Post)
#### Post date: [April 9, 2025, 6:29pm UTC](https://community.homey.app/t/light-to-only-activate-if-blind-at-a-closed-position-percentage/134363/2 "2025-04-09T18:29:06Z")

</div>

If I understand correctly you want the light to react on movement when it’s dark in the room.  
The blinds are always closed between sunset and sunrise.  
And sometimes you close the blinds manually and then it’s also dark in the room.

Short: when the position off the blinds is 0 it’s dark in the room and the light should go on when there is movement.

I’m pretty sure there is a tag ‘position’ available for the logic-and-card ‘text/number is exactly number’. For the first field click the tag-symbol and type ‘position’ or the blindsdevice name in the search field.  
If so, the flow could look like this:  
WHEN  
motion detected  
AND  
‘position’ is exactly 0  
THEN  
light on

---

<div class="post-metadata">

### Author: ![J273](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/j273/32/131778_2.png) [@J273](https://community.homey.app/u/J273)
#### Post date: [April 9, 2025, 7:04pm UTC](https://community.homey.app/t/light-to-only-activate-if-blind-at-a-closed-position-percentage/134363/3 "2025-04-09T19:04:46Z")

</div>

Yeah that’s correct. So if someone was to manually open the blind after sunset and the lux is low i don’t want the light to come on when motion is detected in the room.

So if the blinds open 100% the light don’t activate as soon as its been closed 0% the light is able to come on with motion in the room.

---

<div class="post-metadata">

### Author: ![J273](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/j273/32/131778_2.png) [@J273](https://community.homey.app/u/J273)
#### Post date: [April 9, 2025, 7:14pm UTC](https://community.homey.app/t/light-to-only-activate-if-blind-at-a-closed-position-percentage/134363/4 "2025-04-09T19:14:39Z")

</div>

Perfect that works. Thankyou Ive done it so that the logic is greater/less rather than the exact and works even better.

If the blinds are partially open the light dont come on which is what i wanted.

Thanks again
