leoherzog / WundergroundStationForwarder

🌦️ Google Apps Script code to send your weather station data to Wunderground, Windy, PWSWeather, Weathercloud, OpenWeatherMap, WindGuru, Met (UK) WOW, and/or CWOP
55 stars 9 forks source link
acurite apps-script cwop google-apps-script myacurite noaa openweathermap pws pws-weather pws-weather-data pwsweather tempest weather weathercloud weatherflow weatherlink windguru windy wunderground wunderground-pws

Station Forwarder

This code is built to be hosted on the free Google Apps Script platform. It takes in weather station data from:

and periodically sends it on to

Setup

  1. Create a new Google Apps Script project and give it a name
  2. Overwrite the default Code.gs file with code.gs from the latest release in this repository
  3. Configure the script for you:
  1. Run the "Schedule" function (not the "doPost" function) by selecting "Schedule" in the dropdown and pressing the ▷ Run button in the toolbar. You're done! You can see it periodically running in the ☰▶ Executions tab on the left sidebar. This code is executed on Google's servers and does not require a computer to remain on.

If you ever make changes to the API keys or enabled services, just run the Schedule function again.

How to Update

  1. Copy the code from code.gs in this release over your Code.gs file.
  2. Make sure your API Keys and settings at the top of the file are correct and 💾 Save.
  3. Run the Schedule function again with the ▷ Run button in the toolbar.

License

Feel free to take a look at the source and adapt as you please. This source is licensed as follows:

Creative Commons License

Station Forwarder is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Buy Me A Tea

Found this helpful? Buy me a tea!