Light to only activate if blind at a closed position percentage

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

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

2 Likes

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.

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

1 Like