Met Office

The metoffice weather platform uses the Met Office’s DataPoint API for weather data.

Getting started

Their website is not as straightforward so check the getting started.

  1. Register for a Met Office account.
  2. After registration and verification of your account, login to retrieve your API key.

配置

要将 Met Office integration 添加到您的 Home Assistant 实例中,请使用此 My 按钮:

手动配置步骤

如果上述 My 按钮不起作用,您也可以手动执行以下步骤:

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, and twelve sensor entities for individual reporting on each of the individual measurements, for both 3-hourly and daily updates (to a grand total of 26 entities available). Note that only one of the two summary entities and the 3-hourly sensor entities flagged below are enabled by default, so your system isn’t overrun on initial configuration. The time supplied for each forecast is the start time for the forecast.

The available sensor entities:

  • “feels like” temperature
  • humidity
  • probability of precipitation
  • station name
  • temperature
  • UV index
  • visibility
  • visibility distance
  • 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 DataPoint API documentation. The DataPoint library is used to retrieve data.