midea_ac_lan icon indicating copy to clipboard operation
midea_ac_lan copied to clipboard

NO real time synchronization

Open juanmijm opened this issue 3 years ago • 51 comments

Hello, first thank you for the integration, very easy to configure, but I have a serious problem with it, the information is not updated if I change a parameter from another place than this addon, for example from the remote control or from the mobile application.

On the other hand, I have tried another integration (Midea Smart Aircon) and it works perfectly, when I make any change from an external drive, it updates without a problem after a short time.

I would like to use your addon because Home Assistant detects it as a device and it is easier to do automations like this than with the other integration.

Thank you very much.

juanmijm avatar Aug 12 '22 16:08 juanmijm

Hello, first thank you for the integration, very easy to configure, but I have a serious problem with it, the information is not updated if I change a parameter from another place than this addon, for example from the remote control or from the mobile application.

On the other hand, I have tried another integration (Midea Smart Aircon) and it works perfectly, when I make any change from an external drive, it updates without a problem after a short time.

I would like to use your addon because Home Assistant detects it as a device and it is easier to do automations like this than with the other integration.

Thank you very much.

climate1

It seems to work fine, so, could you show me the debug logs when use the remoter or app?

georgezhao2010 avatar Aug 12 '22 17:08 georgezhao2010

I'm noticing the same issue. I can control the unit just fine from within HA and if I change the temp in HA, it is reflected on the unit. However as the temperature changes in the room itself, HA is not reporting a temperature change on the dashboard. If I use the buttons on the card to turn the unit off and then back on, everything updates correctly.

SkinnyT81 avatar Aug 15 '22 19:08 SkinnyT81

I'm noticing the same issue. I can control the unit just fine from within HA and if I change the temp in HA, it is reflected on the unit. However as the temperature changes in the room itself, HA is not reporting a temperature change on the dashboard. If I use the buttons on the card to turn the unit off and then back on, everything updates correctly.

turn on the debug logs, and show me the logs when temperature changes in the room itself. or send to [email protected]

georgezhao2010 avatar Aug 16 '22 09:08 georgezhao2010

Sorry, I've been out of town for the last week and haven't been able to turn on debug logging. I also noticed that if I reboot host from within HA, once everything reloads, my Midea AC shows as unavailable until I select to turn in on in HA. A reboot does not turn off the physical AC, but seems to be unable to refresh the current status of it.

SkinnyT81 avatar Aug 22 '22 17:08 SkinnyT81

Same issue. Here are some logs after HA restart and changing state from NetHome Plus app:

2022-08-25 18:42:46 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Connected
2022-08-25 18:42:46 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Handshaking
2022-08-25 18:42:46 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Authentication success
2022-08-25 18:42:46 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Sending: {'header': 'aa20ac8c000000000003', 'body': '418100ff03ff00020000000000000000000000000171', 'message type': '03', 'body type': '41'}
2022-08-25 18:42:56 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Does not supports the protocol MessageQuery, ignored
2022-08-25 18:42:56 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Sending: {'header': 'aa14acb8000000000003', 'body': 'b1034200180015000227', 'message type': '03', 'body type': 'b1'}
2022-08-25 18:43:06 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Does not supports the protocol MessageNewProtocolQuery, ignored
2022-08-25 18:43:06 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Sending: {'header': 'aa11acbd000000000003', 'body': '41210144000109', 'message type': '03', 'body type': '41'}
2022-08-25 18:43:06 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.devices.ac.device] [37383395345585] Received: {'header': 'aa1fac00000000000303', 'body': 'c12101440006984200000000000000000000000007', 'message type': '03', 'body type': 'c1'}
2022-08-25 18:43:06 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Status update: {'total_energy_consumption': 6984.2, 'current_energy_consumption': 0.0, 'realtime_power': 0.0, 'available': True}
2022-08-25 18:43:06 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Status update: {'available': True}
2022-08-25 18:44:06 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Sending: {'header': 'aa11acbd000000000003', 'body': '41210144000109', 'message type': '03', 'body type': '41'}
2022-08-25 18:44:07 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.devices.ac.device] [37383395345585] Received: {'header': 'aa1fac00000000000303', 'body': 'c121014400069843000000000000000000000000a0', 'message type': '03', 'body type': 'c1'}
2022-08-25 18:44:07 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Status update: {'total_energy_consumption': 6984.3, 'current_energy_consumption': 0.0, 'realtime_power': 0.0, 'available': True}
2022-08-25 18:45:07 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Sending: {'header': 'aa11acbd000000000003', 'body': '41210144000109', 'message type': '03', 'body type': '41'}
2022-08-25 18:45:08 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.devices.ac.device] [37383395345585] Received: {'header': 'aa1fac00000000000303', 'body': 'c121014400069843000000000000000000000000a0', 'message type': '03', 'body type': 'c1'}
2022-08-25 18:45:08 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Status update: {'total_energy_consumption': 6984.3, 'current_energy_consumption': 0.0, 'realtime_power': 0.0, 'available': True}

albertdb avatar Aug 25 '22 16:08 albertdb

Same issue. Here are some logs after HA restart and changing state from NetHome Plus app:

...

It looks no any messages received from appliance but power info.

Could you tell me in which HA integration it works fine?

georgezhao2010 avatar Aug 26 '22 04:08 georgezhao2010

Same issue. Here are some logs after HA restart and changing state from NetHome Plus app: ...

It looks no any messages received from appliance but power info.

Could you tell me in which HA integration it works fine?

I haven't tried any other, they are a pain to configure, yours is plug and play.

Can't you poll the status every some minutes?

albertdb avatar Aug 26 '22 07:08 albertdb

I recently tried Midea Air Appliances (LAN) and it seems to sync with the current state and also updates with accurate history usage. With that integration though, the temperature can't be controlled via the dashboard card yet.

SkinnyT81 avatar Aug 26 '22 10:08 SkinnyT81

Same issue. Here are some logs after HA restart and changing state from NetHome Plus app: ...

It looks no any messages received from appliance but power info. Could you tell me in which HA integration it works fine?

I haven't tried any other, they are a pain to configure, yours is plug and play.

Can't you poll the status every some minutes?

Yeap, I tryed to poll the status, but your AC does not reply any request until it is time out.

2022-08-25 18:42:46 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Sending: {'header': 'aa20ac8c000000000003', 'body': '418100ff03ff00020000000000000000000000000171', 'message type': '03', 'body type': '41'}
2022-08-25 18:42:56 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Does not supports the protocol MessageQuery, ignored
2022-08-25 18:42:56 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Sending: {'header': 'aa14acb8000000000003', 'body': 'b1034200180015000227', 'message type': '03', 'body type': 'b1'}
2022-08-25 18:43:06 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Does not supports the protocol MessageNewProtocolQuery, ignored

georgezhao2010 avatar Aug 26 '22 15:08 georgezhao2010

Same issue. Here are some logs after HA restart and changing state from NetHome Plus app: ...

It looks no any messages received from appliance but power info. Could you tell me in which HA integration it works fine?

I haven't tried any other, they are a pain to configure, yours is plug and play. Can't you poll the status every some minutes?

Yeap, I tryed to poll the status, but your AC does not reply any request until it is time out.

2022-08-25 18:42:46 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Sending: {'header': 'aa20ac8c000000000003', 'body': '418100ff03ff00020000000000000000000000000171', 'message type': '03', 'body type': '41'}
2022-08-25 18:42:56 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Does not supports the protocol MessageQuery, ignored
2022-08-25 18:42:56 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Sending: {'header': 'aa14acb8000000000003', 'body': 'b1034200180015000227', 'message type': '03', 'body type': 'b1'}
2022-08-25 18:43:06 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Does not supports the protocol MessageNewProtocolQuery, ignored

Is there anything I can do for helping fixing this issue?

NetHome+ app is definitely able to query status.

albertdb avatar Aug 26 '22 15:08 albertdb

I recently tried Midea Air Appliances (LAN) and it seems to sync with the current state and also updates with accurate history usage. With that integration though, the temperature can't be controlled via the dashboard card yet.

Normally, this integration (ie. Midea AC LAN) will update the status immediately when the other integration or app (eg. Midea Smart Aircon) changed the appliance status. Not vice versa.

climates

georgezhao2010 avatar Aug 26 '22 15:08 georgezhao2010

Same issue. Here are some logs after HA restart and changing state from NetHome Plus app: ...

