Hello !
I just setup a pressure sensor on my orange pi (with the plan to make it work with weewx in the future).
My sensor is a MS5611, it reports absolute pressure, so some calculation have to be done to get the barometer value.
I try to check if I can do it by myself or if I shall rely on weewx calculation for that.
Here is what I found so far:
it is stated here that barometer depends also on Temp, Temp 12h ago and even humidity.
- weewx code: if I understood correctly the content of formulas code, it's more simple. only use current temp, I didnt see temp -12h or humidity.
- I found a documennt on the web that explain how davis station calculate barometer (this time with temp, temp -12h and humidity)
- I tried to find how official weather organisation (like meteofrance for my country) calculate barometer, but no success til now.
- on some forum I found a simple formula using only altitude ( baro = pressure + 1mbar/8.36meter )
The MS5611 is a very accurate sensor, it can reach +/-1.5mbar accuracy (max value, at 25°C which is pretty true if used inside house).
So I would like to use the much accurate algorythm possible "at home".
1st step could be to use weewx formula but then ?
I wonder if the davis formula is really much better (as I was not able to confirm with any "official" weather organisation) or if some other algorythm could be more reliable ?
if possible I would like to make the calculation on my sensor side, so I can deliver the value to other than weewx ( in case I want to build my own TFT display one day).
PS: it's slightly confusing that the wiki talk about temp -12h and humidity while it's not used in weewx, (still If I understood correctly) , it may worth to display the weewx formula in the wiki
Best regards,