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

Calibration failed, check configuration #199

Closed
3 tasks done
Burbacottero opened this issue Dec 10, 2021 · 28 comments
Closed
3 tasks done

Calibration failed, check configuration #199

Burbacottero opened this issue Dec 10, 2021 · 28 comments

Comments

@Burbacottero
Copy link

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

When I start cleaning zones it tells calibration not valid check configuration.

image

I'm using the configuration from demo, with xiaomi cloud map extractor, configured like this>

camera:
  - platform: xiaomi_cloud_map_extractor
    scan_interval: 1
    host: 192.168.1.47
    token: !secret token
    username: !secret username
    password: !secret xiaomi_cloud_password
    draw: ["all"]
    colors:
      color_map_outside: [0, 0, 0]
      color_path: [255, 255, 255]
    map_transformation:
      rotate: 180
      trim:
        left: 25
        right: 4
        top: 25
        bottom: 22
    attributes:
      - calibration_points

What version of a card has described problem?

v2.0.8

What was the last working version card?

No response

What vacuum model do you have problems with?

roborock.vacuum.s5e

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

https://www.home-assistant.io/integrations/xiaomi_miio/

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

Chrome

What version of Home Assistant do you use?

core-2021.11.5

What type of installation are you running?

Home Assistant OS

Card's configuration

type: custom:xiaomi-vacuum-map-card
title: ''
preset_name: Live map
entity: vacuum.chang
language: it
map_source:
  camera: camera.xiaomi_cloud_map_extractor
calibration_source:
  camera: true
map_modes:
  - template: vacuum_clean_zone
  - template: vacuum_clean_segment
    predefined_selections:
      - id: 1
        outline:
          - - 25362
            - 29989
          - - 25362
            - 30370
          - - 25421
            - 30370
          - - 25421
            - 33476
          - - 25333
            - 33476
          - - 25333
            - 33534
          - - 25274
            - 33534
          - - 25274
            - 33739
          - - 24073
            - 33710
          - - 24073
            - 33622
          - - 22520
            - 33622
          - - 22520
            - 33388
          - - 21963
            - 33388
          - - 21963
            - 33329
          - - 21875
            - 33329
          - - 21875
            - 33270
          - - 21641
            - 33270
          - - 21641
            - 33183
          - - 21524
            - 33183
          - - 21524
            - 33124
          - - 21465
            - 33124
          - - 21465
            - 32772
          - - 21670
            - 32772
          - - 21670
            - 31220
          - - 21524
            - 31220
          - - 21524
            - 30663
          - - 24278
            - 30663
          - - 24278
            - 29989
          - - 25362
            - 29989
        label:
          text: Bedroom
          x: 22800
          'y': 31000
          offset_y: 35
        icon:
          name: mdi:bed
          x: 22800
          'y': 31250
  - template: vacuum_goto
  - template: vacuum_follow_path
map_locked: false
two_finger_pan: true
vacuum_platform: default

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

Nothing

Additional information

No response

@PiotrMachowski
Copy link
Owner

What does camera.xiaomi_cloud_map_extractor show?

@Burbacottero
Copy link
Author

What does camera.xiaomi_cloud_map_extractor show?

image

@PiotrMachowski
Copy link
Owner

Can you show camera's attributes in dev tools?

@Burbacottero
Copy link
Author

Can you show camera's attributes in dev tools?

image

@PiotrMachowski
Copy link
Owner

Ok, this is not a problem with card, but with map extractor: map disappears for a moment when vacuum starts cleaning

@PiotrMachowski PiotrMachowski transferred this issue from PiotrMachowski/lovelace-xiaomi-vacuum-map-card Dec 13, 2021
@Burbacottero
Copy link
Author

Ok, this is not a problem with card, but with map extractor: map disappears for a moment when vacuum starts cleaning

the map doesn't disappears😅, so what do I need to do?

@PiotrMachowski
Copy link
Owner

Not map card, but map in camera itself

@Burbacottero
Copy link
Author

I don't understand, what I gave you it's the map itself

@Burbacottero
Copy link
Author

then?

@philder
Copy link

philder commented Dec 23, 2021

Ok, this is not a problem with card, but with map extractor: map disappears for a moment when vacuum starts cleaning

How to solve this?

@PiotrMachowski
Copy link
Owner

You can't, just wait for next release

@VadimKudrin
Copy link

Same issue. Another map_mode is working, for example vacuum_follow_path - I can point the vacuum to the place on map and it succefull reach it. But when I run the room cleaning, the map disappears with error on the lovelace card "Calibration failed, check configuraiton" until the vcuum returned to the docking station.

@PiotrMachowski
Copy link
Owner

@VadimKudrin but does it clean correct room?

@ddmmcz
Copy link

ddmmcz commented Dec 30, 2021

It's the way others write. vacuum_clean_zone_predefined works normally, but vacuum_clean_segment flashes with the error "Calibration failed, check configuration" and starts cleaning immediately and does not arrive at the cleaning point immediately.

@PiotrMachowski
Copy link
Owner

@ddmmcz have you provided a correct room ID?

@ddmmcz
Copy link

ddmmcz commented Dec 30, 2021

@PiotrMachowski Well I thought the ID is just for internal identification, or did I misunderstand it and does it have to fit the app somehow?

@PiotrMachowski
Copy link
Owner

@ddmmcz it has to match room number from the vacuum

@ddmmcz
Copy link

ddmmcz commented Dec 30, 2021

@PiotrMachowski I'm sorry I'm a little stubborn, but now I don't know exactly where to find it, thank you.

@ddmmcz
Copy link

ddmmcz commented Dec 30, 2021

@PiotrMachowski I found where to find the ID, so I'll test everything again.

@PiotrMachowski
Copy link
Owner

How to find room ID

@norbertjoni

This comment has been minimized.

@horve000

This comment has been minimized.

@rschuiling

This comment has been minimized.

@raptr55

This comment has been minimized.

@ricarva

This comment has been minimized.

@ghost

This comment has been minimized.

@zollek

This comment has been minimized.

@PiotrMachowski
Copy link
Owner

This issue should be fixed in v2.2.0

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

No branches or pull requests