enviroplus-python icon indicating copy to clipboard operation
enviroplus-python copied to clipboard

all_in_one (and combined) needs to recalculate humidity based on compensated temperature

Open doctorkb opened this issue 2 years ago • 2 comments

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.

doctorkb avatar Oct 06 '21 21:10 doctorkb

It’s solved in this code

roscoe81 avatar Oct 06 '21 23:10 roscoe81

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.

doctorkb avatar Oct 07 '21 02:10 doctorkb

I guess you referred to this code:

https://github.com/roscoe81/enviro-monitor/blob/ad8d3cec149dbc115825885bfebbf7fc1eb316cc/Northcliff_AQI_Monitor_Gen.py#L416

sphaero avatar Mar 08 '23 15:03 sphaero