Closed 523295116 closed 3 years ago
2020-11-03 09:57:54 INFO (MainThread) [custom_components.xiaomi_miio_airconditioningcompanion.climate] Initializing with host 192.168.2.138 (token 18ab9...)
2020-11-03 09:57:54 DEBUG (MainThread) [miio.protocol] Unable to decrypt, returning raw bytes: b''
2020-11-03 09:57:54 DEBUG (MainThread) [miio.miioprotocol] Got a response: Container:
data = Container:
data = b'' (total 0)
value = b'' (total 0)
offset1 = 32
offset2 = 32
length = 0
header = Container:
data = b'!1\x00 \x00\x00\x00\x00\x03_S\xb4\x00\x00\x06\n' (total 16)
value = Container:
length = 32
unknown = 0
device_id = unhexlify('035f53b4')
ts = 1970-01-01 00:25:46
offset1 = 0
offset2 = 16
length = 16
checksum = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' (total 16)
2020-11-03 09:57:54 DEBUG (MainThread) [miio.miioprotocol] Discovered 035f53b4 with ts: 1970-01-01 00:25:46, token: b'00000000000000000000000000000000'
2020-11-03 09:57:54 DEBUG (MainThread) [miio.miioprotocol] 192.168.2.138:54321 >>: {'id': 1, 'method': 'miIO.info', 'params': []}
2020-11-03 09:57:54 DEBUG (MainThread) [miio.miioprotocol] 192.168.2.138:54321 (ts: 1970-01-01 00:25:46, id: 1) << {'result': {'life': 1546, 'cfg_time': 0, 'token': '18ab9ad27befe8853f0ba5e25bfe9d4a', 'mac': '34:CE:00:85:76:55', 'fw_ver': '1.4.1_153', 'hw_ver': 'MW300', 'model': 'lumi.acpartner.v2', 'mcu_fw_ver': '0148', 'wifi_fw_ver': 'SD878x-14.76.36.p84-702.1.0-WM', 'ap': {'rssi': -27, 'ssid': 'PDCN', 'bssid': '2E:B2:1A:EF:4B:75'}, 'netif': {'localIp': '192.168.2.138', 'mask': '255.255.255.0', 'gw': '192.168.2.2', 'gw_mac': 'FC:7C:02:4D:BF:42'}, 'mmfree': 163680, 'ot': 'ott', 'otu_stat': [85, 32, 25, 4, 17, 407], 'ott_stat': [1, 0, 5, 3]}, 'id': 1}
2020-11-03 09:57:54 INFO (MainThread) [custom_components.xiaomi_miio_airconditioningcompanion.climate] lumi.acpartner.v2 1.4.1_153 MW300 detected
2020-11-03 09:57:54 DEBUG (SyncWorker_4) [miio.miioprotocol] 192.168.2.138:54321 >>: {'id': 2, 'method': 'get_model_and_state', 'params': []}
2020-11-03 09:57:54 DEBUG (SyncWorker_4) [miio.miioprotocol] 192.168.2.138:54321 (ts: 1970-01-01 00:25:46, id: 2) << {'result': ['010500420000813901', '0110311E0100008139', '0'], 'id': 2}
2020-11-03 09:57:55 DEBUG (MainThread) [custom_components.xiaomi_miio_airconditioningcompanion.climate] Got new state:
Dupliate #118.
Curiously, the home assistant can only turn off the air conditioning, heating or other operations. The MI home app displays the same operation. But the actual air conditioning did not receive the infrared command. But it's normal for me to control the air conditioner companion switch with Xiaoai smart speaker, If the maximum log is configured, it still doesn't work