node package manager

homebridge-wunderground

homebridge-wunderground

Weather Underground plugin for homebridge: https://github.com/nfarina/homebridge

This is a very basic plugin for Nfarina's wonderfull Homebridge project. It will fetch current weather conditions from Weather Underground and provide temperature and humidity information for HomeKit.

You can look at the current weather conditions via HomeKit enabled Apps on your iOS device or even ask Siri for them.

It will get new data every three minutes in order to make sure to keep under the daily limit of weatherunderground.

Tip: You can use the Elgato Eve App if you like to use weather conditions in your automation. You can not use them as a trigger but as second condtion. "When I come home and the temperature is below ... do ..."

Installation

  1. Install homebridge using: npm install -g homebridge
  2. Install this plugin using: npm install -g homebridge-wunderground
  3. Update your configuration file. See the sample below.

All you need now is a developer key for Weather Underground which can be easily created here.

Configuration

Configuration sample:

Add the following information to your config file.
Make sure to add your API key and provice your city or postal code.
 
You can also provide a PWS-ID instead. Just use something like "city":"pws:XYZ1"
Make sure to replace any blanks in your city name by underscores ('_').
 
"accessories": [
   {
     "accessory": "WUNDERGROUND",
     "name": "Weather Underground",
     "device": "WURecklinghausen",
     "key": "xxxxxxxxxxxx",
     "city": "Germany/Recklinghausen"
     }
   ]