-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenWeatherMap One Call API #16
Comments
Thats my thoughts, |
an accessory group for rain and snow. Each group as 3 contact sensor tiles for current, 1h, 24h. So you should be able to setup a notification. |
Add support for OpenWeatherMap `onecall` API, see #16.
Add support for OpenWeatherMap `onecall` API, see #16. Persist `lon` and `lat`, so `weather` API only needs to be called for new locations, to lookup the coordinates.
- Use observation from `onecall` API instead of `weather` API, see #16; - Re-introduce _Rain Last Hour_, _Total Rain_, and _UV Index_ characteristics.
The
Done. That actually turned out to be easier than I anticipated.
I fear Eve might choke on a single accessory with three contact sensor services, so I might need to go for three accessories. That also leaves the possibility to add Eve history. HomeKit provides notifications for a number of sensors: Contact, Lock, Motion, Smoke, Leak, and probably more that I don't have. I would think Leak makes most sense semantically? However, I don't think they've yet reversed engineered the history for the Eve WaterGuard (assuming it even has one). |
Add Leak Sensor services for current report, and for daily and hourly forecasts, see #16.
OK, added I now expose an additional Leak Sensor service on the main accessory (and moved the full weather report over there, from the Air Pressure sensor). Leak Detected is set on rain or snow. You should be able to get HomeKit notifications for this. The Forecast services are also exposed as Leak Sensors. |
Thats great |
Please have a look at v2.3.0. |
OpenWeatherMap have introduced a new, richer API, see https://openweathermap.org/api/one-call-api. It might be opportune for Homebridge WS to be using that:
snow1h
as well. No evidence ofrain24h
though;The text was updated successfully, but these errors were encountered: