OpenWeatherMap Support


The openweathermap platform uses OpenWeatherMap as an source for current meteorological data for your location. The forecast will show you the condition in 3 h.

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:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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.