enviroplus-python
enviroplus-python copied to clipboard
all_in_one (and combined) needs to recalculate humidity based on compensated temperature
This applies to anything using the relative humidity (RH) and depending on a compensated temperature.
The RH needs to be converted to dewpoint with the raw temperature, then converted back to RH using the compensated temperature. Taking the RH as-is results in a lower-than-accurate humidity.
It’s solved in this code
It’s solved in this code
Yes, and I have my own solution for it also. But it should be in these main libraries' examples, in part because a lot of folks don't understand the relationship between temp and RH.
I guess you referred to this code:
https://github.com/roscoe81/enviro-monitor/blob/ad8d3cec149dbc115825885bfebbf7fc1eb316cc/Northcliff_AQI_Monitor_Gen.py#L416