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.

Invalid calibration, please check your configuration

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’ve just installed the card via HACS but it seems I can’t make it work. My card shows Invalid calibration, please check your configuration instead of the map. The other controls are working just fine. The map extractor itself works just fine. image If I try to set it up via the UI the Camera Entity selector is not working, I can’t even type in anything. image

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?

Viomi SE

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

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

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

Firefox

What version of Home Assistant do you use?

2021.10.2

What type of installation are you running?

Home Assistant Supervised

Card’s configuration

type: custom:xiaomi-vacuum-map-card
title: Viomi Vacuum Map Card
preset_name: Live Map
entity: vacuum.viomi_se
map_source:
  camera: camera.xiaomi_cloud_map_extractor
calibration_source:
  camera: true
vacuum_platform: marotoweb/viomise

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

Uncaught DOMException: CustomElementRegistry.define: 'xiaomi-vacuum-map-card-editor' has already been defined as a custom element xiaomi-vacuum-map-card.js:43
    re http://192.168.0.5:8123/local/custom_lovelace/xiaomi-vacuum-map-card.js:43
    re http://192.168.0.5:8123/local/custom_lovelace/xiaomi-vacuum-map-card.js:43
    e http://192.168.0.5:8123/local/custom_lovelace/xiaomi-vacuum-map-card.js:15
    <anonymous> http://192.168.0.5:8123/local/custom_lovelace/xiaomi-vacuum-map-card.js:126
    InnerModuleEvaluation self-hosted:2374
    evaluation self-hosted:2335

Additional information

No response

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
PiotrMachowskicommented, Jan 25, 2022

You can still use the card normally with camera_calibration: true, but you won’t be able to save zones/points

1reaction
PiotrMachowskicommented, Jan 4, 2022

You have to add calibration_points to make it work:

camera:
  - platform: xiaomi_cloud_map_extractor
    host: !secret viomi_se_host
    token: !secret viomi_se_token
    username: !secret mihome_user
    password: !secret mihome_pass
    draw: ["all"]
    map_transformation:
      scale: 3
      trim:
        top: 45
        left: 40
        right: 40
        bottom: 30
    attributes:
      - calibration_points
Read more comments on GitHub >

github_iconTop Results From Across the Web

Invalid calibration · Issue #153 - GitHub
It pops a messsage saying "Invalid calibration, please check your configuration". It was working pre v2.0. The only log i've is "Update of...
Read more >
Vacuum Interactive Map Card - Dashboards & Frontend
Any plans to support the map provided by “Valetudo RE Mapper”? Invalid calibration, please check your configuration". How can be removed the ...
Read more >
Target has invalid calibration data (0x00)
Target has invalid calibration data (0x00). ... To attempt to resolve this,, first check the IPE is configured to let the PICkit 3...
Read more >
Introduction > Connect and Open a Camera - Ensenso
IP Configuration. If an ethernet camera has an invalid IP configuration for the network adapter that it is connected to, you will get...
Read more >
Katalog: PostBase - FP Mailing Solutions
Error during calibration. ... If error continous, please contact your local service organisation to ... it oocurs, if the ftp configuration is invalid....
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