RTCGQ11LM does not expose illuminance_lux
See original GitHub issueI might be mistaken, but if I look at the RTCGQ11LM_illuminance
converter in fromZigbee.js
, I’d say it actually exposes illuminance_lux
(meaning a value exposed in lux and not a “raw measured value”).
Note that there is a comment in there as well:
// DEPRECATED: only return lux here (change illuminance_lux -> illuminance)
Currently the exposes information mentions the following in the device definition:
exposes: [e.battery(), e.occupancy(), e.illuminance().withUnit('lx')],
I think this should be:
exposes: [e.battery(), e.occupancy(), e.illuminance_lux()],
Or perhaps the following if illuminance_lux
is considered deprecated:
exposes: [e.battery(), e.occupancy(), e.illuminance_lux().withProperty('illuminance')],
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Xiaomi RTCGQ11LM control via MQTT - Zigbee2MQTT
Integrate your Xiaomi RTCGQ11LM via Zigbee2MQTT with whatever smart home infrastructure you are using without the vendor's bridge or gateway.
Read more >Xiaomi Aqara motion sensor illumination value doesn't update ...
It looks like there are some cases when it updates the luminosity even if there is no motion detected. Big change in the...
Read more >aqara motion sensor p1 home assistant - Dabasdati.lv
Previous Aqara Motion Sensor RTCGQ11LM shows illuminance/lux in Home ... Initial reports are the Aqara P1 contact sensors don't play nice with non-aqara ......
Read more >HomeKit Controller not exposing LUX sensor for Aqara devices
Hi,. I would like to use the illuminance sensor value of my Aqara Motion Sensor P1 device in Home Assistant. The HomeKit Controller ......
Read more >Experiences with Aqara RTCGQ11LM Motion Sensors?
The Aqara sensor exposes the Light level values. WIM... Look like the Aqara is not being added to HS3 100% correctly - see...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Good, #1994 is a bit of a workaround but acceptable for now. Assuming this can be closed.
Currently I base most of the mappings on the provided the
type
andname
(and the presence of certainfeatures
in some cases). I might add a check onunit
as well in cases where it is currently provided.