It looks no any messages received from appliance but power info. Could you tell me in which HA integration it works fine?

I haven't tried any other, they are a pain to configure, yours is plug and play. Can't you poll the status every some minutes?

Yeap, I tryed to poll the status, but your AC does not reply any request until it is time out.

2022-08-25 18:42:46 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Sending: {'header': 'aa20ac8c000000000003', 'body': '418100ff03ff00020000000000000000000000000171', 'message type': '03', 'body type': '41'}
2022-08-25 18:42:56 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Does not supports the protocol MessageQuery, ignored
2022-08-25 18:42:56 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Sending: {'header': 'aa14acb8000000000003', 'body': 'b1034200180015000227', 'message type': '03', 'body type': 'b1'}
2022-08-25 18:43:06 DEBUG (37383395345585) [custom_components.midea_ac_lan.midea.core.device] [37383395345585] Does not supports the protocol MessageNewProtocolQuery, ignored

Is there anything I can do for helping fixing this issue?

NetHome+ app is definitely able to query status.

Maybe NetHome+ app used different request command which I don't know yet.

So I need to collect more information to solve your problem.

First, the question I have asked, which HA integration did your appliance work well in?

georgezhao2010 avatar Aug 26 '22 15:08 georgezhao2010

@georgezhao2010 with Midea Air Appliances (LAN) I reproduce the same behaviour as @SkinnyT81. That integration seems to poll, not get live updates.

Yours is overall much better, if we fix this it would simply be the best.

albertdb avatar Aug 26 '22 16:08 albertdb

@georgezhao2010 @albertdb I definitely agree that this integration is a lot better to work with and would be near perfect if we could get the polling to work. The only other weird quirk is that from within HA while the AC in in Cool mode, if I change the temp to 75F, it stays for a second and then bounces to 73F.

Let me know if theres anything I can do to help troubleshoot.

SkinnyT81 avatar Aug 26 '22 20:08 SkinnyT81

@georgezhao2010 @albertdb I definitely agree that this integration is a lot better to work with and would be near perfect if we could get the polling to work. The only other weird quirk is that from within HA while the AC in in Cool mode, if I change the temp to 75F, it stays for a second and then bounces to 73F.

Let me know if theres anything I can do to help troubleshoot.

Well, I need your debug logs.

georgezhao2010 avatar Aug 26 '22 20:08 georgezhao2010

@georgezhao2010 @albertdb I definitely agree that this integration is a lot better to work with and would be near perfect if we could get the polling to work. The only other weird quirk is that from within HA while the AC in in Cool mode, if I change the temp to 75F, it stays for a second and then bounces to 73F. Let me know if theres anything I can do to help troubleshoot.

Well, I need your debug logs.

Will do. I can switch back to your integration later tonight and then pull the logs for you.

SkinnyT81 avatar Aug 26 '22 21:08 SkinnyT81

I just set up your integration again and here are the logs after a reboot:

