Closed ageorgios closed 3 months ago
My first guess is that your router's DHCP server assigns a new IP to the device after some time, so it cannot be reached. Could you please check if this is the case?
Have the same issue. I have DHCP reservation set so it’s always using the same IP. Also tried setting a local IP in the plugin config but it still eventually disconnects after a couple days
Do you actively use the AC? One thing that I noticed is the ACs cannot even be discovered after they didn't receive any command for a time.
Yes I do, when i check the logs it looks like it does recover from socket errors automatically. But after a few days it doesn't seem to recover?
[11/07/2024, 16:44:05] [midea-platform] Socket error: Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:217:20) [11/07/2024, 16:44:05] [midea-platform] [Living Room Air Conditioner | run] Error reading from socket: Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:217:20) [11/07/2024, 16:44:05] [midea-platform] Socket closed with error [11/07/2024, 16:44:05] [midea-platform] [Living Room Air Conditioner] Create new socket, reconnect [11/07/2024, 17:38:47] [midea-platform] Socket error: Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:217:20) [11/07/2024, 17:38:47] [midea-platform] [Living Room Air Conditioner | run] Error reading from socket: Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:217:20) [11/07/2024, 17:38:47] [midea-platform] Socket closed with error [11/07/2024, 17:38:47] [midea-platform] [Living Room Air Conditioner] Create new socket, reconnect [11/07/2024, 18:17:08] [midea-platform] [Living Room Air Conditioner] Set device attribute POWER to: false
I would need more information to debug this as my unit doesn't behave like you described. Could you please turn on debug logging in the plugin config (the verbose
, logRecoverableErrors
fields should be enabled) and also enable debug mode in your Homebridge instance?
Any news on this one?
Any news on this one?
oddly i haven't had this issue for a while now. and i haven't even been using the AC lately as the weather is getting cooler.
I will close this then now, but feel free to open this again or open a new ticket if it happens again.