# Philips HUE return lux

**URL:** https://discourse.nodered.org/t/philips-hue-return-lux/51794
**Category:** General
**Created:** [3 October 2021 07:18 UTC](https://discourse.nodered.org/t/philips-hue-return-lux/51794 "2021-10-03T07:18:33Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Sirhc](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Sirhc](https://discourse.nodered.org/u/Sirhc)
#### Post date: [3 October 2021 07:18 UTC](https://discourse.nodered.org/t/philips-hue-return-lux/51794/1 "2021-10-03T07:18:33Z")

</div>

Hello

I am communicating to my philips HUE sensor via node-red -\> Conbee II. My flow simply uses it to turn a light on the room. It works very well but I only want this thing to trigger the light when its dark (no daylight). I've heard that current lux can be returned by the Hue, but I'm not sure how to get that.

The raw payload for the sensor returns:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/5/0534d481a8795721b9621c4e14c3d9f314e90c21.png)

Does anyone know if its possible to return the lux the HUE senses?

I don't really want to go down the road of inhibiting the sensor during certain times of the day, but will if I have to.

Also FYI I can see it in the conbee II gateway:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/6/a60cc44e25276fa75a174b759460227c9d6a91fc.png)

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [3 October 2021 08:20 UTC](https://discourse.nodered.org/t/philips-hue-return-lux/51794/2 "2021-10-03T08:20:35Z")

</div>

Is it maybe [related to this](https://github.com/dresden-elektronik/deconz-rest-plugin/issues/1559#issuecomment-590332183) ? And I see [another bug report](https://github.com/dresden-elektronik/deconz-rest-plugin/issues/5300) which fixed it after upgrade of the stick.  
Please specify the node-red-contrib-xxx node you are using.

---

<div class="post-metadata">

### Author: ![Sirhc](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Sirhc](https://discourse.nodered.org/u/Sirhc)
#### Post date: [3 October 2021 08:49 UTC](https://discourse.nodered.org/t/philips-hue-return-lux/51794/3 "2021-10-03T08:49:21Z")

</div>

Thanks for the response. I am using the deCONZ node -

Input node is the one parsing the info above from deCONZ.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/2/32aea912e8744b59a30ad118858a9023634d14ba.png)

The ConbeeII is running the latest firmware. I don't think the issue is in the Conbee II or Hue sensor because I can see the info in the deCONZ gateway. It's just not pushing it through to Nodered

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [3 October 2021 08:54 UTC](https://discourse.nodered.org/t/philips-hue-return-lux/51794/4 "2021-10-03T08:54:55Z")

</div>

> I don't think the issue is in the Conbee II or Hue sensor

The node only does rest api requests from deconz, no data from deconz, no data in node-red.

---

<div class="post-metadata">

### Author: ![Sirhc](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Sirhc](https://discourse.nodered.org/u/Sirhc)
#### Post date: [3 October 2021 08:56 UTC](https://discourse.nodered.org/t/philips-hue-return-lux/51794/5 "2021-10-03T08:56:04Z")

</div>

I figured it out, the lux and temperature are under different entities in deconz. Had to pull those ones in and the sensor to get these values from the HUE 🙂

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [2 December 2021 08:56 UTC](https://discourse.nodered.org/t/philips-hue-return-lux/51794/6 "2021-12-02T08:56:29Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
