Skip to content

Xiaomi STYJ02YM discovered but not responding #628

@gmag11

Description

@gmag11

I'm trying to control a Xiaomi STYJ02YM vacuum with software 3.5.3_0045. Currently it is linked to Mi Home app.

When running mirobo discover I get this:

$ mirobo discover
INFO:miio.discovery:Discovering devices with mDNS, press any key to quit...
INFO:miio.discovery:Found a supported 'ViomiVacuum' at 192.168.5.234 - token: ffffffffffffffffffffffffffffffff

But any other command gives no answer from Vacuum.

$ mirobo status
ERROR:miio.device:Got error when receiving: timed out
Error: No response from the device

I've setup exports for ip address and token. I've got the token from logs in Android.

With miiocli viomivacuumI get this info:

$ miiocli viomivacuum --ip 192.168.5.234 --token xxxxxxxxxxxx616661727636xxxxxxxx info
Model: viomi.vacuum.v7
Hardware version: Linux
Firmware version: 3.5.3_0045
Network: {'localIp': '192.168.5.234', 'mask': '255.255.255.0', 'gw': '192.168.5.1'}
AP: {'ssid': 'XXXXXXXXX', 'bssid': 'xx:xx:xx:xx:xx:xx'}

I've captured dialog with vacuum using Wireshark. Vacuum only answers handshake. Check the file.

XiaoMi styj02ym miio.pcapng.gz

Let me know if more debug info is needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions