question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

viomi.vacuum.v8 is always unavailable in local mode

See original GitHub issue

Hi. I have viomi.vacuum.v8 vaccum cleaner. It does work with several separate integrations like this one.

I can add it using local ip and token to your integration, but it is always in the unavailable state. image

The only thing I can find in the logs is the following:

Logger: custom_components.xiaomi_miot.vacuum
Source: custom_components/xiaomi_miot/__init__.py:1223
Integration: Xiaomi Miot Auto (documentation, issues)
First occurred: 12:47:56 (170 occurrences)
Last logged: 14:16:39

Vacuum(viomi.vacuum.v8): Got MiioException while fetching the state: No response from the device, mapping: {'vacuum.status': {'siid': 2, 'piid': 1}, 'vacuum.mode': {'siid': 2, 'piid': 2}}, max_properties: 6/2
Vacuum(viomi.vacuum.v8): Got MiioException while fetching the state: No response from the device, mapping: {'vacuum.status': {'siid': 2, 'piid': 1}, 'vacuum.mode': {'siid': 2, 'piid': 2}, 'battery.battery_level': {'siid': 3, 'piid': 1}}, max_properties: 7/3

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:28 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
szaman-89commented, Mar 11, 2022

Last changes fixed also viomi.vacuum.v7. One thing to correct is modes: Silent, Standard, Medium, Turbo instead of Silent, Basic, Strong.

0reactions
al-onecommented, Apr 16, 2022
{
    "iid":2,
    "type":"urn:miot-spec-v2:property:mode:00000008:viomi-v8:1",
    "description":"Mode",
    "format":"uint8",
    "access":[ "read", "write", "notify"],
    "value-list":[
        {"value":0, "description":"Silent"},
        {"value":1, "description":"Basic"},
        {"value":2, "description":"Medium"},
        {"value":3, "description":"Strong"}
    ]
}

The description of the mode options for this device is from miot-spec, if you want to change it, you can change it by translations:

# configuration.yaml
xiaomi_miot:
  # https://github.com/al-one/hass-xiaomi-miot/blob/master/custom_components/xiaomi_miot/core/translation_languages.py
  translations:
    # Dictionary for specifying the vacuum modes
    vacuum.mode:
      basic: Standard
      strong: Turbo
Read more comments on GitHub >

github_iconTop Results From Across the Web

Xiaomi Vacuum Mop P (viomi.vacuum.v8) is not available in ...
After selecting the xiaomi device, the config reports: " The device model is not known, not able to setup the device using config...
Read more >
How to Solve the Connection Issue With the Xiaomi Mi Robot ...
Try power off and power on the device. As Willian mentioned in the comments, this might help to solve the connection issue. Try...
Read more >
Xiaomi Viomi V1/V2 support - Home Assistant Community
Hi, just a quick question (hope i'm in the right section :slight_smile: ). Is possible to use “Xiaomi Viomi V2” vacuum with HA...
Read more >
Home Assistant Xiaomi Vacuum Cleaner Integration (HOW-TO)
For dessert we will create some Home Assistant automations and scripts to control our Xiaomi Robot Vacuum Cleaner locally. Let's start…
Read more >
Compare Dyson V8 Fluffy Pro Price & Specs iPrice MY - Harga 2022
Compare Dyson V8 Fluffy Pro Prices ... There are currently no offers for this product. You can use the search box to find...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found