jvmahon / Homebridge-HomeSeer4

Homebridge Plugin for HomeSeer 3 and 4
28 stars 8 forks source link

Possible to change decimals on Lightsensor? #141

Closed malosaa closed 3 years ago

malosaa commented 3 years ago

Hi,

Right now on homeseer i have an device that checks the power consumption. i added it as an lightsensor device, sadly it shows 15 decimals. Is there a way to change that?

regards

jvmahon commented 3 years ago

Update to version 1.0.18 - it should now round to 2 decimals.

malosaa commented 3 years ago

i just see your message, thank you ill try it.

regards

malosaa commented 3 years ago

@jvmahon

I did update but still low value like 1 shows as 0.0001 the rest works perfect. regards

jvmahon commented 3 years ago

Hi,

0.0001 is the minimum value in HomeKit for a light sensor. I guess they are saying you can never have absolute darkness!

See following table from the HomeKit standard. image