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.

Add viomise to supported platforms

See original GitHub issue

Checklist

  • I have updated the card to the latest version available
  • I have cleared the cache of my browser
  • I have checked if the problem is already reported

The problem

I have integrated my Viomi SE (V-RVCLM21A) using this custom integration: https://github.com/marotoweb/home-assistant-vacuum-viomise. Basic commands and attributies work fine: start, stop, battery percent etc.

I have also installed xiaomi cloud map extractor:

camera:
  - platform: xiaomi_cloud_map_extractor
    host: !secret vacuum_host
    token: !secret vacuum_token
    username: !secret vacuum_username
    password: !secret vacuum_password
    draw: ['all']
    attributes:
      - calibration_points    
      - charger
      - map_name

Trying to use xiaomi-vacuum-map-card. The map displays fine. I can also start, stop, change cleaning mode from the card. But I can’t start zone cleaning or point cleaning. Also zone dimensions are always equals zero: empty_dimensions

When I click start button near the zone creation button I can see “Success” notification but vacuum does not start cleaning. Also in homeassistant logs I can see this error:

Logger: custom_components.viomise.vacuum
Source: custom_components/viomise/vacuum.py:308
Integration: viomise (documentation, issues)
First occurred: 16:21:52 (7 occurrences)
Last logged: 16:24:51

Unable to send command to the vacuum: {'code': -9999, 'message': 'user ack timeout'}

Some info from the map extractor “camera”:

calibration_points: 
- vacuum:
    x: 0
    'y': 0
  map:
    x: 400
    'y': 399
- vacuum:
    x: 1
    'y': 0
  map:
    x: 420
    'y': 399
- vacuum:
    x: 0
    'y': 1
  map:
    x: 400
    'y': 379

charger: 
x: -0.051763810217380524
'y': 0.19318516552448273

map_name: 0
model: viomi.vacuum.v19

Viomise is a custom integration for Viomi SE (V-RVCLM21A). Is there any way to use zone cleaning and point cleaning with this vacuum cleaner?

What version of a card has described problem?

v2.0.3

What was the last working version card?

No response

What vacuum model do you have problems with?

Viomi SE (V-RVCLM21A). Xiaomi cloud map extractor says it is “viomi.vacuum.v19”.

Which integration do you use to control your vacuum (link)?

https://github.com/marotoweb/home-assistant-vacuum-viomise

What browser (browsers/apps) does have this problem?

Chrome

What version of Home Assistant do you use?

core-2021.11.2

What type of installation are you running?

Home Assistant Supervised

Card’s configuration

type: custom:xiaomi-vacuum-map-card
map_source:
  camera: camera.xiaomi_cloud_map_extractor
calibration_source:
  camera: true
entity: vacuum.viomi_se
vacuum_platform: send_command
camera_calibration: true

Javascript errors shown in the browser’s console (if applicable)

{
  "domain": "vacuum",
  "service": "send_command",
  "serviceData": {
    "command": "app_zoned_clean",
    "params": [
      [
        -1,
        -1,
        3,
        2,
        1
      ]
    ],
    "entity_id": "vacuum.viomi_se"
  }
}

Additional information

No response

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
PiotrMachowskicommented, Nov 25, 2021

@Gooman-rus done! Thank you again!

1reaction
PiotrMachowskicommented, Nov 25, 2021

Thank you, I will add it to supported platforms 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

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