homebridge-weather-station-extended
This is a weather station plugin for homebridge that features current observations, daily forecasts and history graphs. You can download it via npm.
If you update from a version before 1.2.0 and want to see the history graphs, you have to remove and reinstall the eve app. Your devices and rules will remain unchanged.
Feel free to leave any feedback here.
Current Observations
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
Forecast
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
History
With the eve app you can view the history for
- Temperature
- Air Pressure
- Relative Humidity
Installation
- 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.
Configuration
Add the following information to your config file. Make sure to add your API key and provide your city or postal code in the location field.
Simple
"platforms":
Advanced
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":
Example use cases
- 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.
Screenshots
(c) Screenshots are taken from the Elgato Eve app
Contributors
Many thanks go to
- Kevin Harwood for his original homebridge-weather-station
- Clark Endrizzi for his wundergroundnode library
- simont77 for his fakegato-history library
- GatoPharaoh for his interval option pull request
This plugin is a fork of homebridge-weather-station which is no longer being developed. That one is a fork of homebridge-wunderground.