# Need help creating a flow: Blinds (Somfy Tahoma) should go up if a certain brightness is reached (Data source hue motion sensor) but not before 8:00 am

**URL:** <https://community.homey.app/t/need-help-creating-a-flow-blinds-somfy-tahoma-should-go-up-if-a-certain-brightness-is-reached-data-source-hue-motion-sensor-but-not-before-8-00-am/67079>\
**Category:** Flows\
**Tags:** flow, homey-pro\
**Created:** [August 8, 2022, 4:37pm UTC](https://community.homey.app/t/need-help-creating-a-flow-blinds-somfy-tahoma-should-go-up-if-a-certain-brightness-is-reached-data-source-hue-motion-sensor-but-not-before-8-00-am/67079 "2022-08-08T16:37:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Felix\_Brandt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/felix_brandt/32/34813_2.png) [@Felix\_Brandt](https://community.homey.app/u/Felix_Brandt)\
**Post date:** [August 8, 2022, 4:37pm UTC](https://community.homey.app/t/need-help-creating-a-flow-blinds-somfy-tahoma-should-go-up-if-a-certain-brightness-is-reached-data-source-hue-motion-sensor-but-not-before-8-00-am/67079/1 "2022-08-08T16:37:23Z")

</div>

I am trying to create a flow with the above mentioned criteria. But it is not triggered.  
What I tried:

IF Motion sensor brightness \> 60 lux  
AND the time ist later than 8:00  
SET the position to 100% (which is completely open)

I think it does not trigger because it might only trigger on that moment, where the brightness crosses the “60 lux line” and if that is the case before 8:00 there is no triggering.

Does anyone have an idea on that topic. Would appreciate any help.

Kind regards!

---

<div class="post-metadata">

**Author:** ![Torbjorn\_Melbye](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torbjorn_melbye/32/18194_2.png) [@Torbjorn\_Melbye](https://community.homey.app/u/Torbjorn_Melbye)\
**Post date:** [August 8, 2022, 6:34pm UTC](https://community.homey.app/t/need-help-creating-a-flow-blinds-somfy-tahoma-should-go-up-if-a-certain-brightness-is-reached-data-source-hue-motion-sensor-but-not-before-8-00-am/67079/2 "2022-08-08T18:34:48Z")

</div>

Try (of you can)

IF - Brightness changes  
AND - (Logic) Brightness is higher than 60  
AND - Time is after 8am  
THEN - Set position

---

<div class="post-metadata">

**Author:** ![Felix\_Brandt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/felix_brandt/32/34813_2.png) [@Felix\_Brandt](https://community.homey.app/u/Felix_Brandt)\
**Post date:** [August 8, 2022, 7:02pm UTC](https://community.homey.app/t/need-help-creating-a-flow-blinds-somfy-tahoma-should-go-up-if-a-certain-brightness-is-reached-data-source-hue-motion-sensor-but-not-before-8-00-am/67079/3 "2022-08-08T19:02:18Z")

</div>

That sound logic to me. Just modified the flow and will give it a new tomorrow. Will give you a reply after that. Thank you very much for taking your time!!!

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [August 9, 2022, 5:18am UTC](https://community.homey.app/t/need-help-creating-a-flow-blinds-somfy-tahoma-should-go-up-if-a-certain-brightness-is-reached-data-source-hue-motion-sensor-but-not-before-8-00-am/67079/4 "2022-08-09T05:18:53Z")

</div>

The problem with your flow is, if the brightness rises higher than 60 lx _ **before** _ 8:00 o’clock in the morning, then the flow will not be triggered. It will work in wintertime, because the sunrise will be later than 8:00 o’clock, but not in summertime.  
So the right way is Torbjorns flow. Every time the brightness changes it is checked if the brightness is above 60 lx and is after 8:00 o’clock.

---

<div class="post-metadata">

**Author:** ![Felix\_Brandt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/felix_brandt/32/34813_2.png) [@Felix\_Brandt](https://community.homey.app/u/Felix_Brandt)\
**Post date:** [August 9, 2022, 7:24am UTC](https://community.homey.app/t/need-help-creating-a-flow-blinds-somfy-tahoma-should-go-up-if-a-certain-brightness-is-reached-data-source-hue-motion-sensor-but-not-before-8-00-am/67079/5 "2022-08-09T07:24:11Z")

</div>

Hey to the both of you. This worked out. I was also thanking that the problem is the one mentioned by you but was not able to figure out a solution.  
But this morning it worked with your solution. Thanx again for your help!!!

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [August 9, 2022, 8:53am UTC](https://community.homey.app/t/need-help-creating-a-flow-blinds-somfy-tahoma-should-go-up-if-a-certain-brightness-is-reached-data-source-hue-motion-sensor-but-not-before-8-00-am/67079/6 "2022-08-09T08:53:52Z")

</div>

The solution was from Torbjorn, I just explained it a bit more. 😉

---

<div class="post-metadata">

**Author:** ![Felix\_Brandt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/felix_brandt/32/34813_2.png) [@Felix\_Brandt](https://community.homey.app/u/Felix_Brandt)\
**Post date:** [August 9, 2022, 9:44am UTC](https://community.homey.app/t/need-help-creating-a-flow-blinds-somfy-tahoma-should-go-up-if-a-certain-brightness-is-reached-data-source-hue-motion-sensor-but-not-before-8-00-am/67079/7 "2022-08-09T09:44:16Z")

</div>

Fixed that 😉  
I was not aware that only one reply could bei marked as “solution”. Thanx anyways for your kindness!
