This is a weather station plugin for homebridge that features current observations and daily forecasts. You can download it via npm.
If you update from a version before 1.0.0 you have to adapt your config.
Feel free to leave any feedback here.
The following current observation values can be displayed and used in HomeKit rules. Use a 3rd party app like Elgato Eve to see all values, translations and some nice icons.
- Temperature
- Air Pressure
- Relative Humidity
- Rain Last Hour
- Rain All Day
- UV-Index
- Solar Radiation
- Visibility
- Weather Condition
- Weather Condition Category (Sun = 0, Clouds = 1, Rain = 2, Snow = 3)
- Wind Direction
- Wind Speed
- Wind Speed Maximum
- Observation Station
- Observation Time
The plugin also features a daily forecast for today and the next 3 days. The following forecast values can be displayed.
- Temperature
- Temperature Minimum
- Relative Humidity
- Chance Rain
- Rain All Day
- Weather Condition
- Weather Condition Category
- Wind Direction
- Wind Speed
- Wind Speed Maximum
- Install homebridge using:
npm install -g homebridge
- Install this plugin using:
npm install -g homebridge-weather-station-extended
- Gather a free developer key for Weather Underground here.
- Update your configuration file. See the samples below.
Add the following information to your config file. Make sure to add your API key and provide your city or postal code.
"platforms": [
{
"platform": "WeatherStation",
"name": "Weather Station",
"key": "XXXXXXXXXXXXXXX",
"location": "78613"
}
]
The following config contains advanced optional settings that must not be specified.
The parameter interval sets the interval (minutes) in which the weather will be updated from Weather Underground. The default value is 4 minutes, which fits in the maximum of 400 updates per day for free accounts.
The parameter forecast sets which forecasts you want to see. You can set one of these three values: none, today, 3days. The default value is 3days.
You can also use a station from the Personal Weather Station Network to receive weather information. Just enter pws:YOURID in the location parameter.
"platforms": [
{
"platform": "WeatherStation",
"name": "Weather Station",
"interval": "4",
"key": "XXXXXXXXXXXXXXX",
"location": "pws:ICALIFOR123",
"forecast": "3days"
}
]
- Switch on a blue light in the morning when the chance for rain is above 20% today (or white when the forecast condition is snow / yellow when it's sunny).
- Start your automatic garden irrigation in the evening depending on the amount of rain today and the forecast for tomorrow.
Hint: To trigger rules based on time and weather condition you will need a plugin like homebridge-delay-switch. Create a dummy switch that resets after some seconds. Set this switch to on with a timed rule. Then create a condition rule that triggers when the switch goes on depending on weather conditions of your choice.
(c) Screenshot is taken from Elgato Eve app
This plugin is a fork of homebridge-weather-station which is a fork of homebridge-wunderground.