Skip to content

ciejer/metservice-weather

Repository files navigation

MetService New Zealand Weather integration for Home Assistant

View weather data from MetService (NZ), including daily & hourly forecasts, as well as:

  • Current condition
  • Temperature
  • Air pressure & trend
  • Humidity
  • Wind speed
  • Gusts & direction
  • UV index
  • Pollen levels & type
  • Clothes drying times (my reason for creating)
  • Tides

Installation

There are two main ways to install this custom component within your Home Assistant instance.

HACS (recommended)

  1. Install HACS, if you did not already
  2. Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.
  3. Install the MetService New Zealand Weather integration
  4. Restart Home Assistant

Manually

Copy all files in the custom_components/metservice_weather folder to your Home Assistant folder config/custom_components/metservice_weather, then restart Home Assistant.

Getting started

Once installed:

  1. Browse to Configuration->Devices & services
  2. Click + ADD INTEGRATION
  3. Search for MetService New Zealand Weather, then select it
  4. Select your location and any other settings (as required)

Known issues

See here. I tested about 5 locations and all working, but there's some weirdness around different areas.

Future enhancements

Please raise an issue or PR for anything you'd like added, or any bugs (there will be some)!

Credits

Disclaimer

While data is updated every 20 minutes, you should always check the MetService website directly in case of emergency. This integration should never be relied upon for safety of life.