2022-08-02 17:36:19 +02:00

2.0 KiB

title description ha_category ha_release ha_iot_class ha_codeowners ha_domain ha_config_flow ha_platforms ha_integration_type
Met Office Instructions on how to integrate Met Office weather conditions into Home Assistant.
Weather
0.42 Cloud Polling
@MrHarcombe
@avee87
metoffice true
sensor
weather
integration

The metoffice weather platform uses the Met Office's DataPoint API for weather data. You can get an API key by registering for a Met Office account. As their website is not as straightforward, after registration and verifying your account you can login here to retrieve your API key.

{% include integrations/config_flow.md %}

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.