2022-08-26 20:37:41.405 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.discover] Received broadcast from ('10.11.30.85', 6445): 837000c8200f00005a5a0111b8007a8000000000896925001b0816144b1a0300001c00000000000000000180000000001819bdd15e76850b276ab462b86d2520182c872189662e6e323c6bf26705c186daeb78fcc813e3092bd51e8ddb5adfb7668cc916d31d7842d6bedf5585556997ad0ebef9ba44bf7dc53ac249023b23b339cce23d2d00b80ceb3986bcc2e50c364bdfb3e16e33d88768cc4c3d0658937d0bb19369bf0317b24d3a4de9e6a131069d69db18ee556fceceffb6b39176643f436851145fbea821eb7fba8a7308b3b8
2022-08-26 20:37:41.418 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.discover] Declassified reply: 551e0b0a2c19000030303030303050303030303030305131334332303933393331363830303030300b6e65745f61635f313638300000870002000000000000000000ac00acac000000003c2093931680150023072116000300000000000000000000000000000000000000000000000000000000000000000000
2022-08-26 20:37:41.419 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.discover] Found a supported device: {'device_id': 30786325781067, 'type': 172, 'ip_address': '10.11.30.85', 'port': 6444, 'model': '00Q13', 'protocol': 3}
2022-08-26 20:37:51.065 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Connected
2022-08-26 20:37:51.066 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Handshaking
2022-08-26 20:37:51.113 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Authentication failed
2022-08-26 20:37:51.113 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Status update: {'available': False}
2022-08-26 20:37:51.943 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.cloud] Endpoint: /v1/user/login/id/get, Response: b'{"code":"0","msg":"ok","data":{"loginId":"77190b04-9498-4532-a478-c2c3a2c0"}}'
2022-08-26 20:37:52.109 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.cloud] Endpoint: /mj/user/login, Response: b'{"code":0,"msg":"\xe6\x88\x90\xe5\x8a\x9f","data":{"randomData":"7073b1179a847ed91ccd481889987373e04970733819d86bcfcb1aa1277059a4","uid":"0b5b62e5234ff0923c8ea85778718b3d","accountId":"5061494579","nickname":"[email protected]","mdata":{"tokenPwdInfo":{"tokenPwd":"72d47c2418234509a8d3c7d47790a736","expiredDate":1664152672063,"createDate":1661560672063},"userInfo":{"sourceId":"mj_12345","empId":"4805554227871744","address":"","gender":"0","mobile":"[email protected]","userDeptInfoList":null,"extras":null,"nameEn":null,"employeeNumber":null,"headPhoto":null,"uid":"0b5b62e5234ff0923c8ea85778718b3d","name":"[email protected]","email":null},"doDeviceBind":null,"accessToken":"T1cd66j032m84crdl","signUnlockEnabled":null},"accessToken":"ea0b7f8dacbbbc4205c37ad220bae5ce842a86f2e7491f9891470bfc133ace6f","userId":"5700694358017","email":"[email protected]"}}'
2022-08-26 20:37:52.110 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.cloud] The udpid of deivce [30786325781067] generated with byte order 'little': ee06ea71518d4c650593391b0aab14c3
2022-08-26 20:37:52.200 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.cloud] Endpoint: /v1/iot/secure/getToken, Response: b'{"msg":"ok","code":"0","data":{"tokenlist":[{"udpId":"ee06ea71518d4c650593391b0aab14c3","key":"A43CE0727A8F48B69F16FA0024969728B9391569C3BD494AA06FC1A129B4BFCD","token":"3543A927288C85306598B99B3D127375B94BF17F059CEFDBE83F3D0566BD58F7A9E54B69EB64EFA0678B3F9DEF9E528D7BBD652D6830E7A0D87E22004DFE373E"}]}}'
2022-08-26 20:37:52.201 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Successful to take token and key, token: 3543A927288C85306598B99B3D127375B94BF17F059CEFDBE83F3D0566BD58F7A9E54B69EB64EFA0678B3F9DEF9E528D7BBD652D6830E7A0D87E22004DFE373E, key: A43CE0727A8F48B69F16FA0024969728B9391569C3BD494AA06FC1A129B4BFCD, byte_order_big: False
2022-08-26 20:37:52.204 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Connected
2022-08-26 20:37:52.205 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Handshaking
2022-08-26 20:37:52.261 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Authentication failed
2022-08-26 20:37:52.261 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Status update: {'available': False}
2022-08-26 20:37:52.261 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.cloud] The udpid of deivce [30786325781067] generated with byte order 'big': 436851145fbea821eb7fba8a7308b3b8
2022-08-26 20:37:52.347 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.cloud] Endpoint: /v1/iot/secure/getToken, Response: b'{"msg":"ok","code":"0","data":{"tokenlist":[{"udpId":"436851145fbea821eb7fba8a7308b3b8","key":"965BB5948B01414E8201E4AAD752AFD3EF704657AD654718B65C08EF1786882F","token":"B64510EA12AF6962CF296147F506A11507B638A962C20650E2B2D7DCAF6E65CAE3A4800F5ED543318613A25ECD89B76B2A7603184B9F0C4CCA677D332FAC69B2"}]}}'
2022-08-26 20:37:52.349 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Successful to take token and key, token: B64510EA12AF6962CF296147F506A11507B638A962C20650E2B2D7DCAF6E65CAE3A4800F5ED543318613A25ECD89B76B2A7603184B9F0C4CCA677D332FAC69B2, key: 965BB5948B01414E8201E4AAD752AFD3EF704657AD654718B65C08EF1786882F, byte_order_big: True
2022-08-26 20:37:52.352 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Connected
2022-08-26 20:37:52.352 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Handshaking
2022-08-26 20:37:52.411 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Authentication success
2022-08-26 20:37:52.411 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Status update: {'available': True}
2022-08-26 20:38:12.812 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Connected
2022-08-26 20:38:12.813 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Handshaking
2022-08-26 20:38:12.862 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Authentication success
2022-08-26 20:38:12.862 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Status update: {'available': True}
2022-08-26 20:38:12.883 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Connected
2022-08-26 20:38:12.883 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Handshaking
2022-08-26 20:38:12.972 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Authentication success
2022-08-26 20:38:12.973 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Sending: {'header': 'aa20ac8c000000000003', 'body': '418100ff03ff00020000000000000000000000000171', 'message type': '03', 'body type': '41'}
2022-08-26 20:38:17.978 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Does not supports the protocol MessageQuery, ignored
2022-08-26 20:38:17.979 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Sending: {'header': 'aa14acb8000000000003', 'body': 'b1034200180015000227', 'message type': '03', 'body type': 'b1'}
2022-08-26 20:38:22.986 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Does not supports the protocol MessageNewProtocolQuery, ignored
2022-08-26 20:38:22.986 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Sending: {'header': 'aa11acbd000000000003', 'body': '41210144000109', 'message type': '03', 'body type': '41'}
2022-08-26 20:38:23.530 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.devices.ac.device] [30786325781067] Received: {'header': 'aa1fac00000000000303', 'body': 'c12101440000000000000000000000000000000035', 'message type': '03', 'body type': 'c1'}
2022-08-26 20:38:23.530 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Status update: {'total_energy_consumption': 0.0, 'current_energy_consumption': 0.0, 'realtime_power': 0.0}
2022-08-26 20:38:23.530 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Status update: {'available': True}
2022-08-26 20:39:23.626 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Sending: {'header': 'aa11acbd000000000003', 'body': '41210144000109', 'message type': '03', 'body type': '41'}
2022-08-26 20:39:24.163 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.devices.ac.device] [30786325781067] Received: {'header': 'aa1fac00000000000303', 'body': 'c12101440000000000000000000000000000000035', 'message type': '03', 'body type': 'c1'}
2022-08-26 20:39:24.163 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Status update: {'total_energy_consumption': 0.0, 'current_energy_consumption': 0.0, 'realtime_power': 0.0}
2022-08-26 20:40:24.264 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Sending: {'header': 'aa11acbd000000000003', 'body': '41210144000109', 'message type': '03', 'body type': '41'}
2022-08-26 20:40:24.803 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.devices.ac.device] [30786325781067] Received: {'header': 'aa1fac00000000000303', 'body': 'c12101440000000000000000000000000000000035', 'message type': '03', 'body type': 'c1'}
2022-08-26 20:40:24.804 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Status update: {'total_energy_consumption': 0.0, 'current_energy_consumption': 0.0, 'realtime_power': 0.0}
2022-08-26 20:41:24.893 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Sending: {'header': 'aa11acbd000000000003', 'body': '41210144000109', 'message type': '03', 'body type': '41'}
2022-08-26 20:41:25.432 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.devices.ac.device] [30786325781067] Received: {'header': 'aa1fac00000000000303', 'body': 'c12101440000000000000000000000000000000035', 'message type': '03', 'body type': 'c1'}
2022-08-26 20:41:25.433 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Status update: {'total_energy_consumption': 0.0, 'current_energy_consumption': 0.0, 'realtime_power': 0.0}
2022-08-26 20:42:25.550 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Sending: {'header': 'aa11acbd000000000003', 'body': '41210144000109', 'message type': '03', 'body type': '41'}
2022-08-26 20:42:26.089 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.devices.ac.device] [30786325781067] Received: {'header': 'aa1fac00000000000303', 'body': 'c12101440000000000000000000000000000000035', 'message type': '03', 'body type': 'c1'}
2022-08-26 20:42:26.089 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Status update: {'total_energy_consumption': 0.0, 'current_energy_consumption': 0.0, 'realtime_power': 0.0}
2022-08-26 20:43:26.189 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Sending: {'header': 'aa11acbd000000000003', 'body': '41210144000109', 'message type': '03', 'body type': '41'}
2022-08-26 20:43:26.731 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.devices.ac.device] [30786325781067] Received: {'header': 'aa1fac00000000000303', 'body': 'c12101440000000000000000000000000000000035', 'message type': '03', 'body type': 'c1'}
2022-08-26 20:43:26.731 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Status update: {'total_energy_consumption': 0.0, 'current_energy_consumption': 0.0, 'realtime_power': 0.0}
2022-08-26 20:44:26.839 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Sending: {'header': 'aa11acbd000000000003', 'body': '41210144000109', 'message type': '03', 'body type': '41'}
2022-08-26 20:44:27.380 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.devices.ac.device] [30786325781067] Received: {'header': 'aa1fac00000000000303', 'body': 'c12101440000000000000000000000000000000035', 'message type': '03', 'body type': 'c1'}
2022-08-26 20:44:27.381 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Status update: {'total_energy_consumption': 0.0, 'current_energy_consumption': 0.0, 'realtime_power': 0.0}
2022-08-26 20:45:06.598 DEBUG (SyncWorker_6) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Sending: {'header': 'aa23ac8f000000000002', 'body': '4041486600000030000000000000000000000000000000166a', 'message type': '02', 'body type': '40'}
2022-08-26 20:45:07.348 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.devices.ac.device] [30786325781067] Received: {'header': 'aa23ac00000000000302', 'body': 'c00148667f7f00300000006266000000000000000000000022', 'message type': '02', 'body type': 'c0'}
2022-08-26 20:45:07.348 DEBUG (She Shed Mini Split) [custom_components.midea_ac_lan.midea.core.device] [30786325781067] Status update: {'power': True, 'mode': 2, 'target_temperature': 24.0, 'fan_speed': 102, 'swing_vertical': False, 'swing_horizontal': False, 'boost_mode': False, 'smart_eye': False, 'dry': False, 'eco_mode': False, 'aux_heat': False, 'sleep_mode': False, 'night_light': False, 'natural_wind': False, 'temp_fahrenheit': False, 'screen_display': True, 'comfort_mode': False, 'indoor_temperature': 24.0, 'outdoor_temperature': 26.0}

SkinnyT81 avatar Aug 27 '22 01:08 SkinnyT81

I just set up your integration again and here are the logs after a reboot:

...

Emm, it's same problem.

georgezhao2010 avatar Aug 27 '22 05:08 georgezhao2010

@georgezhao2010 @albertdb I definitely agree that this integration is a lot better to work with and would be near perfect if we could get the polling to work. The only other weird quirk is that from within HA while the AC in in Cool mode, if I change the temp to 75F, it stays for a second and then bounces to 73F. Let me know if theres anything I can do to help troubleshoot.

Well, I need your debug logs.

Will do. I can switch back to your integration later tonight and then pull the logs for you.

Could you catch more logs in Midea Air Appliances (LAN) for me?

logger:
  logs:
    custom_components.midea_dehumidifier_lan: debug
    midea_beautiful: debug

georgezhao2010 avatar Aug 27 '22 08:08 georgezhao2010

@georgezhao2010 @albertdb I definitely agree that this integration is a lot better to work with and would be near perfect if we could get the polling to work. The only other weird quirk is that from within HA while the AC in in Cool mode, if I change the temp to 75F, it stays for a second and then bounces to 73F. Let me know if theres anything I can do to help troubleshoot.

Well, I need your debug logs.

Will do. I can switch back to your integration later tonight and then pull the logs for you.

Could you catch more logs in Midea Air Appliances (LAN) for me?

logger:
  logs:
    custom_components.midea_dehumidifier_lan: debug
    midea_beautiful: debug
2022-08-29 12:19:17 DEBUG (SyncWorker_5) [midea_beautiful.lan] Sending to 192.168*****:6445 b'ZZ\x01\x11H\x00\x92\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x7fu\xbdk>O\x8bv.\x84\x9cnW\x8de\x90\x03n\x9dCB\xa5\x0f\x1fV\x9e\xb8\xec\x91\x8e\x92\xe5'
2022-08-29 12:19:18 DEBUG (SyncWorker_5) [midea_beautiful.lan] Received from 192.168*****:6445 b'\x83p\x00\xc8 \x0f\x00\x00ZZ\x01\x11\xb8\x00z\x80\x00\x00\x00\x00\x18R\x13\n\x1d\x08\x16\x14\xb1\x04\x00\x00\x00"\x00\x00\x00\x00\x00\x00\x00\x00\x01\x80\x00\x00\x00\x00\xa9\x11\x1c\xc6\xbd\x95iZ\x00\x96\xefe\x1f\x97\x19\xc2\xdfB\x02\x97\xcd\xa0\xc6\xb1\x87\x12\x17Bif&\x0fg&\xc6C\xa88zh\x8bc\xbf\x06\x94\xcdy\x05&\xccW2\x15\x1bZ\x851\xf1F\xf9\xc0s\t\x9b\x1eiK@\x91yB\xb0bex\x8d\xbf\xeb\tI\x06\xc8g\xe1;f\xbf<G\xad\x043\x9b\xcfv\xaeK\xdf\xb3\xe1n3\xd8\x87h\xccL=\x06X\x93}\x0b\xb1\x93i\xbf\x03\x17\xb2M:M\xe9\xe6\xa11\x065\xba\xcer\xe4M\x1du\x9aNDp\xfb\x93\x959D1\x1c\x92\xadi\x01\x9d\xb6\x1b\xc3\xdf\xeaif\xb0'
2022-08-29 12:19:18 DEBUG (SyncWorker_5) [midea_beautiful.lan] From 192.168***** decrypted reply=b'\x16\x00\xa8\xc0,\x19\x00\x00000000P0000000Q1C4396059CD260000\x0bnet_ac_CD26\x00\x00\x87\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\xac\x00\xac\xac\x00\x00\x00\x00\xc49`Y\xcd&\x15\x00)\x08!\x15\x00\x03\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2022-08-29 12:19:18 DEBUG (SyncWorker_5) [midea_beautiful.appliance] Creating AirConditionerAppliance 3738339534****
2022-08-29 12:19:18 DEBUG (SyncWorker_5) [midea_beautiful.lan] Descriptor data '{id=3738339534****, address=192.168*****, port=6444, version=3, name=37383395345585, online=True, type=0xac, subtype=acac, flags=0, extra=2, reserved=87, mac=c439605*****, ssid=net_ac_CD26, udp_version=0, protocol=150029, version=8.33.21, sn=000000P0000000Q1C4396059********, state=[Air conditioner]{id=3738339534****, type=0xac mode=0, running=False, turbo=False, fan_speed=40, turbo_fan=False, purifier=False, dryer=False, target_temperature=0, indoor_temperature=2.2250738585072014e-308, outdoor_temperature=2.2250738585072014e-308, vertical_swing=False horizontal_swing=False comfort_sleep=False, error_code=0, prompt=False, supports={}}}'
2022-08-29 12:19:18 DEBUG (SyncWorker_5) [midea_beautiful.lan] Appliance sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3
2022-08-29 12:19:18 DEBUG (SyncWorker_5) [midea_beautiful.lan] Attempting new connection to sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3
2022-08-29 12:19:18 DEBUG (SyncWorker_5) [midea_beautiful.lan] Sending to sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3, message=b'\x83p\x00@ \x00\x00\x00\xc4d\\\x7f|\t\xd1\x95sE\x0b\x1dR\x86^4\xa1\t\xca\xddb7\x9fvx\x1e\xc2\xf6\x13\xaa$\xf4\x04\x88\xf5\r\xd8\x9c\x92\x11\xef\xa0\x9ekO\x9c\xd6z\x84\xba\x7f\x89sr\x1da\xac\x99\tQ\xd2\xd8i\xd4'
2022-08-29 12:19:18 DEBUG (SyncWorker_5) [midea_beautiful.lan] From sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3, message=b"\x83p\x00@ \x01-L\xf5Y\xf7\x1d'\xfbsm_\xe9\x7f]\xb1\x9aA\x0c\x7f\x1e\x11Y\x01#\xbb\x9c\xd9\xddh\n\xe7a:u\x1aM{\xe9\x01ss\xbfn\xc5\xb8\xd6\xff\xb0\x11\xf1\x84\x13F`*\x11v\xc0>V\xe68\xbb\x8eQE"
2022-08-29 12:19:18 DEBUG (SyncWorker_5) [midea_beautiful.lan] Got TCP key for: sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3
2022-08-29 12:19:18 DEBUG (SyncWorker_5) [midea_beautiful.lan] Getting more capabilities
2022-08-29 12:19:18 DEBUG (SyncWorker_5) [midea_beautiful.lan] Packet for: sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3 data=b'ZZ\x01\x11H\x00 \x00\x00\x00\x00\x00b\x12\x13\x0c\x1d\x08\x16\x14\xb1\x04\x00\x00\x00"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00<\xe2i}\x05P\xa3\xd6d\xfb~\xe1\xb1\xd2\xffdipl\xe8\xe06\r\x02\x89\xdb\x19\xbc/L\x02\xe2'
2022-08-29 12:19:18 DEBUG (SyncWorker_5) [midea_beautiful.lan] Sending to sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3, message=b'\x83p\x00n fZ\x1a@\x8f\xa5Ie\xb31\xecX\xdb\xfc\x0c\xbb\xf8\x87\x19\x14d5\x97\xfa]\xc93\xc5\x18\x14n\x87\xe4\xa7\xd5 \xf5\x7f\xc5\xd3\x894\x87\xee\xd5\xa7\xcba\xde\xa9\t\x9b\xe4,d>\xadk-\xbcT\x10U&CzR\xd9\xc3\xe5\x95\xa0\xdb\xcd{\xd1\xb7\xcf>_W!\x05\xaa\xd0\xfax\xbd\xf9\xb4\x93\x06\x18\xff\xd1\x8dNR\x0c\xbdg\x9f\xaazW\x10\xd3\xf3\x94\xec\xf8\x10a'
2022-08-29 12:19:20 DEBUG (SyncWorker_5) [midea_beautiful.lan] Timeout receiving from sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3: timed out
2022-08-29 12:19:22 DEBUG (SyncWorker_5) [midea_beautiful.lan] Sending to sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3, message=b"\x83p\x00n fVV\x87\xd4\xf9\xaco\xb3\\b\xe1\xef\xd8\x88\xbc\x10\xff\r\x16\xb7\xd9\xe1\x06\x83\x86\xa3\x8c\xb3\x8dZ\nd\x97\xf3>SsU\xb0\x02W( \xe6\xe7\x01\x07\x1e\x00\x9c\x87(\xf6q\xe2\\\xe2\x0ee`\xb1\x85`\x9e\xad\xdf\xe7\x1b\xeeoW\xfb\x82h\xc8'X5\x88I\xfe\xa3?8\xaa(8g\x0f\xb2S\xab\xad\xed\xba\xc5\xac\x1f`H\xa0\xb9\xb4\xbd\xe8\xeb}\x99Xc\x90\xb1"
2022-08-29 12:19:23 DEBUG (SyncWorker_5) [midea_beautiful.lan] From sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3, message=b'\x83p\x00\x8e c\xf8\xe9\x12\xda\r5\xbb\xf4\r\xbc\xd5Du\xd4\xfb{Qa\x19\xfaU5p*\xad\x96\x1e\x9e\x13\x83vSy\xda_\xd1K\x8b\x1eI\xc9\xcb2A\xd03\x81*bx+\xddD\xc5\x0b_\xb1{\xe6\xf9\xf7\xc2\x07\xf6\xce9B\xe8h\xae\x1a^7%3OD\x8aR\xefv\xd8\x87i\xac\xb5\x18\xb6\xc9\xe8\xae%\x9a#\xb9+\xcf\xdcNA\x9d\x88\xd2\t\xb67\x8b\xde\x8c bL\xd3\xe6\xbfM\x8b\x00\xda\xe6\x11G\xd7f\x04\x0e"\xfa\xdeK\xf6x\xe2>\xe8+\xb9-{f\x0e\xa6\x15\x0e'
2022-08-29 12:19:23 DEBUG (SyncWorker_5) [midea_beautiful.lan] Got 1 response(s) from: sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3
2022-08-29 12:19:23 DEBUG (SyncWorker_5) [midea_beautiful.appliance] Got capability b'\x12\x02'
2022-08-29 12:19:23 DEBUG (SyncWorker_5) [midea_beautiful.appliance] Got capability b'\x13\x02'
2022-08-29 12:19:23 DEBUG (SyncWorker_5) [midea_beautiful.appliance] Got capability b'\x14\x02'
2022-08-29 12:19:23 DEBUG (SyncWorker_5) [midea_beautiful.appliance] Got capability b'\x15\x02'
2022-08-29 12:19:23 DEBUG (SyncWorker_5) [midea_beautiful.appliance] Got capability b'\x16\x02'
2022-08-29 12:19:23 DEBUG (SyncWorker_5) [midea_beautiful.appliance] Got capability b'\x17\x02'
2022-08-29 12:19:23 DEBUG (SyncWorker_5) [midea_beautiful.appliance] Got capability b'\x1a\x02'
2022-08-29 12:19:23 DEBUG (SyncWorker_5) [midea_beautiful.lan] Getting more capabilities
2022-08-29 12:19:23 DEBUG (SyncWorker_5) [midea_beautiful.lan] Packet for: sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3 data=b'ZZ\x01\x11H\x00 \x00\x00\x00\x00\x00T\x17\x13\x0c\x1d\x08\x16\x14\xb1\x04\x00\x00\x00"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xeb7\xbbe\xdalO\xff\x96!\xa6\xad\x11\x1d|\x04G\x11\xe4\xb2\x00\xa9\xd8\x1e\x99\xb9F0\x9f\xf9\nt'
2022-08-29 12:19:23 DEBUG (SyncWorker_5) [midea_beautiful.lan] Sending to sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3, message=b"\x83p\x00n f\xac\xa0\xa2\r?\x9a\x14G\x84V\x08oB\x84\x0f\xdf\xa1\xa0\x93;\xefL\x91\x16\x10\x16\xe63RNa\xd6\x1c\xce\xc3\xd2]\xb1\xf2\xa8\xf06\x0c\x95kT\xbf\xa7E\xcc\xc4{\x8b'72\xc5\x1c?+K\xaa\xa6p\xcf\xcc\x88\x82;O\x05\xbeA\xe6n\x9d\xf3\xaa\xfb\xfb\x1f\x9al\xc4\x00%i\xa1{\x9brz\x84NYD\xf7;\x0b\x94Lf\xee\xfbh\xc0\x99\x80VT2\x02"
2022-08-29 12:19:24 DEBUG (SyncWorker_5) [midea_beautiful.lan] From sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3, message=b'\x83p\x00\x8e c\x8f\x88<\x9b\xe1\xd6\xa6\x91,\x05tf\x9b\x16;P\xbb\xfb\xc4J\xdcj\xber`o\x7f\xf1_\x00Js&\xe3\xda\rW\x06\xc2^#\xf6N\xfa]\xce;`\xc1^\xdb\x8b\xc3U+\x1bp\x85\xcf\xbc\x85\x8d\xeb\xe8\xaaR\xd3\xe5=\x1aA\n\xac\x881\xe9\x1b\x7f\x10\x99K\xee\xb4\x1fP\xb4\x0fY\xff#od~\xecl\xe4u7P\x8a\xc6.6\xffeTs\x9b,v\xe2uh\x91 \x96\xea\x11\x84!\xde\xaf\xa6\xd8T\xc0r\x7f\x8f9\xef\x8e.\xd1p\x9aoP\x0c\x0f \x1e\x81\xbf'
2022-08-29 12:19:24 DEBUG (SyncWorker_5) [midea_beautiful.lan] Got 1 response(s) from: sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3
2022-08-29 12:19:24 DEBUG (SyncWorker_5) [midea_beautiful.appliance] Got capability b'\x12\x02'
2022-08-29 12:19:24 DEBUG (SyncWorker_5) [midea_beautiful.appliance] Got capability b'\x13\x02'
2022-08-29 12:19:24 DEBUG (SyncWorker_5) [midea_beautiful.appliance] Got capability b'\x14\x02'
2022-08-29 12:19:24 DEBUG (SyncWorker_5) [midea_beautiful.appliance] Got capability b'\x15\x02'
2022-08-29 12:19:24 DEBUG (SyncWorker_5) [midea_beautiful.appliance] Got capability b'\x16\x02'
2022-08-29 12:19:24 DEBUG (SyncWorker_5) [midea_beautiful.appliance] Got capability b'\x17\x02'
2022-08-29 12:19:24 DEBUG (SyncWorker_5) [midea_beautiful.appliance] Got capability b'\x1a\x02'
2022-08-29 12:19:24 DEBUG (SyncWorker_5) [midea_beautiful.lan] Packet for: sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3 data=b'ZZ\x01\x11h\x00 \x00\x00\x00\x00\x00.\x18\x13\x0c\x1d\x08\x16\x14\xb1\x04\x00\x00\x00"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00k\x00\nv\xe2~\xed,6G\xe5}\x86\x02\xdf\x8b\xd7V\xdf\x085\xcdDV\x0e\xda4\xb9\x89-`\x877N\xc3\x92\x13\xbaALKqE\xc8< \xf0\x7fHo{\xc7\xa6\xcf_\xc4\xf5\xed\x01\xf9\xff\x00\xe0\xf9'
2022-08-29 12:19:24 DEBUG (SyncWorker_5) [midea_beautiful.lan] Sending to sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3, message=b'\x83p\x00\x8e f\xa1eGGg\x1b\x1d`T\xe0r\xc7\xd7:\xb7\xb5\x1d\xcc\xc3\xecA"\xd6\xa9HxJ\xcd\xcf\xf7\xc0\xe5gt\x84\x9b`jJ\x94\xf8\xc6\x82\x13\x9dD\x0eP^\x98aZ\xec0;O\xc5(O\x8c\xa2Sj\x9fj_0\x8d\xa4\x85\xa6K\x16\xa4-\x0b\xb6ixe\n\xee\xa7\xbcg\xc2\xad&fEW0\xd4}\xca\xefc\xd2\xf8\xdb|qH\xb5\xcff\xfe\xb4\xcc\xeeB\xca\x8d\xb2\xc6?\xaf\x16\xb2\r/\x85\xb2\xad\x0bt\x8dm\xd0\xe7n\xccx\x0e\x06\xf9\xa3\xd6k\x9f\xc5\xecF\xea'
2022-08-29 12:19:25 DEBUG (SyncWorker_5) [midea_beautiful.lan] From sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3, message=b"\x83p\x00\x8e c\xb8i\xf3\x878\x96\xb5\xb6\xd2\xcb\xa5\xb3\xfc\xf1^\x99\xcc\xe2\xac\xd1\xd2\xe0\xd5\xb0\xcd\x9f\xa6\x90-<G\x90\xfc\xea\xa0P\x1c\xc2/\xa5\xb8\r\xcdW\x1b\xa4`\xa3A\xfbW\x14\x19Xu\x80\xc2\x12i\xea\x86\n\xc8\x8ej\xfd\xdaEw\x14:K\xb7\x13\xa0\x9d\xfd\x8a\xec\xfd\x8a\xc8%=\x18\r\x86\xa4[9\xcfP\x8f\x00\xb6\x03\x0c\xc0[G\x91\xbb\xb3Li\x1d\xb8\xc5\x1fY\x8d\x00w\xa9\xe2]\x86\xe3sq\x7f\x90'i\x89\xfb\xfc=.\xf3\xcd\xdc\xc2(Y\xc9/\xa6\xd1\xfd}\xb4\xad\xbe"
2022-08-29 12:19:25 DEBUG (SyncWorker_5) [midea_beautiful.lan] Got 1 response(s) from: sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3
2022-08-29 12:19:25 DEBUG (SyncWorker_5) [midea_beautiful.lan] refresh sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3 responses=[b'\xaa"\xac\x00\x00\x00\x00\x00\x03\x03\xc0\x01Hf\x7f\x7f\x000\x00\x00\x00ak\x00\x00\x00\x00\x00\x00\x00\x00\x00\xfa\xdf\xea']
2022-08-29 12:19:25 DEBUG (SyncWorker_5) [midea_beautiful.appliance] AirConditionerResponse {'run_status': True, 'i_mode': False, 'timing_mode': False, 'quick_check': False, 'appliance_error': False, 'mode': 2, 'target_temperature': 24.0, 'fan_speed': 102, 'on_timer_set': False, 'on_timer_hours': 31, 'on_timer_minutes': 45, 'off_timer_set': False, 'off_timer_hours': 31, 'off_timer_minutes': 45, 'vertical_swing': 0, 'horizontal_swing': 0, 'comfort_sleep_value': 0, 'power_saving': False, 'low_frequency_fan': False, 'turbo_fan': False, 'feel_own': False, 'comfort_sleep': False, 'natural_wind': False, 'eco': False, 'purifier': False, 'dryer': False, 'ptc': 0, 'aux_heat': False, 'turbo': False, 'fahrenheit': False, 'prevent_freezing': False, 'pmv': -3.5, 'outdoor_temperature': 28.5, 'indoor_temperature': 23.5, 'err_code': 0, 'humidity': 0}
2022-08-29 12:19:25 DEBUG (SyncWorker_5) [midea_beautiful.lan] Identified appliance: {id=3738339534****, address=192.168*****, port=6444, version=3, name=37383395345585, online=True, type=0xac, subtype=acac, flags=0, extra=2, reserved=87, mac=c439605*****, ssid=net_ac_CD26, udp_version=0, protocol=150029, version=8.33.21, sn=000000P0000000Q1C4396059********, state=[Air conditioner]{id=3738339534****, type=0xac mode=2, running=True, turbo=False, fan_speed=102, turbo_fan=False, purifier=False, dryer=False, target_temperature=24.0, indoor_temperature=23.5, outdoor_temperature=28.5, vertical_swing=False horizontal_swing=False comfort_sleep=False, error_code=0, prompt=False, supports={'eco': 1, 'heat_8': 1, 'mode': 1, 'fan_swing': 1, 'electricity': 1, 'filter_reminder': 0, 'strong_fan': 1}}}
2022-08-29 12:19:25 DEBUG (SyncWorker_0) [midea_beautiful.lan] Packet for: sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3 data=b'ZZ\x01\x11h\x00 \x00\x00\x00\x00\x00\x16\x19\x13\x0c\x1d\x08\x16\x14\xb1\x04\x00\x00\x00"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00k\x00\nv\xe2~\xed,6G\xe5}\x86\x02\xdf\x8b\x9d\xf1\xee\xf7"\xcf\x96\xc5\x19\xff\x0f,\xb2U\x12\x03\xfe\xb6=\x0c\x9f\xcb\xd0y\xdf"\t\x1f\x8e\x81a<z\xa1\xa3\x8f\xe8I"LiZ\xe0\xdc\x88*\x9d]'
2022-08-29 12:19:25 DEBUG (SyncWorker_0) [midea_beautiful.lan] Sending to sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3, message=b'\x83p\x00\x8e f\xa7\xa0\xef\xc5\xc4j\xbf\xba\x9a\x9b\x0fQ\xb1\xa7\xf7?V\xd2b\x1cXje^\xc7u\xad;5\x1fE\xc9\xc1\r\xd8\xb0s\x1b\xae\xd0\xe0?\x934)\x8e\xf1\xbf\xbf\xca\xca^^\x99\x1b\xc9\xed\x10aA\xf7^\x93`.4\xe9\x82\x80\xb7T\x99\xb2\xb4\x97\xbaP\xc8e\xc8\x03\x05\xa2\x1cb\xf73\x0c\xbcV\xfc\xde\x19\x9a\x18R\xfe\x8d\x8f\x0e4\x03\x9by\x95bg\x1b\xadl\xdb\x17g\x04\xc4\t~{\xb6\x85{\xea\xac\x0c\xda~W8\x9b2\x90\xd5\xa79F\xe6\x9asV\x07\x18)V\x1c'
2022-08-29 12:19:25 DEBUG (SyncWorker_0) [midea_beautiful.lan] From sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3, message=b"\x83p\x00\x8e c\x19\xe0\xb1\x1a\xc0\xc8r\xd0\x02\xc98\xdf\xa0Rn\xe6\xfc\x94\x8a\xd3-\x1d\xa2\xe2$oU\x94\xcfv\xa6\xc7\xf5@\xb1m9\xa2$H\xf8\x83E\x0c\xb9\xae\xf0\xe2^'\xda\x01\x8d\x18\x89\xed\xb6p\xb2\xa0V\x0c\xbfO\xc3\xe5\xc8\xd9\xd4`:j\xdbWN\x81\xcau\xca\xd0d\xc0\xde\x95\xd8J\xd3VJ0\xa2\xc5\x8d\x05\x8c\xfa8\x12\x87\xc6#\x8f@\xf9\xe2<\xa1\t\x84m\xf41\xc8{!\x95D'\xd1\x07f\x0e\x0c\x18\xf6\x89\\\x15\x86\xce\xfayEf.LE\xf3\xda\xf8v\x8c\x1c\x11"
2022-08-29 12:19:25 DEBUG (SyncWorker_0) [midea_beautiful.lan] Got 1 response(s) from: sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3
2022-08-29 12:19:25 DEBUG (SyncWorker_0) [midea_beautiful.lan] refresh sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3 responses=[b'\xaa"\xac\x00\x00\x00\x00\x00\x03\x03\xc0\x01Hf\x7f\x7f\x000\x00\x00\x00ak\x00\x00\x00\x00\x00\x00\x00\x00\x00\xd7\x01\xeb']
2022-08-29 12:19:25 DEBUG (SyncWorker_0) [midea_beautiful.appliance] AirConditionerResponse {'run_status': True, 'i_mode': False, 'timing_mode': False, 'quick_check': False, 'appliance_error': False, 'mode': 2, 'target_temperature': 24.0, 'fan_speed': 102, 'on_timer_set': False, 'on_timer_hours': 31, 'on_timer_minutes': 45, 'off_timer_set': False, 'off_timer_hours': 31, 'off_timer_minutes': 45, 'vertical_swing': 0, 'horizontal_swing': 0, 'comfort_sleep_value': 0, 'power_saving': False, 'low_frequency_fan': False, 'turbo_fan': False, 'feel_own': False, 'comfort_sleep': False, 'natural_wind': False, 'eco': False, 'purifier': False, 'dryer': False, 'ptc': 0, 'aux_heat': False, 'turbo': False, 'fahrenheit': False, 'prevent_freezing': False, 'pmv': -3.5, 'outdoor_temperature': 28.5, 'indoor_temperature': 23.5, 'err_code': 0, 'humidity': 0}
2022-08-29 12:20:25 DEBUG (SyncWorker_1) [midea_beautiful.lan] Packet for: sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3 data=b'ZZ\x01\x11h\x00 \x00\x00\x00\x00\x00\x00\x19\x14\x0c\x1d\x08\x16\x14\xb1\x04\x00\x00\x00"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00k\x00\nv\xe2~\xed,6G\xe5}\x86\x02\xdf\x8b\xc4\xaf\x17-b}\xc2a\xb3P\x11w\r\x10\x13\x06*;\x1cC\xd2\xf1\xc0\x8a\xe8v\x85\x02\xa2*\x83kG\x18B\xa8\x87DM\xcc\x07\x16\x8bj\xeej#\x8a'
2022-08-29 12:20:25 DEBUG (SyncWorker_1) [midea_beautiful.lan] Sending to sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3, message=b'\x83p\x00\x8e f\x1f]=\xfa\xeeh\xb1\xc6\xe7R\xf1\x96vn\x0b\x8dE\xf7K\xf4\xb9\xf1\x8b\xd4\x04\xe9a\xba\xa0?\xb5\x7f\xda\xa6]$\xfd\xa2^f\x9e\xd74\\\x92\xb1\x16\x8a^\x8fV|\x16\x83\xec\xd7`[\xcc\x153\xd7\xe7\xf97x\x99OC\x16h\xba\xdf\x7fi\xe1\x0fU\x9b\xfcs\xc79\xea\x9b\xb0M\x8a\t\x83\x07\xe7z\xa7[n[\xb7\xdb^C\xad\xf8\x89~M.\x00f\x12\x99\x02\x04\xc0\x84e\xfe\x1d\n\xae\xa8\x8e\x06\xce:\x96\xa4\xc4\xc1Y\x12k\xce\xe8\x10\x9f0pP\xd2\xfd\x90\xc0\xd4'
2022-08-29 12:20:25 DEBUG (SyncWorker_1) [midea_beautiful.lan] From sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3, message=b''
2022-08-29 12:20:25 DEBUG (SyncWorker_1) [midea_beautiful.lan] Socket sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3 closed, creating new socket
2022-08-29 12:20:25 DEBUG (SyncWorker_1) [midea_beautiful.lan] Attempting new connection to sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3
2022-08-29 12:20:25 DEBUG (SyncWorker_1) [midea_beautiful.lan] Sending to sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3, message=b'\x83p\x00@ \x00\x00\x06\xc4d\\\x7f|\t\xd1\x95sE\x0b\x1dR\x86^4\xa1\t\xca\xddb7\x9fvx\x1e\xc2\xf6\x13\xaa$\xf4\x04\x88\xf5\r\xd8\x9c\x92\x11\xef\xa0\x9ekO\x9c\xd6z\x84\xba\x7f\x89sr\x1da\xac\x99\tQ\xd2\xd8i\xd4'
2022-08-29 12:20:25 DEBUG (SyncWorker_1) [midea_beautiful.lan] From sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3, message=b'\x83p\x00@ \x01-L\xd3\xbd\x0e\x11H\x16\xafG\x1e\x99\xd6\x1fS56\x94\xccI\xbf\xdc\x0f\x98ws\x1d\xee\xaf/\xf1\xc8x\x17d"x\x02\x9c\xb6\x13\xbd\x95\x931?\x17\x08\xcf\x861\x10_\x968\x9c\x1b\n\x9f\x89\xd6\xc0\xb6p\x0e1'
2022-08-29 12:20:25 DEBUG (SyncWorker_1) [midea_beautiful.lan] Got TCP key for: sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3
2022-08-29 12:20:26 DEBUG (SyncWorker_1) [midea_beautiful.lan] Sending to sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3, message=b'\x83p\x00\x8e f\xf0FU\x17\xc9\xdd\xc8\xe0\x88tP\x1a-U\xfaC{\xaf\x0cm1\x19\xea\xb3\x06C\x9a\x95.X\x19f@\xfd\x17\xbaj0\xe7\x93!\xeex%\t\xef\nsA?\n\x17\x82\x9b+\xa37\xbbth\x91\xc3\xf6 \x9e\xf2\xbd\x01q#\xa8\xb4\x8a\x96\x8d+\xf9\xd1\x90\xa3\x7f\x9cL\x9d\x14\xden8n\t;\x7f\xb6\x19t3\x9d\x19\xd6J\xa5]\xde\xe6a&\xa5\x00k\x8e@l\xdf\x8aU\xa9q\xdbt\xe4\xc3(\x81\xb9"C\x93Y\x8d\x0bw\xac>\x07\x9do\xa9\xe4\x98G\xcf\x08q\x07'
2022-08-29 12:20:28 DEBUG (SyncWorker_1) [midea_beautiful.lan] Timeout receiving from sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3: timed out
2022-08-29 12:20:30 DEBUG (SyncWorker_1) [midea_beautiful.lan] Sending to sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3, message=b"\x83p\x00\x8e f#w\x8d\xb1Z\x18\x8f\x99\xe3\x7f\xac\xbc<=s\xa4\x0b8\xab\x8f\x8c\xfe\xcd[\xe0\xe5\x8eP\xbcn\x88y\x03\xaf\xbc\x05\xceP}\x88\xaecx\x19\xd4G9\xe8e~#\xf0\x92\xfd\x89\xe1\x7f8J*Li\x12\xbc\xce\xa1x'[\xb4\xd1xvav\x97\x10\x1a(P\x9cKJT\xdf\xd0\xf3\xc2E\xd8\xdf8\x820Mn\xe4p\xe2\x15\xa52\xbb\x7f9\xa1\x8e\xf4j\x98T\x18\xf2\xc9B,\xb2N8\xf4\x16p0\xed\xe7\xbcZ\xbfM\xb7\x0f7\x83\xc2p\xa5[\xd8\xcd\x1e+\xc9D\xcf"
2022-08-29 12:20:30 DEBUG (SyncWorker_1) [midea_beautiful.lan] From sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3, message=b'\x83p\x00\x8e c\xc9\xfe\xb4\xefA\xa9\x14\x99\x1c\xb2j\xe6\x815\xa1%/\xc6,wkjX\x16\xf3\x1bh\xb3\x9aB90\xfb\x9b\xca\xd6\x0c\xfed\xb4Z\x13\x97\x1e\xad\xff\n\x94\xe8\xe6\x88b\x15\x02*\x9b\x0b\r\xc2\x00&\xe6\x9d\xb8h_\x1a\xd8H\x84x\x7f\xe0\xcf\x99\xe2\xb4\xa2x\xd79+aS\x1b\xc4\x8a\x03O\xab\xe5U\xc7\xaamL\x94Z]\xd40\x99c\xff0\xe3~b\x08\x99\n\xfe\x9c\x0e\x82\xfd\xc9\xa65E-\x8c\x98\xc6\xcc\x91\xbd\x9e\x1a\x11\xe6\xe2\x93\x9d^W%\xc4\xb2W\x92\x86\xaem'
2022-08-29 12:20:30 DEBUG (SyncWorker_1) [midea_beautiful.lan] Got 1 response(s) from: sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3
2022-08-29 12:20:30 DEBUG (SyncWorker_1) [midea_beautiful.lan] refresh sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3 responses=[b'\xaa"\xac\x00\x00\x00\x00\x00\x03\x03\xc0\x01HP\x7f\x7f\x000\x00\x00\x00ak\x00\x00\x00\x00\x00\x00\x00\x00\x00\x9c\xcbr']
2022-08-29 12:20:30 DEBUG (SyncWorker_1) [midea_beautiful.appliance] AirConditionerResponse {'run_status': True, 'i_mode': False, 'timing_mode': False, 'quick_check': False, 'appliance_error': False, 'mode': 2, 'target_temperature': 24.0, 'fan_speed': 80, 'on_timer_set': False, 'on_timer_hours': 31, 'on_timer_minutes': 45, 'off_timer_set': False, 'off_timer_hours': 31, 'off_timer_minutes': 45, 'vertical_swing': 0, 'horizontal_swing': 0, 'comfort_sleep_value': 0, 'power_saving': False, 'low_frequency_fan': False, 'turbo_fan': False, 'feel_own': False, 'comfort_sleep': False, 'natural_wind': False, 'eco': False, 'purifier': False, 'dryer': False, 'ptc': 0, 'aux_heat': False, 'turbo': False, 'fahrenheit': False, 'prevent_freezing': False, 'pmv': -3.5, 'outdoor_temperature': 28.5, 'indoor_temperature': 23.5, 'err_code': 0, 'humidity': 0}

