homebridge-mi-aqara
homebridge-mi-aqara copied to clipboard
Aqara Motion Sensor show 0.0001 Lux all the time.
Anyone knows why this happens?
check log with debug mode run. make sure new lux value package is come over.
@YinHangCode How i can i do that? is it hard?
same problem
so the problem is when ambient light getCurrentValue
is triggered there can be different types of events in input. like in a first place its lux and in second is motion. and if there is motion in input the value is null and default value is 0.0001. I managed to fix this by setting default value to current ambient light value @YinHangCode
@nikolaevigor how can i add this fix to my config? :)
@malmentm I fixed it not via config. I modified source code so default value passed to handler is the current value.
@nikolaevigor maybe @YinHangCode can inplement this in a feature version? :)
Is this updated @YinHangCode
Hi there, Having the same issue. @nikolaevigor Could you let us know what you changed in the source code? @YinHangCode Could you please update to fix this issue?
Having the same issue. I wanted to use the sensor to trigger the lights if motion is detected and it's dark.
The same as me. Hope to fix it, thank you.