Hello all!
I am trying to integrate my Xiaomi Humidifier (CA1) into Home Assistant (0.110.4).
Configuration:
# Xiaomi Humidifier
fan:
- platform: xiaomi_miio
host: 192.168.10.187
token: <<MY_TOKEN>>
model: zhimi.humidifier.ca1
name: Humidifier
My error:
2020-06-03 11:18:03 DEBUG (SyncWorker_1) [miio.protocol] Unable to decrypt, returning raw bytes: b''
2020-06-03 11:18:03 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\x12k\x16\x1f^\xd7\\\xbb' (total 16)
value = Container:
length = 32
unknown = 0
device_id = b'\x12k\x16\x1f' (total 4)
ts = 2020-06-03 08:18:03
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)
2020-06-03 11:18:08 ERROR (SyncWorker_2) [miio.miioprotocol] Unable to discover a device at address 192.168.10.187
2020-06-03 11:18:08 WARNING (MainThread) [homeassistant.components.fan] Platform xiaomi_miio not ready yet. Retrying in 30 seconds.
The strange part:
I cant discover this humidifer manually using mirobo discover --handshake 1 after I pair it with Mi Home.
It can be however discovered then I factory reset it, BUT only once. After I make a first handshake device is no longer discoverable (but works perfectly with Mi Home).
My device and Home assistant are on the same network (no VLANs present).
Using the latest python-miio (0.5.0.1)
Any ideas? I’ll appreciate it. Thanks.