You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Instructions how to setup your Weather platforms with Home Assistant."
5
+
date: 2016-09-28 14:00
6
+
sidebar: true
7
+
comments: false
8
+
sharing: true
9
+
footer: true
10
+
---
11
+
12
+
The `weather` platforms are gathering meteorological information from web services and displays the conditions and other details about the weather at the given location.
13
+
14
+
Home Assistant currently supports free web services and such which requires a registration. Please check the sidebar for a full list of supported `weather` platforms.
description: "Instructions how to integrate OpenWeatherMap within Home Assistant."
5
+
date: 2016-09-29 09:00
6
+
sidebar: true
7
+
comments: false
8
+
sharing: true
9
+
footer: true
10
+
logo: openweathermap.png
11
+
ha_category: Weather
12
+
ha_release: 0.32
13
+
---
14
+
15
+
The `openweathermap` weather platform uses [OpenWeatherMap](http://openweathermap.org/) as an source for current meteorological data for your location.
16
+
17
+
You need an API key which is free but requires a [registration](http://home.openweathermap.org/users/sign_up).
18
+
19
+
To add OpenWeatherMap to your installation, add the following to your `configuration.yaml` file:
20
+
21
+
```yaml
22
+
# Example configuration.yaml entry
23
+
weather:
24
+
- platform: openweathermap
25
+
api_key: YOUR_API_KEY
26
+
latitude: 46.1234
27
+
longitude: 7.1234
28
+
```
29
+
30
+
Configuration variables:
31
+
32
+
- **api_key** (*Required*): Your API key for http://openweathermap.org/.
33
+
- **latitude** (*Optional*): Latitude of the location to display the weather. Defaults to the latitude in your your `configuration.yaml` file.
34
+
- **longitude** (*Optional*): Longitude of the location to display the weather. Defaults to the longitude in your `configuration.yaml` file.
35
+
36
+
<p class='note'>
37
+
This platform is an alternative to the [`openweathermap`](/components/sensor.openweathermap/) sensor.
0 commit comments