-
Notifications
You must be signed in to change notification settings - Fork 99
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
Calibration_factor attribute for sensors? #135
Comments
Well the thing with that is that it can get arbitrarily complex. In my experience, most sensors have a constant offset to the real value - especially for temperature and humidity sensors. But you can go all out and make complex formulae that map the sensor value to the "real" value - for example with two fixed points. Also, I don't think it's really possible with the current architecture to achieve an option for all sensor platforms. I would recommend using the |
Yes I agree it can get complex. My training is as a physicist, and if we wanted to be really precise you would characterise the |
From what I know from civil engineering, the temperature in a room depends on height non-linearly, and usually differs for about a 1.5*C / 1m. Moreover, our perception of room temperature is also depends on temperature on different heights, like the temperatures around legs and head. So instead of calibrating each sensor to be precise I’m placing them on different heights and averaging to the abstract room temperature. This adds both precision and redundancy to the setup. I’m planning to release this |
I think the consensus is to close this issue then. Will leave for timebeing to give others a chance to chime in |
Many sensors are reporting measurements of physical factors, e.g. temperature. As noted in the forums, some sensors (e.g. Hue) have a known issue where the sensor values are systematically incorrect. This can be resolved by applying a factor to the sensor value. As this is potentially a common issue, perhaps we should have a
calibration_factor
attribute for sensors, such thatsensor_value = sensor_reading * calibration_factor
?Ref robmarkcole/Hue-sensors-HASS#106
The text was updated successfully, but these errors were encountered: