# Zigbee2mqtt: Support for raw brightness from a millimeter sensor

**URL:** <https://community.gladysassistant.com/t/zigbee2mqtt-prise-en-charge-de-la-luminosite-brute-dun-capteur-millimetrique/8606>\
**Category:** Demandes livrées\
**Tags:** zigbee2mqtt\
**Created:** [December 9, 2023, 11:06am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-en-charge-de-la-luminosite-brute-dun-capteur-millimetrique/8606 "2023-12-09T11:06:11Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hizo](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/51bf81/32.png) [@Hizo](https://community.gladysassistant.com/u/Hizo)\
**Post date:** [December 9, 2023, 11:06am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-en-charge-de-la-luminosite-brute-dun-capteur-millimetrique/8606/1 "2023-12-09T11:06:11Z")

</div>

Hello,

I’ve just received the [Tuya ZG-205Z/A control via MQTT | Zigbee2MQTT](https://www.zigbee2mqtt.io/devices/ZG-205Z_A.html#tuya-zg-205z%252Fa)

It is properly recognized by Zigbee2mqtt:  
![image|690x385](upload://pQUU5DlHWyr

---

<div class="post-metadata">

**Author:** ![spenceur](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/spenceur/32/1961_2.png) [@spenceur](https://community.gladysassistant.com/u/spenceur)\
**Post date:** [December 9, 2023, 2:50pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-en-charge-de-la-luminosite-brute-dun-capteur-millimetrique/8606/2 "2023-12-09T14:50:46Z")

</div>

In my opinion, you only need the presence feature; the others are just configuration.  
I already have 3 at home and I only use the presence feature.

---

<div class="post-metadata">

**Author:** ![Hizo](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/51bf81/32.png) [@Hizo](https://community.gladysassistant.com/u/Hizo)\
**Post date:** [December 9, 2023, 3:06pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-en-charge-de-la-luminosite-brute-dun-capteur-millimetrique/8606/3 "2023-12-09T15:06:50Z")

</div>

At least the brightness still needs to be added.

Besides, I don’t mind going through zigbee2mqtt for the config.

---

<div class="post-metadata">

**Author:** ![spenceur](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/spenceur/32/1961_2.png) [@spenceur](https://community.gladysassistant.com/u/spenceur)\
**Post date:** [December 9, 2023, 3:23pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-en-charge-de-la-luminosite-brute-dun-capteur-millimetrique/8606/4 "2023-12-09T15:23:45Z")

</div>

Indeed, brightness is very useful!

However, on my end I do have both of these features 🤔

in the Z2M state tab my illuminance is called illuminance\_lux

can you screenshot the JSON please?

ex :

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/6/6a31b3fc331a8f530f4fdc844f944fef9f559e95.png)

---

<div class="post-metadata">

**Author:** ![Hizo](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/51bf81/32.png) [@Hizo](https://community.gladysassistant.com/u/Hizo)\
**Post date:** [December 9, 2023, 3:37pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-en-charge-de-la-luminosite-brute-dun-capteur-millimetrique/8606/5 "2023-12-09T15:37:52Z")

</div>

Mine is simply illuminance:

```auto
{
    "fading_time": 5,
    "illuminance": 722,
    "indicator": "ON",
    "large_motion_detection_distance": 6,
    "large_motion_detection_sensitivity": 6,
    "linkquality": 114,
    "medium_motion_detection_distance": 4,
    "medium_motion_detection_sensitivity": 8,
    "motion_state": "large",
    "presence": true,
    "small_detection_distance": 4,
    "small_detection_sensitivity": 8
}

```

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [December 9, 2023, 4:32pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-en-charge-de-la-luminosite-brute-dun-capteur-millimetrique/8606/6 "2023-12-09T16:32:40Z")

</div>

If you want the illuminance report, I can add it.

---

<div class="post-metadata">

**Author:** ![AlexTrovato](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/alextrovato/32/10705_2.png) [@AlexTrovato](https://community.gladysassistant.com/u/AlexTrovato)\
**Post date:** [December 9, 2023, 4:46pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-en-charge-de-la-luminosite-brute-dun-capteur-millimetrique/8606/7 "2023-12-09T16:46:07Z")

</div>

Warning, some devices provide both features, illuminance and illmuninance\_lux…

---

<div class="post-metadata">

**Author:** ![Hizo](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/51bf81/32.png) [@Hizo](https://community.gladysassistant.com/u/Hizo)\
**Post date:** [December 9, 2023, 5:02pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-en-charge-de-la-luminosite-brute-dun-capteur-millimetrique/8606/8 "2023-12-09T17:02:14Z")

</div>

and the 2 values are not the same?

---

<div class="post-metadata">

**Author:** ![spenceur](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/spenceur/32/1961_2.png) [@spenceur](https://community.gladysassistant.com/u/spenceur)\
**Post date:** [December 9, 2023, 5:43pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-en-charge-de-la-luminosite-brute-dun-capteur-millimetrique/8606/9 "2023-12-09T17:43:29Z")

</div>

Maybe, but on my side illmuninance\_lux is typed into gladys and not illuminance for @Hizo 🙂  
Is this a new feature?

---

<div class="post-metadata">

**Author:** ![AlexTrovato](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/alextrovato/32/10705_2.png) [@AlexTrovato](https://community.gladysassistant.com/u/AlexTrovato)\
**Post date:** [December 9, 2023, 7:11pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-en-charge-de-la-luminosite-brute-dun-capteur-millimetrique/8606/10 "2023-12-09T19:11:23Z")

</div>

One of the two is in lux units, the other I don’t know. Check on the zigbee2mqtt website.

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [December 9, 2023, 8:23pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-en-charge-de-la-luminosite-brute-dun-capteur-millimetrique/8606/11 "2023-12-09T20:23:48Z")

</div>

The other one is the raw value  
![image|690x

---

<div class="post-metadata">

**Author:** ![Hizo](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/51bf81/32.png) [@Hizo](https://community.gladysassistant.com/u/Hizo)\
**Post date:** [December 10, 2023, 6:17pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-en-charge-de-la-luminosite-brute-dun-capteur-millimetrique/8606/12 "2023-12-10T18:17:20Z")

</div>

In any case, if there’s a way, I want the info to be added even if the unit isn’t specified.

thanks 🙂

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [December 10, 2023, 8:33pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-en-charge-de-la-luminosite-brute-dun-capteur-millimetrique/8606/13 "2023-12-10T20:33:38Z")

</div>

I’ll take a look as soon as I have a bit of time.

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [December 11, 2023, 10:24am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-en-charge-de-la-luminosite-brute-dun-capteur-millimetrique/8606/14 "2023-12-11T10:24:59Z")

</div>

So maybe we should rename the request, since millimeter sensors are handled properly?

---

<div class="post-metadata">

**Author:** ![Hizo](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/51bf81/32.png) [@Hizo](https://community.gladysassistant.com/u/Hizo)\
**Post date:** [December 11, 2023, 1:40pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-en-charge-de-la-luminosite-brute-dun-capteur-millimetrique/8606/15 "2023-12-11T13:40:51Z")

</div>

Support for a millimeter sensor  
=\>  
Support for the raw brightness of a millimeter sensor

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [December 11, 2023, 2:08pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-en-charge-de-la-luminosite-brute-dun-capteur-millimetrique/8606/16 "2023-12-11T14:08:14Z")

</div>

I added Zigbee2mqtt to the title + a Zigbee2mqtt tag

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [June 1, 2026, 12:47pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-en-charge-de-la-luminosite-brute-dun-capteur-millimetrique/8606/17 "2026-06-01T12:47:05Z")

</div>

I’m closing this topic as it seems illuminance is indeed available in Gladys (`illuminance` and `illuminance_lux`)

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [June 1, 2026, 12:47pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-prise-en-charge-de-la-luminosite-brute-dun-capteur-millimetrique/8606/18 "2026-06-01T12:47:08Z")

</div>


