SebastianOsinski / HomebridgePluginSamsungAirConditioner

Homebridge plugin for controlling Samsung Air Conditioners working on port 2878
MIT License
29 stars 18 forks source link

not work anymore without any change - ErrorCode="103" #23

Closed MaurizioB84 closed 4 years ago

MaurizioB84 commented 5 years ago

Hi,

after 3 days of work now doesn't work anymore without any reason, I cannot see anything in the logs: homebridge_1 | [8/9/2019, 11:04:30 AM] [Climatizzatore Camera] Getting active... homebridge_1 | [8/9/2019, 11:04:32 AM] [Climatizzatore Camera] Setting active: 1 homebridge_1 | [8/9/2019, 11:08:15 AM] [Climatizzatore Camera] Getting target temperature... homebridge_1 | [8/9/2019, 11:08:15 AM] [Climatizzatore Camera] Getting target state... homebridge_1 | [8/9/2019, 11:08:15 AM] [Climatizzatore Camera] Getting target temperature... homebridge_1 | [8/9/2019, 11:08:15 AM] [Climatizzatore Camera] Getting active... homebridge_1 | [8/9/2019, 11:08:15 AM] [Climatizzatore Camera] Getting current temperature... homebridge_1 | [8/9/2019, 11:08:15 AM] [Climatizzatore Camera] Getting swing mode... homebridge_1 | [8/9/2019, 11:08:15 AM] [Climatizzatore Camera] Getting rotation speed...

I enable also the "log_socket_activity": "true", in the config file but never new log string found.

this is my config: "accessories": [ { "accessory": "Samsung Air Conditioner", "name": "Climatizzatore Camera", "ip_address": "192.168.2.89", "mac": "78:25:AD:12:43:F7", "log_socket_activity": "true", "token": "33965903-4482-M849-N716-373832354144" },

SebastianOsinski commented 5 years ago

Hey, first thing you can try is to disconnect your AC unit from power and connect it again. I noticed strange this behavior in my unit, that after some long time it refuses to keep connection with plugin and only restart helps.

MaurizioB84 commented 5 years ago

Hey, first thing you can try is to disconnect your AC unit from power and connect it again. I noticed strange this behavior in my unit, that after some long time it refuses to keep connection with plugin and only restart helps.

thanks for suggestion, but it's possible to see any problem in the log?

SebastianOsinski commented 5 years ago

log_socket_activity should be set to true, not "true" (quotation marks matter). With that setting you should see some socket errors, If I remember correctly ECONREFUSED or something similar.

MaurizioB84 commented 5 years ago

you already tried keep_alive? maybe it's needed to close to socket...

MaurizioB84 commented 5 years ago

homebridge_1 | [8/9/2019, 11:55:21 AM] [Climatizzatore Camera] Connected homebridge_1 | [8/9/2019, 11:55:21 AM] [Climatizzatore Camera] Read: DRC-1.00 homebridge_1 | [8/9/2019, 11:55:21 AM] [Climatizzatore Camera] Read: <?xml version="1.0" encoding="utf-8" ?> homebridge_1 | [8/9/2019, 11:55:21 AM] [Climatizzatore Camera] Auth request received - Authenticating... homebridge_1 | [8/9/2019, 11:55:21 AM] [Climatizzatore Camera] Write: homebridge_1 | [8/9/2019, 11:55:21 AM] [Climatizzatore Camera] Read: <?xml version="1.0" encoding="utf-8" ?> homebridge_1 | [8/9/2019, 11:55:21 AM] [Climatizzatore Camera] Authentication succeeded homebridge_1 | [8/9/2019, 11:55:21 AM] [Climatizzatore Camera] Requesting full state summary... homebridge_1 | [8/9/2019, 11:55:21 AM] [Climatizzatore Camera] Write: homebridge_1 | [8/9/2019, 11:55:21 AM] [Climatizzatore Camera] Read: <?xml version="1.0" encoding="utf-8" ?> homebridge_1 | [8/9/2019, 11:55:19 AM] [Climatizzatore Camera] Connecting... homebridge_1 | [8/9/2019, 11:55:21 AM] [Climatizzatore Camera] Connected homebridge_1 | [8/9/2019, 11:55:21 AM] [Climatizzatore Camera] Read: DRC-1.00 homebridge_1 | [8/9/2019, 11:55:21 AM] [Climatizzatore Camera] Read: <?xml version="1.0" encoding="utf-8" ?> homebridge_1 | [8/9/2019, 11:55:21 AM] [Climatizzatore Camera] Auth request received - Authenticating... homebridge_1 | [8/9/2019, 11:55:21 AM] [Climatizzatore Camera] Write: homebridge_1 | [8/9/2019, 11:55:21 AM] [Climatizzatore Camera] Read: <?xml version="1.0" encoding="utf-8" ?> homebridge_1 | [8/9/2019, 11:55:21 AM] [Climatizzatore Camera] Authentication succeeded homebridge_1 | [8/9/2019, 11:55:21 AM] [Climatizzatore Camera] Requesting full state summary... homebridge_1 | [8/9/2019, 11:55:21 AM] [Climatizzatore Camera] Write: homebridge_1 | [8/9/2019, 11:55:21 AM] [Climatizzatore Camera] Read: <?xml version="1.0" encoding="utf-8" ?><Response Status="Fail" Type="DeviceState" ErrorCode="103" />

SebastianOsinski commented 5 years ago

Hi, sorry for the delay. From your log it looks like some kind of device error. TBH it's hard for me to advise anything in that case.