albertdb avatar Aug 29 '22 10:08 albertdb

@georgezhao2010 @albertdb I definitely agree that this integration is a lot better to work with and would be near perfect if we could get the polling to work. The only other weird quirk is that from within HA while the AC in in Cool mode, if I change the temp to 75F, it stays for a second and then bounces to 73F. Let me know if theres anything I can do to help troubleshoot.

Well, I need your debug logs.

Will do. I can switch back to your integration later tonight and then pull the logs for you.

Could you catch more logs in Midea Air Appliances (LAN) for me?

logger:
  logs:
    custom_components.midea_dehumidifier_lan: debug
    midea_beautiful: debug

...

Thank you, i'll take a look.

georgezhao2010 avatar Aug 29 '22 11:08 georgezhao2010

@georgezhao2010 @albertdb I definitely agree that this integration is a lot better to work with and would be near perfect if we could get the polling to work. The only other weird quirk is that from within HA while the AC in in Cool mode, if I change the temp to 75F, it stays for a second and then bounces to 73F. Let me know if theres anything I can do to help troubleshoot.

Well, I need your debug logs.

Will do. I can switch back to your integration later tonight and then pull the logs for you.

Could you catch more logs in Midea Air Appliances (LAN) for me?

logger:
  logs:
    custom_components.midea_dehumidifier_lan: debug
    midea_beautiful: debug

