Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

viomi.vacuum.v7 and zhimi.airpurifier.mb3 support homeassistain yet? #645

Closed
nhok3296 opened this issue Mar 19, 2020 · 5 comments
Closed
Labels

Comments

@nhok3296
Copy link

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?

@rytilahti
Copy link
Owner

You can follow the integration of air purifier at home-assistant/core#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.

@nhok3296
Copy link
Author

Thank you

@rytilahti
Copy link
Owner

You're welcome! I'll close this now, you'll see from homeassistant's release notes when the support gets added :-)

@nhok3296
Copy link
Author

I see that in version 0.4.8 support Xiaomi Mijia STYJ02YM vacuum (viomi.vacuum.v7) already

@x-creates
Copy link

x-creates commented May 3, 2020

@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, home-assistant/core#27268

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants