mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-04 18:18:58 +00:00
1.6 KiB
1.6 KiB
layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release, ha_iot_class
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | ha_release | ha_iot_class |
---|---|---|---|---|---|---|---|---|---|---|---|
page | Met Office Sensor | Instructions on how to integrate Met Office weather conditions into Home Assistant. | 2017-03-23 22:00 | true | false | true | true | metoffice.jpg | Weather | 0.42 | Cloud Polling |
The metoffice
sensor platform uses the Met Office's DataPoint API for weather data.
- Each sensor will be given the
device_id
of "Met Office [condition]" - The sensor checks for new data every minute, starting 30 minutes after the timestamp of the most recent data as the data is updated every half-hour.
To add the Met Office weather to your installation you'll need to register for a free api key at the link above and then add the following to your configuration.yaml
file:
# Example configuration.yaml entry
sensor:
- platform: metoffice
api_key: "my-api-key"
monitored_conditions:
- weather
- temperature
- feels_like_temperature
- wind_speed
- wind_direction
- wind_gust
- visibility
- visibility_distance
- uv
- precipitation
- humidity
Your location will be detected from your home latitude
and longitude
settings.
Configuration variables:
- api_key (Required): Your personal API key from the Datapoint website.
This sensor is an alternative to the [`metoffice`](/components/weather.metoffice/) weather platform. The weather platform is easier to configure but less customisable.