MarcoGos / davis_vantage

Davis Vantage custom component integration for Home Assistant
6 stars 0 forks source link

Blocking call to sleep inside event loop #6

Closed MarcoGos closed 7 months ago

MarcoGos commented 7 months ago
          I'm getting a number of errors in my logs connecting via a networked Vantage Pro Plus. It's been working fine for years talking to Weatherdisplay via network. Heres the errors

2024-03-06 08:21:19.925 WARNING (MainThread) [homeassistant.util.async_] Detected blocking call to sleep inside the event loop by custom integration 'davis_vantage' at custom_components/davis_vantage/client.py, line 252: data["ArchiveInterval"] = self._vantagepro2.archive_period, please create a bug report at https://github.com/MarcoGos/davis_vantage/issues
2024-03-06 08:21:21.701 WARNING (MainThread) [custom_components.davis_vantage] Couldn't acquire data from tcp:192.168.1.61:22222: string argument without an encoding
2024-03-06 08:22:35.707 WARNING (MainThread) [custom_components.davis_vantage] Couldn't acquire data from tcp:192.168.1.61:22222: [Errno 32] Broken pipe
2024-03-06 08:26:02.756 WARNING (MainThread) [custom_components.davis_vantage] Couldn't acquire data from tcp:192.168.1.61:22222: No valid acknowledgement.

_Originally posted by @vk2him in https://github.com/MarcoGos/davis_vantage/issues/5#issuecomment-1979665191_