mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-07 03:28:58 +00:00
1.1 KiB
1.1 KiB
layout, title, description, date, sidebar, comments, sharing, footer
layout | title | description | date | sidebar | comments | sharing | footer |
---|---|---|---|---|---|---|---|
page | OpenWeatherMap support | Instructions how to integrate OpenWeatherMap within Home Assistant. | 2015-04-25 9:06 | false | false | true | true |

You need an API key which is free but requires a registration.
To add OpenWeatherMap to your installation, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
sensor:
platform: openweathermap
api_key: YOUR_API_KEY
forecast: 0 or 1
monitored_conditions:
- weather
- temperature
- wind_speed
- humidity
- pressure
- clouds
- rain
- snow
Details about the API are available in the OpenWeatherMap documentation.