Open Bonabrux opened 4 days ago
Hi, could you provide full debug logs for a timespan of about 5 minutes? The capability request failing shouldn't be a fatal event so something else must be wrong.
msmart_logs.zip Sure, here you have a log of about 10 minutes... the device with issues is the one with IP address 10.100.200.222, as you might see, during the debug creating time the integration was alternating between "working" and "unavailable".
Let me know if I can help in anything else.
It appears the device in question (10.100.200.222) doesn't support the energy usage request and is ignoring it which causes the device to timeout.
Try disabling the power and energy sensors on the device.
Something similar happened in #188 with respect to humidity and here as well: https://github.com/mill1000/midea-ac-py/issues/198
Hello, first of all, thanks for your great work. I've two Midea AC, one of them works correctly, and for the other it works for "seconds" before it goes unavailable, I tried all the suggestions about adjusting the connection time, without any luck. So, when doing some in deep check in log files I found this:
As soon as the Checksum error comes for the Capabilities Query, the device goes unavailable. A simple "integration reload" triggers it back to normal for a few seconds again... and so far, so on.
Checking more in deep in HA logs I also figured that right after this checksum error, a connection error to the device is shown: Network timeout 10.100.200.222:6444: No response from host. No response from 10.100.200.222:6444 in 6.010000 seconds. No response from 10.100.200.222:6444 in 6.000000 seconds. Network timeout 10.100.200.222:6444: Read cancelled. No response from 10.100.200.222:6444 in 2.450000 seconds.
Just to be clear, there is no network issue to that IP address, and indeed other integrations do work with it.
Do you have any idea about how to fix this? let me know if you need any extra information from my side.
Thanks