KoljaWindeler / kaco

custom integration for kaco solar inverter
12 stars 7 forks source link

Timeouts #9

Open Sineos opened 2 years ago

Sineos commented 2 years ago

Version of the custom_component

0.5.1

Configuration

Describe the bug

Basically the component works fine but I have a lot of the above entries in my log. Whenever I try to access the WebIF it works. I know the WebIF is slow as hell and refreshing it like 3 times shortly in a row will make it crash.

Is there a way to increase the timeout?

Debug log


2022-08-23 20:40:12.270 ERROR (MainThread) [custom_components.kaco] Timeout fetching kaco_192.168.178.14 data
2022-08-23 20:40:42.256 WARNING (MainThread) [custom_components.kaco] KACO Panel with IP 192.168.178.14 doesn't answer
mickeyreg commented 5 months ago

Hi,

I've changed in /root/config/custom_components/kaco/init\.py:

The second change was particularly important because I measured it and time to download daily data with wget was 36 seconds. After HA restart the inverter was recognized.

Regards, Mickey