-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Homekit] Detected value out of range for light sensor #9722
Comments
interesting. for some reason the default min value defined by apple is 0.0001. |
I got the same error with several lightsensors, but for me HomeKit is showing 0 Lux in preview and 0,0001 Lux in detailed view. |
probably the easiest option right now is to disable logging.
this will stop logging for that class and logic will replace 0,0 with 0, 0001 |
Ok, I changed my log level to error and now the warning will not be shown anymore. Good idea, thank you. Now my log looks way cleaner :) By the way, you got a typo. The command is |
@yfre
Any idea what causes the warning to be shown? |
For me this is also appearing in the log immediately after all restarts of OH3. And the item with the Homekit light sensor is not the same as the item attached to the thing with the physical sensor. There is rule in between which prevents a value of 0 to hit the Homekit item. |
@diRk262 @EjvindHald
however, it will also hide all other min/max warrning |
Same here ... useless messages on startup .... this time for Thermostat ...
After the knx addon finally delivered values - these messages go away.
NULL values apparently are used as "0.0" by the homekit addon. |
In the evening it is completely dark outside my house, and my light sensor therefore correctly registers a light level of 0 lux.
Expected behaviour
I would then expect that 0 lux could be sent to Homekit without problems, because this is normal with a good sensor.
Current Behavior
In the case 0 in in light level from the sensor, this appears in the log:
and my Homekit app shows 1 lux in light level.
Solution
If possible, one solution could be to add custom min and max values. If that is not possible then simply change it to min value as today but without an entry in the log file. This is because it is correct measurement, when it is completely dark.
The text was updated successfully, but these errors were encountered: