TinkerWorks / HomeSensorHub

GNU General Public License v3.0
3 stars 2 forks source link

Get correct altitude. #9

Open BabyCakes13 opened 4 years ago

BabyCakes13 commented 4 years ago

Altitude is measured in meters. :) Also, might be better to calculate the other way around: specify altitude as a setting for the sensor, and calculate pressure at sea-level, not just local pressure, to be able to compare with weather station values.

Originally posted by @alex-sever-h in https://github.com/alex-sever-h/HomeSensorHub/pull/8

alex-sever-h commented 4 years ago

Actually, we should eliminate entirely altitude as an output.

Altitude should be given as an input through MQTT (or other channels). Then it can be used in the opposite way, to calculate sea-level normalized pressure.