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.
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:
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.