Skip to content

Issue vaccum gen 2 - HA 0.64 -> 0.65 Python 3.6.0 -> 3.7.0 #261

Closed
@thelittlefireman

Description

@thelittlefireman

Hi,
I've got a strange issue with my vaccum Gen 2
The error start appear in 0.64.0, but i still can send command to the vaccum and it's works.
But i can't get access to my Xiaomi philips Light and HA still saying : Platform xiaomi_miio not ready yet. Retrying in 180 seconds.

Logs:

2018-03-10 15:03:27 WARNING (MainThread) [homeassistant.components.light] Platform xiaomi_miio not ready yet. Retrying in 180 seconds.
2018-03-10 15:03:27 WARNING (MainThread) [homeassistant.components.light] Platform xiaomi_miio not ready yet. Retrying in 180 seconds.
2018-03-10 15:03:27 DEBUG (SyncWorker_0) [miio.device] 192.168.1.31:54321 >>: {'id': 4486, 'method': 'get_status'}
2018-03-10 15:03:32 ERROR (SyncWorker_0) [miio.device] Got error when receiving: timed out
2018-03-10 15:03:32 WARNING (SyncWorker_0) [miio.device] Retrying with incremented id, retries left: 3
2018-03-10 15:03:32 DEBUG (SyncWorker_0) [miio.protocol] Unable to decrypt, returning raw bytes: b''
2018-03-10 15:03:32 DEBUG (SyncWorker_0) [miio.device] 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\x04p\x96\xb6Z\xa3\xe5\xb4' (total 16)
        value = Container: 
            length = 32
            unknown = 0
            device_id = b'\x04p\x96\xb6' (total 4)
            ts = 2018-03-10 14:03:32
        offset1 = 0
        offset2 = 16
        length = 16
    checksum = b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff' (total 16)
2018-03-10 15:03:32 DEBUG (SyncWorker_0) [miio.device] Discovered 047096b6 with ts: 2018-03-10 14:03:32, token: b'ffffffffffffffffffffffffffffffff'
2018-03-10 15:03:32 DEBUG (SyncWorker_0) [miio.device] 192.168.1.31:54321 >>: {'id': 4587, 'method': 'get_status'}
2018-03-10 15:03:32 DEBUG (SyncWorker_0) [miio.device] 192.168.1.31:54321 (ts: 2018-03-10 14:03:32, id: 4587) << {'result': [{'msg_ver': 2, 'msg_seq': 1836, 'state': 8, 'battery': 100, 'clean_time': 1442, 'clean_area': 24165000, 'error_code': 0, 'map_present': 1, 'in_cleaning': 0, 'fan_power': 100, 'dnd_enabled': 0}], 'id': 4587}
2018-03-10 15:03:32 DEBUG (SyncWorker_0) [miio.device] 192.168.1.31:54321 >>: {'id': 4588, 'method': 'get_consumable'}
��
8-03-10 15:03:32 DEBUG (SyncWorker_0) [miio.device] 192.168.1.31:54321 (ts: 2018-03-10 14:03:32, id: 4588) << {'result': [{'main_brush_work_time': 26638, 'side_brush_work_time': 26638, 'filter_work_time': 26638, 'sensor_dirty_time': 26288}], 'id': 4588}
2018-03-10 15:03:32 DEBUG (SyncWorker_0) [miio.device] 192.168.1.31:54321 >>: {'id': 4589, 'method': 'get_clean_summary'}
2018-03-10 15:03:32 DEBUG (SyncWorker_0) [miio.device] 192.168.1.31:54321 (ts: 2018-03-10 14:03:32, id: 4589) << {'result': [26288, 413215000, 37, [1520533161, 1520496418, 1520088061, 1520013846, 1519554025, 1519553658, 1519552594, 1519548906, 1519239786, 1519238871, 1519237057, 1519237022, 1518873856, 1518806910, 1518733480, 1518733395, 1518719754, 1518719377, 1518718357, 1518718298]], 'id': 4589}
2018-03-10 15:03:32 DEBUG (SyncWorker_0) [miio.device] 192.168.1.31:54321 >>: {'id': 4590, 'method': 'get_dnd_timer'}
2018-03-10 15:03:32 DEBUG (SyncWorker_0) [miio.device] 192.168.1.31:54321 (ts: 2018-03-10 14:03:32, id: 4590) << {'result': [{'start_hour': 22, 'start_minute': 0, 'end_hour': 8, 'end_minute': 0, 'enabled': 0}], 'id': 4590}
2018-03-10 15:03:48 DEBUG (SyncWorker_14) [miio.device] 192.168.1.31:54321 >>: {'id': 4591, 'method': 'get_status'}
2018-03-10 15:03:48 DEBUG (SyncWorker_14) [miio.device] 192.168.1.31:54321 (ts: 2018-03-10 14:03:48, id: 4591) << {'result': [{'msg_ver': 2, 'msg_seq': 1837, 'state': 8, 'battery': 100, 'clean_time': 1442, 'clean_area': 24165000, 'error_code': 0, 'map_present': 1, 'in_cleaning': 0, 'fan_power': 100, 'dnd_enabled': 0}], 'id': 4591}
2018-03-10 15:03:48 DEBUG (SyncWorker_14) [miio.device] 192.168.1.31:54321 >>: {'id': 4592, 'method': 'get_consumable'}
2018-03-10 15:03:48 DEBUG (SyncWorker_14) [miio.device] 192.168.1.31:54321 (ts: 2018-03-10 14:03:48, id: 4592) << {'result': [{'main_brush_work_time': 26638, 'side_brush_work_time': 26638, 'filter_work_time': 26638, 'sensor_dirty_time': 26288}], 'id': 4592}
2018-03-10 15:03:48 DEBUG (SyncWorker_14) [miio.device] 192.168.1.31:54321 >>: {'id': 4593, 'method': 'get_clean_summary'}
2018-03-10 15:03:48 DEBUG (SyncWorker_14) [miio.device] 192.168.1.31:54321 (ts: 2018-03-10 14:03:48, id: 4593) << {'result': [26288, 413215000, 37, [1520533161, 1520496418, 1520088061, 1520013846, 1519554025, 1519553658, 1519552594, 1519548906, 1519239786, 1519238871, 1519237057, 1519237022, 1518873856, 1518806910, 1518733480, 1518733395, 1518719754, 1518719377, 1518718357, 1518718298]], 'id': 4593}
2018-03-10 15:03:48 DEBUG (SyncWorker_14) [miio.device] 192.168.1.31:54321 >>: {'id': 4594, 'method': 'get_dnd_timer'}
2018-03-10 15:03:48 DEBUG (SyncWorker_14) [miio.device] 192.168.1.31:54321 (ts: 2018-03-10 14:03:48, id: 4594) << {'result': [{'start_hour': 22, 'start_minute': 0, 'end_hour': 8, 'end_minute': 0, 'enabled': 0}], 'id': 4594}
2018-03-10 15:04:09 DEBUG (SyncWorker_5) [miio.device] 192.168.1.31:54321 >>: {'id': 4595, 'method': 'get_status'}
2018-03-10 15:04:09 DEBUG (SyncWorker_5) [miio.device] 192.168.1.31:54321 (ts: 2018-03-10 14:04:09, id: 4595) << {'result': [{'msg_ver': 2, 'msg_seq': 1838, 'state': 8, 'battery': 100, 'clean_time': 1442, 'clean_area': 24165000, 'error_code': 0, 'map_present': 1, 'in_cleaning': 0, 'fan_power': 100, 'dnd_enabled': 0}], 'id': 4595}
2018-03-10 15:04:09 DEBUG (SyncWorker_5) [miio.device] 192.168.1.31:54321 >>: {'id': 4596, 'method': 'get_consumable'}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions