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.

Debug mode doesn't work with camera_calibration: true

See original GitHub issue

Thank you for work I have installed this card and Xiaomi-Cloud-Map-Extractor in HASS 0.116.4 through HACS.

The card displays the map correctly, but I cannot draw zones nor select a target point.

Am I doing something wrong with how I setup things?

Here is the only error in the Log file:

Logger: frontend.js.latest.202010012
Source: components/system_log/__init__.py:193
First occurred: 12:26:26 AM (145 occurrences)
Last logged: 12:32:55 AM

http://LOCALHASSIP/hacsfiles/lovelace-xiaomi-vacuum-map-card/xiaomi-vacuum-map-card.js:424:58 Uncaught TypeError: this._config.calibration_points is not iterable

This is my configuration:

camera:
  - platform: xiaomi_cloud_map_extractor
    host: !secret xiaomi_vacuum_host
    token: !secret xiaomi_vacuum_token
    username: !secret xiaomi_cloud_username
    password: !secret xiaomi_cloud_password
    country: "de"
    name: "WalterJr"
    draw:
      - charger
      - path
      - goto_path
      - predicted_path
      - no_go_zones
      - no_mopping_zones
      - vacuum_position
      - virtual_walls
      - zones
    sizes:
      charger_radius: 4
      vacuum_radius: 6.5
    attributes:
      - calibration_points
      - charger
      - goto
      - goto_path
      - goto_predicted_path
      - image
      - is_empty
      - map_name
      - no_go_areas
      - no_mopping_areas
      - obstacles
      - path
      - room_numbers
      - rooms
      - vacuum_position
      - vacuum_room
      - walls
      - zones
    scan_interval:
      seconds: 10
    auto_update: true

And this is my Card configuration:

type: 'custom:xiaomi-vacuum-map-card'
entity: vacuum.xiaomi_vacuum
map_camera: camera.walterjr
camera_calibration: true
debug: true

Thank you again.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
PiotrMachowskicommented, Oct 26, 2020

Ok, I have found a bug in a code. Thanks!

0reactions
PiotrMachowskicommented, Oct 26, 2020

I have fixed this problem in v1.2.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Camera calibration crashes · Issue #43 · ros-perception ...
Hi Comunity I try to calibrate the kinect with camera_calibration on ros-hydro. I type this command $ rosrun camera_calibration ...
Read more >
Error when debugging sample in OPENCV Camera ...
I am getting an error when using Camera_Calibration.cpp on OpenCv Tutorial (photo). i running it in release mode.
Read more >
Fail to load calibration - Agisoft Metashape
Hello Yoann, It seems that API doesn't yet support Fisheye calibration import. It will be fixed in the next 1.7.3 update.
Read more >
Trouble-shooting - - PHD2 Guiding
Using a calibration that triggered this alert can lead to over-shooting in Dec guiding because the actual guide rate is probably larger than...
Read more >
CameraCharacteristics - Android Developers
The camera device is a monochrome camera that doesn't contain a color filter array, and for YUV_420_888 stream, the pixel values on U...
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