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
There are two main ways to install this custom component within your Home Assistant instance.
- Install HACS, if you did not already
- Install the MetService New Zealand Weather integration
- Restart Home Assistant
Copy all files in the custom_components/metservice_weather folder to your Home Assistant folder config/custom_components/metservice_weather, then restart Home Assistant.
Once installed:
- Browse to Configuration->Devices & services
- Click + ADD INTEGRATION
- Search for MetService New Zealand Weather, then select it
- Select your location and any other settings (as required)
See here. I tested about 5 locations and all working, but there's some weirdness around different areas.
Please raise an issue or PR for anything you'd like added, or any bugs (there will be some)!
- jaydeethree and alexander0042 for their great example to follow for my first HA component
- natekspencer for the installation / config structure
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.