homebridge-weather-plus icon indicating copy to clipboard operation
homebridge-weather-plus copied to clipboard

Rain gauge information from Wunderground

Open opensdh opened this issue 4 years ago • 8 comments

Thanks for the excellent plugin. Is the rain gauge feature of PWS supported in the Wunderground plugin? Otherwise, is it supported in OpenWeatherMap?

opensdh avatar Apr 30 '20 03:04 opensdh

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

naofireblade avatar Apr 30 '20 10:04 naofireblade

I can give you access to mine... is there a way to pm?

RCdiy avatar May 01 '20 18:05 RCdiy

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

RCdiy avatar May 01 '20 18:05 RCdiy

Added rain information to OWM in latest beta. You can install the beta with:

npm install -g homebridge-weather-plus@beta

naofireblade avatar May 01 '20 23:05 naofireblade

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

naofireblade avatar May 01 '20 23:05 naofireblade

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

bls8486 avatar Jun 04 '20 03:06 bls8486

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.

bls8486 avatar Jun 06 '20 14:06 bls8486

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.

dacarson avatar Feb 15 '24 03:02 dacarson