FL550 / dwd_weather

Deutscher Wetterdienst integration for Home-Assistant
MIT License
157 stars 11 forks source link

Support UVINDEX #108

Closed misery closed 6 months ago

misery commented 8 months ago

Is your feature request related to a problem? Please describe. I like to have a forecast of the UVINDEX from current day.

Describe the solution you'd like Provide sensors to show UVINDEX like.

FL550 commented 7 months ago

I found some UV index data from DWD. However, these are only available as a single value for the whole day

misery commented 7 months ago

Thanks, yes. I looked into the app. Seems one value per day is correct.

FL550 commented 6 months ago

It is now implemented.

panhans commented 3 months ago

Hey, I am happy with the forecast. I am using the UV-Index to notify for sun blocker. But today the home assistant integration shows an index of 3 but the dwd android app displays just max 2. Is there a way to evaluate this differences?

The app shows the the index of the next 3 days. Today 2, tomorrow also 2 and 3rd day 3. Could it be that the value is the max of the next 3 days?

FL550 commented 3 months ago

@panhans Yes, you could evaluate the raw data here: https://opendata.dwd.de/climate_environment/health/alerts/uvi.json

The integration automatically picks the closest location based on your configuration.