Météo-France


The meteo_france integration uses the meteorological data from Météo-France to provide weather forecast for any location in the world with a focus on France. One or more locations can be set via the front end or via the configuration file.

The integration support the following platforms within Home Assistant:

It displays the current weather along with a 5 days forecast and create sensors, including weather alerts and 1 hour rain forecast when available.

Setup the integration

There are two ways to integrate Météo-France in Home Assistant.

Via the frontend (recommended)

Menu: Configuration -> Integrations click the button with + sign and from the list of integrations select Météo-France

Enter your city or French postal code in the form. If more than one city correspond to your search in the Météo-France’s database you will have the possibility to select one in a dropdown list. Click submit, you are done!

Via the configuration file

With this way of configuration you can’t select a specific cities if more than one location is found in the Météo-France database corresponding to your inputs. The integration will take the first one returned by the API.

To add Météo-France to your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry for 2 cities
meteo_france:
  - city: '76000'
  - city: 'Auch'

Configuration Variables

city string Required

French postal code or name of the city.

Weather platform

To be used with the weather Lovelace card to access current condition, today and next four days forecast.

The weather platform can be configured in the frontend to decide if the forecast is given daily (default) or hourly. To change the setting go in Configuration -> Integrations, click on the city name in Météo-France box and click on Options. You can update the Forecast mode by choosing between daily or hourly.

Sensor platforms

All the following sensors will be created :

Entity Description Enabled by default
cloud The current cloud cover in % Yes
freeze_chance Probability of temperature below 0°C in the following hours Yes
next_rain Datetime of the next rain if expected within the next hour (see note below) Yes
precipitation Precipitation cumulation for next 24 hours in mm Yes
pressure The current pressure in hPa No
rain_chance Probability of rain in the following hours Yes
snow_chance Probability of snow for the following hours Yes
temperature The current temperature in °C No
uv The current UV index Yes
weather_alert Weather alert status (see note below) Yes
wind_speed The current wind speed in km/h No

Warning: The probability entities data are not always provided by the API. They are added only if available.

To enable an entity disabled by default, go in Configuration -> Integrations, click on the city name in Météo-France and then the X entities link. You will have the list of the enabled entities. Here click the filter button and select Show disable entities. The disabled entities will be visible in the list, select the one you want to enable and click the Enable Selected button.

About next_rain condition sensor

The 1 hour rain forecast is supported for more than 75 % of metropolitan France.

Rain coverage map

The attributes allow to have a forecast of the rain type by 5 to 10 minutes intervals:

  • forecast_time_ref give a timestamp in ISO format UTC, corresponding to the start of the forecast.
  • 1_hour_forecast is a dictionary to access the type of rain for the next hour for each periods.

“Type of rain” values are given by Météo-France API. Values already noted are:

  • Temps sec
  • Pluie faible
  • Pluie modérée
  • Pluie forte

Example:

forecast_time_ref: '2020-08-20T19:25:00+00:00'
1_hour_forecast:
  0 min: Temps sec
  5 min: Temps sec
  10 min: Temps sec
  15 min: Temps sec
  20 min: Temps sec
  25 min: Pluie faible
  35 min: Pluie faible
  45 min: Pluie modérée
  55 min: Pluie modérée

About weather_alert sensor

The weather alert is available for the metropolitan France and Andorre.

The weather_alert sensor state give the current weather alert status for the department linked to the city. Only one entity by department is created.

The sensor attributes give access to each type of alerts raised by Météo-France.