Closed nhok3296 closed 4 years ago
You can follow the integration of air purifier at https://github.com/home-assistant/core/pull/31729. It requires a new release of python-miio which I'm planning to do soon.
Adding support for Viomi vacuums will require some changes to the vacuum integration, I have not yet seen any PR for that.
Thank you
You're welcome! I'll close this now, you'll see from homeassistant's release notes when the support gets added :-)
I see that in version 0.4.8 support Xiaomi Mijia STYJ02YM vacuum (viomi.vacuum.v7) already
@nhok3296 i could not have the robot connected with the following error,
INFO:miio.vacuum_cli:Debug mode active
DEBUG:miio.vacuum_cli:Read stored sequence ids: {'seq': 1, 'manual_seq': 0}
DEBUG:miio.vacuum_cli:Connecting to 192.168.20.10 with token 4550387TOKENTOKEN325432734b537375
DEBUG:miio.protocol:Unable to decrypt, returning raw bytes: b''
DEBUG: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\x12j \xdd^\xae\xd4\xfd' (total 16)
value = Container:
length = 32
unknown = 0
device_id = unhexlify('126a20dd')
ts = 2020-05-03 14:28:13
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)
DEBUG:miio.miioprotocol: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\x12j \xdd^\xae\xd4\xfd' (total 16)
value = Container:
length = 32
unknown = 0
device_id = unhexlify('126a20dd')
ts = 2020-05-03 14:28:13
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)
DEBUG:miio.miioprotocol:Discovered 126a20dd with ts: 2020-05-03 14:28:13, token: b'ffffffffffffffffffffffffffffffff'
i think i found a issue related to the robot i am using, https://github.com/home-assistant/core/issues/27268
Thank you for supporting the integration of xiaomi products into hass. Let me ask now has integrated viomi.vacuum.v7 and zhimi.airpurifier.mb3 with xiaomi_miio in configuration?