Xioami motion sensor Illumination

Hi,

I have a few xioami motion sensors around my house that have been working perfectly for well over a year now. What I would like to be able to do is to use the lux reading in my automations. I have read that the sensors only take a lux reading with motion, but that will be fine as I am sure I could set up an automation that sees motion waits for a second, checks then lux and then turns light on if the lux is below x?

My issue is that I cannot seem to see that the lux reading is showing in my HA setup, here is the info I can see from my sensors:

sensors

Any ideas on how I also pull the lux reading in (that I can see in the xioami app)?

Hello Simmo, I do not have a motion sensor from Xiaomi. Go to the “Developer Tools” and here to “Events”. Is there anything on the right side with “Xiaomi”? If so, enter this at “Start listening” below and see what is displayed. For example, my Aqara button looks like this …

Maybe i could Help…

There are two versions, one with and one without lux sensor. I think it depends on the integration you use but using deconz you will have a sensor.lightlevel_xx

1 Like

Ah, thanks for the information! :+1:

Thanks all, I will see if I can figure it out.

I have both versions and the brightness is regularly read only with the integrated brightness sensor