If you have devices that have extra lux sensor capability (as opposed to standalone lux sensor) exported to HomeKit, how well does it work? Is it stable? If not, does going to Advanced section of HomeKit integration, turning on Show accessory classes and characteristics, and removing Illuminance sensor in the Extras list have any impact?
I added one of my Hue outdoor motion sensors with illuminance enabled and it’s working fine so far. I had them all added via Homebridge before, but had not added any to Homekit yet.
I just checked and it seems to be updating the lux correctly.
I just noticed yesterday that 4 out of 5 of my sensors were showing 0.0001 lux
Checked again today and has "No Response" from everything, restarted the integration and now 1 of 5 sensors is showing 0.0001 lux, the rest seem to be correct.
One is a ZSE11 and the other is a ZSE40, both using custom drivers.
Is the integration doing any sort of math on these values? Just thinking this is possibly some sort of floating point math problem which I think Groovy has the same sorts of issues that Javascript does, unless you use type BigDecimal.
I have noticed some of the "Settings" on device pages will randomly pop to odd decimal values when you click into them, assuming a similar problem with floating point math/conversions.
0.0001 lux is the minimal value that HomeKit accepts for the light level characteristic. No idea why zero is so bad. It's not a rounding error or a conversion issue.
I haven’t noticed this with my Hue sensors. I think the minimum lux I have seen is 1, but not positive. I’ll add the rest of them to the app and see if it breaks anything.
Maybe they meant 0.0001 was the minimal non-zero value that was accepted? Cause you know, the difference between 0.0001 lux and 0.0002 is very critical for me to know. I may need to turn lights off its getting so bright in here.
Just saw this post and checked mine - Fibaro Motion Sensor. It's set for Temperature and illuminance. The temperature reports correctly but there's also a message for the sensor saying 'no response'. When I click on that and then the 'Accessories 2'. it shows No Response for the illuminance