avee87 ff96605647
Add twice-daily forecast to MetOffice documentation (#39153)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2025-05-26 16:56:29 +02:00

1.9 KiB

title, description, ha_category, ha_release, ha_iot_class, ha_codeowners, ha_domain, ha_config_flow, ha_platforms, ha_integration_type
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 Met Office weather {% term integration %} 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

{% 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 (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.