...

Why are no logs from midea_dehumidifier_lan instead all from midea_beautiful?

georgezhao2010 avatar Aug 29 '22 11:08 georgezhao2010

@georgezhao2010 @albertdb I definitely agree that this integration is a lot better to work with and would be near perfect if we could get the polling to work. The only other weird quirk is that from within HA while the AC in in Cool mode, if I change the temp to 75F, it stays for a second and then bounces to 73F. Let me know if theres anything I can do to help troubleshoot.

Well, I need your debug logs.

Will do. I can switch back to your integration later tonight and then pull the logs for you.

Could you catch more logs in Midea Air Appliances (LAN) for me?

logger:
  logs:
    custom_components.midea_dehumidifier_lan: debug
    midea_beautiful: debug

Why are no logs from midea_dehumidifier_lan instead all from midea_beautiful?

Filtered. Nothing meaningful in those.

albertdb avatar Aug 29 '22 12:08 albertdb

@georgezhao2010 @albertdb I definitely agree that this integration is a lot better to work with and would be near perfect if we could get the polling to work. The only other weird quirk is that from within HA while the AC in in Cool mode, if I change the temp to 75F, it stays for a second and then bounces to 73F. Let me know if theres anything I can do to help troubleshoot.

Well, I need your debug logs.

Will do. I can switch back to your integration later tonight and then pull the logs for you.

