Met Office

The Met Office weather integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] uses the Met Office’s DataHub API for weather data.

Prerequisites

  1. Register for a Met Office DataHub account.
  2. After registration, subscribe to Site Specific Global Spot dataset to obtain your API key. Free tier subscription gives 360 calls per day, which is enough for using this integration

Configuration

To add the Met Office integration to your Home Assistant instance, use this My button:

Manual configuration steps

If the above My button doesn’t work, you can also perform the following steps manually:

  • Browse to your Home Assistant instance.

  • Go to Settings > Devices & Services.

  • In the bottom right corner, select the Add Integration button.

  • From the list, select Met Office.

  • Follow the instructions on screen to complete the setup.

Entities

This integration creates a number of weather entities for each entry created in the configuration by location: one weather entity with a summary and a forecast (daily, hourly, and twice-daily), and sensor entities for individual reporting on each of the individual measurements. Note that only some of the sensor entities flagged below are enabled by default, so your system isn’t overrun on initial configuration.

The available sensor entities:

  • “feels like” temperature
  • humidity
  • probability of precipitation
  • station name
  • temperature
  • UV index
  • visibility
  • weather
  • wind direction
  • wind gust
  • wind speed

Only probability of precipitation, temperature, weather and wind speed are enabled by default.

Details about the API are available in the DataHub API documentation. The datapoint-python library is used to retrieve data.