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.

Predefined Zones are not shown in map

See original GitHub issue

Hi! I’ve tried a lot by myself, but cannot figure out, why the zones do not show up. I have a Xiaomi Vacuum (SDJQR02RR), so the live map is always created new for xiaomi-vacuum-map-extractor, which is why I would like to use xiaomi-vacuum-map-card I have created a map and it is shown in the card. I have configured zones, interestingly it is transformed into a different format once I save the card - see below.

type: 'custom:xiaomi-vacuum-map-card'
entity: vacuum.xiaomi_vacuum
map_image: /local/custom_lovelace/xiaomi_vacuum_map_card/map.png
calibration_points:
  - vacuum:
      x: 26576
      'y': 30123
    map:
      x: 14
      'y': 11
  - vacuum:
      x: 26576
      'y': 22093
    map:
      x: 14
      'y': 716
  - vacuum:
      x: 26576
      'y': 22093
    map:
      x: 1340
      'y': 716
zones:
  - - - 22605
      - 22003
      - 26576
      - 30257
      - 1
  - - - 18456
      - 22048
      - 22337
      - 26153
      - 1
  - - - 14574
      - 26153
      - 22516
      - 28071
      - 1
  - - - 11808
      - 22003
      - 16047
      - 26242
      - 1

The files are put at this path and map is shown properly

/config/www/custom_lovelace/xiaomi_vacuum_map_card

grafik

Resource has been added

resources:
  - url: /local/custom_lovelace/xiaomi_vacuum_map_card/xiaomi-vacuum-map-card.js
    type: module

But nothing is shown grafik

Interestingly, for xiaomi-vacuum-map-extractor, this is working (though not usable to newly created map (map was tilted last time) grafik

Do you have any idea, what’s wrong here?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:20 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
PiotrMachowskicommented, Jan 29, 2021

I will try to recreate your config and find a problem

0reactions
PiotrMachowskicommented, Nov 29, 2021

I have spotted the problem with configuration: all vacuum points have the same x value

Read more comments on GitHub >

github_iconTop Results From Across the Web

Zones are not visible in Azure Indoor Maps - Microsoft Learn
1 Answer ... Zones are not rendered by default because they they are meant to represent non-physical areas, e.g., a wifi zone. The...
Read more >
5.7. Working with Zones Red Hat Enterprise Linux 7
Zones represent a concept to manage incoming traffic more transparently. The zones are connected to networking interfaces or assigned a range of source ......
Read more >
Create the Predefined Zones in Panorama - Palo Alto Networks
In this case, you don't have zones to map; we recommend you use the predefined zones in your PAN-OS policies and User-ID to...
Read more >
firewalld not listing any active zones? - Server Fault
I think --get-active-zones should print the default zone as well. Maybe as public (implicit) internal home or whatever.
Read more >
Edit Map Visibility - Strava Support
Keep in mind that map visibility does not replace your activity ... and last 200 meters of your activity maps will be hidden...
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