syssi / xiaomi_airconditioningcompanion

Xiaomi Mi and Aqara Air Conditioning Companion integration for Home Assistant
Apache License 2.0
394 stars 93 forks source link

recent problem #142

Closed foXaCe closed 2 years ago

foXaCe commented 2 years ago

hello,

everything has been working fine for two years with my lumi.acpartner.v3. but since yesterday it no longer works.

ERROR (MainThread) [custom_components.xiaomi_miio_airconditioningcompanion.climate] Unable to update from sensor: could not convert string to float: 'unavailable'

2022-01-11 13:12:18 DEBUG (SyncWorker_1) [miio.click_common] Unknown model, trying autodetection. None None 2022-01-11 13:12:18 DEBUG (SyncWorker_5) [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\x08\x0b\xe9\x00\x01Nk' (total 16) value = Container: length = 32 unknown = 0 device_id = unhexlify('080b60e9') ts = 1970-01-01 23:46:51 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) 2022-01-11 13:12:18 DEBUG (SyncWorker_1) [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\x05\x9a&^\x00\x01NH' (total 16) value = Container: length = 32 unknown = 0 device_id = unhexlify('059a265e') ts = 1970-01-01 23:46:16 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) 2022-01-11 13:12:18 DEBUG (SyncWorker_5) [miio.miioprotocol] Discovered 080b60e9 with ts: 1970-01-01 23:46:51, token: b'00000000000000000000000000000000' 2022-01-11 13:12:18 DEBUG (SyncWorker_1) [miio.miioprotocol] Discovered 059a265e with ts: 1970-01-01 23:46:16, token: b'00000000000000000000000000000000' 2022-01-11 13:12:18 DEBUG (SyncWorker_5) [miio.miioprotocol] 192.168.1.49:54321 >>: {'id': 1, 'method': 'miIO.info', 'params': []} 2022-01-11 13:12:18 DEBUG (SyncWorker_1) [miio.miioprotocol] 192.168.1.68:54321 >>: {'id': 1, 'method': 'miIO.info', 'params': []} 2022-01-11 13:12:18 DEBUG (SyncWorker_5) [miio.miioprotocol] 192.168.1.49:54321 (ts: 1970-01-01 23:46:51, id: 1) << {'result': {'life': 85611, 'cfg_time': 0, 'token': 'xx', 'mac': 'xx', 'fw_ver': '1.4.1_162', 'hw_ver': 'MW300', 'model': 'lumi.acpartner.v3', 'mcu_fw_ver': '0149', 'wifi_fw_ver': 'SD878x-14.76.36.p84-702.1.0-WM', 'ap': {'rssi': -49, 'ssid': 'NewHopeHome', 'bssid': '34:27:92:D5:D4:48'}, 'netif': {'localIp': '192.168.1.49', 'mask': '255.255.255.0', 'gw': '192.168.1.254', 'gw_mac': '34:27:92:62:EE:36'}, 'mmfree': 154184, 'ot': 'otu', 'otu_stat': [466, 374, 708, 2, 705, 424], 'ott_stat': [0, 0, 0, 0]}, 'id': 1} 2022-01-11 13:12:18 DEBUG (SyncWorker_5) [miio.device] Detected model lumi.acpartner.v3 2022-01-11 13:12:18 DEBUG (SyncWorker_5) [miio.miioprotocol] 192.168.1.49:54321 >>: {'id': 2, 'method': 'get_device_prop', 'params': ['lumi.0', 'device_list']} 2022-01-11 13:12:18 DEBUG (SyncWorker_1) [miio.miioprotocol] 192.168.1.68:54321 (ts: 1970-01-01 23:46:16, id: 1) << {'result': {'life': 85576, 'cfg_time': 0, 'token': 'x', 'mac': 'xx', 'fw_ver': '1.4.1_162', 'hw_ver': 'MW300', 'model': 'lumi.acpartner.v3', 'mcu_fw_ver': '0149', 'wifi_fw_ver': 'SD878x-14.76.36.p84-702.1.0-WM', 'ap': {'rssi': -55, 'ssid': 'NewHopeHome', 'bssid': '34:27:92:D5:D4:48'}, 'netif': {'localIp': '192.168.1.68', 'mask': '255.255.255.0', 'gw': '192.168.1.254', 'gw_mac': '34:27:92:62:EE:36'}, 'mmfree': 154048, 'ot': 'otu', 'otu_stat': [649, 443, 902, 0, 899, 428], 'ott_stat': [0, 0, 0, 0]}, 'id': 1} 2022-01-11 13:12:18 DEBUG (SyncWorker_1) [miio.device] Detected model lumi.acpartner.v3 2022-01-11 13:12:18 DEBUG (SyncWorker_1) [miio.miioprotocol] 192.168.1.68:54321 >>: {'id': 2, 'method': 'get_device_prop', 'params': ['lumi.0', 'device_list']} 2022-01-11 13:12:18 DEBUG (SyncWorker_5) [miio.miioprotocol] 192.168.1.49:54321 (ts: 1970-01-01 23:46:51, id: 2) << {'result': [], 'id': 2} 2022-01-11 13:12:18 DEBUG (SyncWorker_1) [miio.miioprotocol] 192.168.1.68:54321 (ts: 1970-01-01 23:46:16, id: 2) << {'result': [], 'id': 2}

syssi commented 2 years ago

Please update the custom component and try again. It should be fixed now.