hg1337 / homeassistant-dwd

Custom component for Home Assistant that integrates weather data (measurements and forecasts) of Deutscher Wetterdienst (DWD).
Apache License 2.0
78 stars 7 forks source link

Update frequency #30

Closed sven-debug closed 2 weeks ago

sven-debug commented 2 weeks ago

Dears,

the update frequency of this enhancement seems very low. Yesterday, figures were 4 hrs old, Now I see that the data was updated 2 hrs ago. Is there a chance to update the data more frequently? I would not overdo it but a minimum of 30 minutes should be achievable.

image

Warm regards and thanks for this great extension!

Zvenster

hg1337 commented 2 weeks ago

Hi, thank you for your feedback! What Home Assistant shows there might be slightly misleading. It's not how fresh the data is, but only when the state last changed. So when it's been sunny all day, it might even show 12 hours or so. Actually, this integration tries to fetch new data every 610 seconds, so about every 10 minutes. On the DWD server, new measurements are usually provided every hour. For some stations it may be less often. You should be able to observe this, when you change the log level for this integration to debug and look at the log.

sven-debug commented 2 weeks ago

Ahhh, thanks for the clarification!!!

And again, what a great add-on!