leoherzog / WundergroundStationForwarder

🌦️ Google Apps Script code to send your weather station data to Wunderground, Windy, PWSWeather, Weathercloud, OpenWeatherMap, WindGuru, and/or CWOP
42 stars 6 forks source link

Wrong unit for weathercloud barometric pressure #7

Closed biuklija closed 2 years ago

biuklija commented 2 years ago

Barometric pressure is not logged for weathercloud.net because the unit is wrong. if (station.imperial.pressure != null) request += '&**baromin**=' + (new Number(station.imperial.pressure).**inhgTohPa**() * 10).toFixedNumber(0); The argument in line 125 should be "bar" instead of "baromin".

leoherzog commented 2 years ago

Ah! Thank you so much! I'll update that now.