Could you catch more logs in Midea Air Appliances (LAN) for me?

logger:
  logs:
    custom_components.midea_dehumidifier_lan: debug
    midea_beautiful: debug

Why are no logs from midea_dehumidifier_lan instead all from midea_beautiful?

Filtered. Nothing meaningful in those.

It's encrypted and unaccountable.

georgezhao2010 avatar Aug 29 '22 15:08 georgezhao2010

@georgezhao2010 @albertdb I definitely agree that this integration is a lot better to work with and would be near perfect if we could get the polling to work. The only other weird quirk is that from within HA while the AC in in Cool mode, if I change the temp to 75F, it stays for a second and then bounces to 73F. Let me know if theres anything I can do to help troubleshoot.

Well, I need your debug logs.

Will do. I can switch back to your integration later tonight and then pull the logs for you.

Could you catch more logs in Midea Air Appliances (LAN) for me?

logger:
  logs:
    custom_components.midea_dehumidifier_lan: debug
    midea_beautiful: debug

Why are no logs from midea_dehumidifier_lan instead all from midea_beautiful?

Filtered. Nothing meaningful in those.

It's encrypted and unaccountable.

Would any of the tokens serve for decrypting? Just ask and I will provide.

albertdb avatar Aug 29 '22 15:08 albertdb

