anand-p-r / fmi-hass-custom

Home Assistant Custom Component Supporting FMI Based Weather and Sensor Platforms
MIT License
59 stars 23 forks source link

Lightning data pull times out, stops all FMI sensors being set up #42

Closed TheStork239 closed 3 years ago

TheStork239 commented 3 years ago

With the recent heatwave-related thunderstorms in Finland (in June 2021), the lightning query pulls through quite a big dataset. As a result, the fetching of lightning data hits the timeout limit, and ends up in a loop of retrying every 90 secs or so, and as a result all of the sensors fail to be set up e.g. on reboot.

Should the timeout limit for lightning data fetch be extended, or should the size of the box be reduced (again/further)? Or should the code be modified that even if lightning fetch times out, it does not stop the entire FMI set of sensors being set-up / updated?

anand-p-r commented 3 years ago

I added a little but of everything now: