https://github.com/seanson/weather-au-exporter
Exports Australian weather metrics from OpenWeatherMap
https://github.com/seanson/weather-au-exporter
Last synced: over 1 year ago
JSON representation
Exports Australian weather metrics from OpenWeatherMap
- Host: GitHub
- URL: https://github.com/seanson/weather-au-exporter
- Owner: seanson
- Created: 2021-11-03T22:40:20.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-07-25T21:05:40.000Z (almost 3 years ago)
- Last Synced: 2025-01-13T15:52:22.367Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 115 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# weather-au-exporter
This is a small exporter that pulls data from the [OpenWeatherMap API](https://openweathermap.org/) to provide local temperature information as a Prometheus metric.
This is currently used as part of a [Home Automation System](https://github.com/seanson/2018-pyconau-homekit-python) in order to provide outside temperature information compared to internal house temperature.
It is installable as a Helm chart -- see the [README](./charts/weather-au-exporter) for installation instructions.
## Configuration
This requires the following env vars:
- `LOCATION` - City name in the format required by the [API](https://openweathermap.org/current#name)
- `OWM_API_KEY` - An API key generated in the [OpenWeatherMap Console](https://home.openweathermap.org/api_keys)