GravityDeficient / RHC-Weatherstation-Listener

0 stars 0 forks source link

Update the Weather Underground pressure calculation #3

Closed Misplon closed 2 years ago

Misplon commented 2 years ago

Hi Shane

Hopefully, my understanding of this service file and the adjustments are correct. The changes seem to be working as expected.

Explanation of Changes:

Weather Underground is expecting our pressure reading in baromin (inHg). pdata.pres is reported in tenths of a mBar. pdata.pres / 10 gets us to mBar * 0.02952999 to convert to inHg.

Thanks

Andrew