briis / hass-weatherflow

Home Assistant Integration for WeatherFlow Stations
MIT License
67 stars 11 forks source link

Feature Request: adding Hail Sensor #35

Closed badewanne1234 closed 2 years ago

badewanne1234 commented 2 years ago

Would it be possible to add a Hail sensor? Would be nice to use the hail sensor for the window covers to open / raise to avoid damage.

According to the documentation, hail is supported: https://weatherflow.github.io/Tempest/api/ws.html

FYI: I have also posted this in the same feature request in the smartweatherudp repository.

Thank you!

briis commented 2 years ago

This Integration uses the REST API and in that API that data is not available. (At least not in the API I use, which is Observation by Station ID). However if you run Home Assistant in Supervised mode you can use the Add-On I developed for that WeatherFlow2MQTT. This runs completely local, and will give you a field called precipitation type which contains that data. If you are not running in Supervised mode, you can run it as a standalone container, and it will feed data to a MQTT server you can setup in Home Assistant.

You can read more here on how to set that up.

The smartweatherudp version is no longer maintained by me, it has been replaced with the Add-On/Docker container mentioned above