Monthly Archives: December 2018

Homebridge & Retiring the WUnderground API

With the retirement of the Weather Underground API, I needed to make some changes to my homebridge configuration.

I’ve been using the homebridge-weather-station-extended module to show the outside weather, but that seems to be abandoned, and only offers support for the Weather Underground API. As an alternative, I found the homebridge-weather-plus module. homebridge-weather-plus supports the Dark Sky API, the OpenWeatherMap API, and the Yahoo weather API, in addition to the Weather Underground.

In the end, the configuration was dead simple, per the project’s readme. I added this to my config.json, replacing the XXXs with my API key, and the lat and long with appropriate values:

"platforms": [
    {
        "platform": "WeatherPlus",
        "name": "WeatherPlus",
        "service": "darksky",
        "key": "XXXXXXXXXXXXXXXX",
        "locationGeo": [lat, long],
        "language": "en",
        "units": "imperial",
        "forecast": [1,2,3,4,5,6,7]
    }
]

And with that, I have weather forecasts available to me in the home app again:

Screen capture from macOS Home app