naofireblade / homebridge-weather-plus

A comprehensive weather plugin for homebridge.
MIT License
313 stars 63 forks source link

Rain gauge information from Wunderground #112

Closed opensdh closed 5 months ago

opensdh commented 4 years ago

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

naofireblade commented 4 years ago

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

RCdiy commented 4 years ago

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

RCdiy commented 4 years ago

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:

naofireblade commented 4 years ago

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

npm install -g homebridge-weather-plus@beta

naofireblade commented 4 years ago

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

bls8486 commented 4 years ago

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 commented 4 years ago

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.

dacarson commented 6 months ago

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.