chillibits / particulate-matter-app

Particulate Matter App - Be informed about the particulate matter situation and air quality!
https://chillibits.com/pmapp
MIT License
15 stars 5 forks source link

Altitude correction for air pressure display on own sensors #55

Open tom-r opened 4 years ago

tom-r commented 4 years ago

My own sensor reads and shows e.g. 909.654 hPa as air pressure. As I'm living on 980m above sea level this is unusable, to compare with official pressure readings (it should show something like 1023.9hPa) ... So I kindly ask for an attribute to (manually) input the altitude above sea level (-->980) and a calculated correction of the air pressure.

marcauberer commented 4 years ago

Maybe, we're going to add this feature in the future, indeed thanks for the feature request!

tom-r commented 4 years ago

wiki link for the formula incl. temperature correction:

https://en.wikipedia.org/wiki/Barometric_formula

German version of this wiki is more detailed. The "Deutscher Wetterdienst" (equivalent to NOAA) suggests : barometric_formula

BR, Thomas