@georgezhao2010 @albertdb I definitely agree that this integration is a lot better to work with and would be near perfect if we could get the polling to work. The only other weird quirk is that from within HA while the AC in in Cool mode, if I change the temp to 75F, it stays for a second and then bounces to 73F. Let me know if theres anything I can do to help troubleshoot.

Well, I need your debug logs.

Will do. I can switch back to your integration later tonight and then pull the logs for you.

Could you catch more logs in Midea Air Appliances (LAN) for me?

logger:
  logs:
    custom_components.midea_dehumidifier_lan: debug
    midea_beautiful: debug

Why are no logs from midea_dehumidifier_lan instead all from midea_beautiful?

Filtered. Nothing meaningful in those.

It's encrypted and unaccountable.

Would any of the tokens serve for decrypting? Just ask and I will provide.

No need, it's dynamic crypto-key be called "TCP key" showing in your logs

2022-08-29 12:19:18 DEBUG (SyncWorker_5) [midea_beautiful.lan] Got TCP key for: sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3

georgezhao2010 avatar Aug 29 '22 17:08 georgezhao2010

@georgezhao2010 @albertdb I definitely agree that this integration is a lot better to work with and would be near perfect if we could get the polling to work. The only other weird quirk is that from within HA while the AC in in Cool mode, if I change the temp to 75F, it stays for a second and then bounces to 73F. Let me know if theres anything I can do to help troubleshoot.

Well, I need your debug logs.

Will do. I can switch back to your integration later tonight and then pull the logs for you.

Could you catch more logs in Midea Air Appliances (LAN) for me?

logger:
  logs:
    custom_components.midea_dehumidifier_lan: debug
    midea_beautiful: debug

Why are no logs from midea_dehumidifier_lan instead all from midea_beautiful?

Filtered. Nothing meaningful in those.

It's encrypted and unaccountable.

Would any of the tokens serve for decrypting? Just ask and I will provide.

No need, it's dynamic crypto-key be called "TCP key" showing in your logs

2022-08-29 12:19:18 DEBUG (SyncWorker_5) [midea_beautiful.lan] Got TCP key for: sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3

Should be loggable, right? We can modify the other integration code.

albertdb avatar Aug 29 '22 17:08 albertdb

@georgezhao2010 @albertdb I definitely agree that this integration is a lot better to work with and would be near perfect if we could get the polling to work. The only other weird quirk is that from within HA while the AC in in Cool mode, if I change the temp to 75F, it stays for a second and then bounces to 73F. Let me know if theres anything I can do to help troubleshoot.

Well, I need your debug logs.

Will do. I can switch back to your integration later tonight and then pull the logs for you.

Could you catch more logs in Midea Air Appliances (LAN) for me?

logger:
  logs:
    custom_components.midea_dehumidifier_lan: debug
    midea_beautiful: debug

Why are no logs from midea_dehumidifier_lan instead all from midea_beautiful?

Filtered. Nothing meaningful in those.

It's encrypted and unaccountable.

Would any of the tokens serve for decrypting? Just ask and I will provide.

No need, it's dynamic crypto-key be called "TCP key" showing in your logs

2022-08-29 12:19:18 DEBUG (SyncWorker_5) [midea_beautiful.lan] Got TCP key for: sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3

Should be loggable, right? We can modify the other integration code.

Better to log sent and received unencrypted messages if you can.

georgezhao2010 avatar Aug 29 '22 17:08 georgezhao2010

@georgezhao2010 @albertdb I definitely agree that this integration is a lot better to work with and would be near perfect if we could get the polling to work. The only other weird quirk is that from within HA while the AC in in Cool mode, if I change the temp to 75F, it stays for a second and then bounces to 73F. Let me know if theres anything I can do to help troubleshoot.

Well, I need your debug logs.

Will do. I can switch back to your integration later tonight and then pull the logs for you.

Could you catch more logs in Midea Air Appliances (LAN) for me?

logger:
  logs:
    custom_components.midea_dehumidifier_lan: debug
    midea_beautiful: debug

Why are no logs from midea_dehumidifier_lan instead all from midea_beautiful?

Filtered. Nothing meaningful in those.

It's encrypted and unaccountable.

Would any of the tokens serve for decrypting? Just ask and I will provide.

No need, it's dynamic crypto-key be called "TCP key" showing in your logs

2022-08-29 12:19:18 DEBUG (SyncWorker_5) [midea_beautiful.lan] Got TCP key for: sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3

Should be loggable, right? We can modify the other integration code.

Better to log sent and received unencrypted messages if you can.

Right. Any hint?

albertdb avatar Aug 29 '22 17:08 albertdb

@georgezhao2010 @albertdb I definitely agree that this integration is a lot better to work with and would be near perfect if we could get the polling to work. The only other weird quirk is that from within HA while the AC in in Cool mode, if I change the temp to 75F, it stays for a second and then bounces to 73F. Let me know if theres anything I can do to help troubleshoot.

Well, I need your debug logs.

Will do. I can switch back to your integration later tonight and then pull the logs for you.

Could you catch more logs in Midea Air Appliances (LAN) for me?

logger:
  logs:
    custom_components.midea_dehumidifier_lan: debug
    midea_beautiful: debug

Why are no logs from midea_dehumidifier_lan instead all from midea_beautiful?

Filtered. Nothing meaningful in those.

It's encrypted and unaccountable.

Would any of the tokens serve for decrypting? Just ask and I will provide.

No need, it's dynamic crypto-key be called "TCP key" showing in your logs

2022-08-29 12:19:18 DEBUG (SyncWorker_5) [midea_beautiful.lan] Got TCP key for: sn=000000P0000000Q1C4396059******** id=3738339534**** address=192.168***** version=3

Should be loggable, right? We can modify the other integration code.

Better to log sent and received unencrypted messages if you can.

Right. Any hint?

I found it.

When you configure the Midea Air Appliances (LAN), you must check "Advanced settings" in first page and must check "Advanced debug mode" in Advanced settings page.

So you need remove the existing configuration and re-configure it, then more information (e.g. unencrypted messages) is logged.

georgezhao2010 avatar Aug 29 '22 18:08 georgezhao2010