metoffice weather platform uses the Met Office’s DataPoint API for weather data.
Their website is not as straightforward so check the getting started.
- Register for a Met Office account.
- After registration and verification of your account, login to retrieve your API key.
Adding Met Office to your Home Assistant instance can be done via the user interface, by using this My button:
If the above My button doesn’t work, you can also perform the following steps manually:
Browse to your Home Assistant instance.
In the sidebar, select Settings.
From the configuration menu, select Devices & Services.
In the bottom right, select the Add Integration button.
From the list, search and select Met Office.
Follow the instructions on screen to complete the setup.
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
- probability of precipitation
- station name
- UV index
- visibility distance
- 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.