# Using lux value of Hue motion sensor in a flow

**URL:** <https://community.homey.app/t/using-lux-value-of-hue-motion-sensor-in-a-flow/50841>\
**Category:** Questions & Help\
**Tags:** flow\
**Created:** [August 26, 2021, 11:38am UTC](https://community.homey.app/t/using-lux-value-of-hue-motion-sensor-in-a-flow/50841 "2021-08-26T11:38:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaulArts](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paularts/32/44123_2.png) [@PaulArts](https://community.homey.app/u/PaulArts)\
**Post date:** [August 26, 2021, 11:38am UTC](https://community.homey.app/t/using-lux-value-of-hue-motion-sensor-in-a-flow/50841/1 "2021-08-26T11:38:53Z")

</div>

Hi,

I’m trying to setup a flow that executes when the lights sensor of my Hue motion sensor reaches a certain lux value. Is that possible? I don’t see that option in the card of the motion sensor…

Thank you!

Paul

---

<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:** [August 26, 2021, 12:24pm UTC](https://community.homey.app/t/using-lux-value-of-hue-motion-sensor-in-a-flow/50841/2 "2021-08-26T12:24:09Z")

</div>

Try using this WHEN card

 ![Screenshot_20210826-142023_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/2/7259987c0fe4aa39f7c13d904d62a251d6bb22bc.jpeg)

and use  
**AND** logics card “value is above” X or “value is below” X  
The tag you have to pick here is “luminance” from te “Local tags”.  
(“Helderheid” = Dutch for “Luminance”)

 ![Screenshot_20210826-142734_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/c/ac79d234900837d883e350af7c3972200e0b911b.jpeg)

Example flow

---

<div class="post-metadata">

**Author:** ![Edwin\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_d/32/136417_2.png) [@Edwin\_D](https://community.homey.app/u/Edwin_D)\
**Post date:** [August 26, 2021, 10:08pm UTC](https://community.homey.app/t/using-lux-value-of-hue-motion-sensor-in-a-flow/50841/3 "2021-08-26T22:08:42Z")

</div>

Or something like this (Ignore the and conditions and the timer I stop, that is for something else). The difference with the previous example is that this one triggers only when the value changes from higher to lower, not also on lower to even lower, and so on.

[https://homey.app/f/sl0w4K](https://homey.app/f/sl0w4K)

---

<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:** [August 26, 2021, 10:18pm UTC](https://community.homey.app/t/using-lux-value-of-hue-motion-sensor-in-a-flow/50841/4 "2021-08-26T22:18:12Z")

</div>

I couldn’t find that option in the Hue sensors’ flow cards Edwin, so that’s why I made an example with the logics condition card 😉.

---

<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 27, 2021, 4:37am UTC](https://community.homey.app/t/using-lux-value-of-hue-motion-sensor-in-a-flow/50841/5 "2021-08-27T04:37:21Z")

</div>

The question is: Which app is @PaulArts using? The Hue app with or without bridge?  
This is why you and Edwin have different flow cards.

---

<div class="post-metadata">

**Author:** ![Edwin\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_d/32/136417_2.png) [@Edwin\_D](https://community.homey.app/u/Edwin_D)\
**Post date:** [August 27, 2021, 8:05pm UTC](https://community.homey.app/t/using-lux-value-of-hue-motion-sensor-in-a-flow/50841/6 "2021-08-27T20:05:58Z")

</div>

It is indeed a Hue sensor, but without the hub in my case. I would be surprised if the other app behaved different, unless it uses non standard capabilities. But this function is added though Homey firmware. Are you running the latest firmware, or an older one?

---

<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:** [August 27, 2021, 11:43pm UTC](https://community.homey.app/t/using-lux-value-of-hue-motion-sensor-in-a-flow/50841/7 "2021-08-27T23:43:18Z")

</div>

I found out the flow cards in the app store (which I used) do not correspond to those in the app itself 🙄 😶.  
_Which.is.no.surprise I.should.have.known another.prank.by.athom_

So it is possible both Hue apps have the “if luminance is greater/smaller than” trigger cards.

Example of Aqara sensor:

- app store  

- app itself (‘helderheid’ means Luminance)

---

<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 28, 2021, 6:56am UTC](https://community.homey.app/t/using-lux-value-of-hue-motion-sensor-in-a-flow/50841/8 "2021-08-28T06:56:01Z")

</div>

That’s the reason why I said, that it depends on the app.  
Before I made my post I looked in the app store at the Philips Hue App I don’t use my own and there was no „Luminance becomes more/less than…“ card. And because I use the Philips hue, without bridge app I know that this card is available. But now I had a look into the app store and this card is also missing by this app.  
So you can’t rely on which cards are shown in the App Store and which cards are actually available in the app.

Sorry @PaulArts, we’re getting off topic. For what you need, you can generally use both Flow versions. I would prefer the flow from Edwin, but that also depends somewhat on what you want to use the flow for.

---

<div class="post-metadata">

**Author:** ![Edwin\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_d/32/136417_2.png) [@Edwin\_D](https://community.homey.app/u/Edwin_D)\
**Post date:** [August 28, 2021, 7:25am UTC](https://community.homey.app/t/using-lux-value-of-hue-motion-sensor-in-a-flow/50841/9 "2021-08-28T07:25:02Z")

</div>

> [@Edwin\_D](#):
>
> added though Homey firmware. Are you running the latest firmware, or an older one?

As I explained above, the new cards are added to default capabilities by Homey firmware. Homey 6.1.0 to be exact. The app store bases the flow cards it shows on the capabilities mentioned in the apps manifest, but I do not know if it also takes into account your current firmware if you’re logged in. I assumed it the latest firmware. Now I see the app store no longer mentiones them for me too, so maybe they decided to pick the lowest common denominator..

But as for what you can actually use, the question remains, what firmware are you on?

There’s not much difference from app to app apart from wether they rely on default cards for capabilities. If the app uses custom capabilities that the firmware does not supply default cards then the developer needs to add them.
