🌦️ Google Apps Script code to send your weather station data to Wunderground, Windy, PWSWeather, Weathercloud, OpenWeatherMap, WindGuru, Met (UK) WOW, and/or CWOP
Thanks for sharing this script, it is really useful!
I started uploading to pwsweather.com, but it just worked for 12 hours of the day... The problem is that the station wasn't sending time in a 24-hour format. And, occasionally, sent an old date stamp. From the server logs, the timestamp goes from 12 back to 01.
Hello @leoherzog!
Thanks for sharing this script, it is really useful!
I started uploading to pwsweather.com, but it just worked for 12 hours of the day... The problem is that the station wasn't sending time in a 24-hour format. And, occasionally, sent an old date stamp. From the server logs, the timestamp goes from 12 back to 01.
Solution: in code.gs, line 88 https://github.com/leoherzog/WundergroundStationForwarder/blob/4412dda09c165aac73a3f260e0a334ef8d73487b/code.gs#L88 change the time format, replacing "hh" (lowercase) by "HH" (uppercase).
It worked for me.
Cheers.