Skip to content

Commit

Permalink
Add OpenWeatherMap Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
leoherzog authored Jun 8, 2020
1 parent ac7e4ac commit 4412dda
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Wunderground Station Forwarder

This code is built to be hosted on the free [Google Apps Script](https://developers.google.com/apps-script) platform. It takes in weather station data from [the new Wunderground API](https://www.wunderground.com/member/api-keys) and periodically sends it on to [Windy](https://windy.com/), [PWSWeather](https://pwsweather.com/), and/or [Weathercloud](https://weathercloud.com/).
This code is built to be hosted on the free [Google Apps Script](https://developers.google.com/apps-script) platform. It takes in weather station data from [the new Wunderground API](https://www.wunderground.com/member/api-keys) and periodically sends it on to [Windy](https://windy.com/), [PWSWeather](https://pwsweather.com/), [Weathercloud](https://weathercloud.com/), and/or [OpenWeatherMap](https://openweathermap.org/).

## Setup

Expand All @@ -21,13 +21,16 @@ This code is built to be hosted on the free [Google Apps Script](https://develop
- Set Line 15 to `true`
- Set Line 16 to [your Weathercloud ID](https://app.weathercloud.net/devices)
- Set Line 17 to [your Weathercloud API Key](https://app.weathercloud.net/devices)
- If you would like to send data to OpenWeatherMap,
- Set Line 18 to `true`
- Set Line 19 to [your OpenWeatherMap station's `external_id`](https://openweathermap.org/stations#create_station)
- Set Line 20 to [your OpenWeatherMap API Key](https://home.openweathermap.org/api_keys)
4. Run the "Schedule" function with **Run****Run function****Schedule**. You're done!

You can see it running in the Executions menu in **View****Executions**. If you ever make changes to the API keys or enabled services, just run the **Schedule** function again.
You can see it running in the Executions menu by going to **View****Executions**. If you ever make changes to the API keys or enabled services, just run the **Schedule** function again.

Unfortunately, it looks like the new Wunderground API keys have started expiring 6 months after being generated, so you may need to replace the key on Line 7 if that happens.


## License

Feel free to take a look at the source and adapt as you please. This source is licensed as follows:
Expand All @@ -36,4 +39,4 @@ Feel free to take a look at the source and adapt as you please. This source is l

Wunderground Station Forwarder is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/).

<a href="https://www.buymeacoffee.com/leoherzog" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" style="height: 38px !important;width: 160px !important;" ></a>
<a href="https://www.buymeacoffee.com/leoherzog" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" style="height: 38px !important;width: 160px !important;" ></a>

0 comments on commit 4412dda

Please sign in to comment.