homebridge-weather-plus
homebridge-weather-plus copied to clipboard
Rain gauge information from Wunderground
Thanks for the excellent plugin. Is the rain gauge feature of PWS supported in the Wunderground plugin? Otherwise, is it supported in OpenWeatherMap?
I cannot add new features to the wunderground service, because I cant access the api without owning a pws. I will add the rain gauge feature to owm in the next version: #111
I can give you access to mine... is there a way to pm?
I want to be able to use triggers or conditions to water or not water based on current and/or previous day(s) precipitation. One thought:
- accumulate days = 0 none only current, 1-7 save the precipitation for each day on the pi if the api does not give you access. When current precipitation > api returned precipitation assume a change in day. You could add current precipitation > api AND 23:40:00 has passed since last recorded day
- Threshold = x mm or inches;
- OnToOff = true; Default is off to on
Added rain information to OWM in latest beta. You can install the beta with:
npm install -g homebridge-weather-plus@beta
You can have two stations in the plugin (one for your PWS and one for OWM). See: https://github.com/naofireblade/homebridge-weather-plus#multiple-stations-configuration
Im trying to do the same thing. When I add the OWM station, it never shows up in home app. The WU station does. No errors in the log.
{ "units": "us", "interval": 5, "stations": [ { "nameNow": "WU Data", "service": "weatherunderground", "key": "REDACTED", "stationId": "REDACTED", "language": "en", "compatibility": "home", "conditionCategory": "simple", "now": true, "extraHumidity": false }, { "nameForecast": "Open Weather", "service": "openweathermap", "key": "REDACTED", "locationCity": "REDACTED, US", "language": "en", "compatibility": "home", "conditionCategory": "simple", "now": false, "forcast": [ 0 ], "extraHumidity": false } ], "platform": "WeatherPlus" }
Any ideas?
Also, the WU forecast API is here: https://docs.google.com/document/d/1_Zte7-SdOjnzBttb1-Y9e0Wgl0_3tah9dSwXUyEA3-c/edit#heading=h.jgdnmiy1fith
I found my issues. Still struggling trying to get rain so far today and rain forcasted. Have forcasted rain from OWM but cant get rain so far anywhere.
I have verified that Rain and Rain Last Hour are both working correctly for current conditions with OWM service. Checking the code for Weather Underground, I see that it does not support Rain in current conditions. Let me fix this.