mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Update documentation for metoffice to support migration to DataHub API (#35954)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
parent
f93a70e867
commit
ea0facd8a8
@ -16,17 +16,18 @@ ha_platforms:
|
||||
ha_integration_type: integration
|
||||
---
|
||||
|
||||
The `metoffice` weather platform uses the Met Office's [DataPoint API](https://www.metoffice.gov.uk/datapoint) for weather data.
|
||||
## Getting started
|
||||
Their website is not as straightforward so check the [getting started](https://www.metoffice.gov.uk/services/data/datapoint/getting-started).
|
||||
1. Register for a [Met Office account](https://register.metoffice.gov.uk/WaveRegistrationClient/public/register.do?service=datapoint).
|
||||
2. After registration and verification of your account, [login](https://register.metoffice.gov.uk/MyAccountClient/account/view) to retrieve your API key.
|
||||
The **Met Office** weather {% term integration %} uses the Met Office's [DataHub API](https://www.metoffice.gov.uk/services/data/met-office-weather-datahub) for weather data.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
1. Register for a [Met Office DataHub](https://datahub.metoffice.gov.uk/) account.
|
||||
2. After registration, [subscribe](https://datahub.metoffice.gov.uk/profile/subscriptions) to [Site Specific Global Spot](https://datahub.metoffice.gov.uk/pricing/site-specific) 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, 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.
|
||||
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 and hourly), 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:
|
||||
|
||||
@ -37,7 +38,6 @@ The available sensor entities:
|
||||
- temperature
|
||||
- UV index
|
||||
- visibility
|
||||
- visibility distance
|
||||
- weather
|
||||
- wind direction
|
||||
- wind gust
|
||||
@ -45,4 +45,4 @@ The available sensor entities:
|
||||
|
||||
Only probability of precipitation, temperature, weather and wind speed are enabled by default.
|
||||
|
||||
Details about the API are available in the [DataPoint API documentation](https://www.metoffice.gov.uk/services/data/datapoint/api-reference). The [DataPoint](https://github.com/EJEP/datapoint-python) library is used to retrieve data.
|
||||
Details about the API are available in the [DataHub API documentation](https://datahub.metoffice.gov.uk/docs/f/category/site-specific/overview). The [datapoint-python](https://github.com/EJEP/datapoint-python) library is used to retrieve data.
|
||||
|
Loading…
x
Reference in New Issue
Block a user