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.

Continuous IP bans caused by the card on Companion App

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

Hi there,

since the last major update of the card (last year), I have problems when using the Home Assistant Companion App.

When I am opening the HA Companion app and the last shown lovelace tab was the tab that includes the vacuum card, I always get an IP ban (I have set up HA to ban IPs after 3 tries). It looks like the card is refreshing in a very high frequency and then I get banned instantly. The problem occurs on both, IOS and Android phones.

My current workaround is to head to a Lovelace tab that doesn’t include the vacuum card every time before closing the HA companion app. But, obviously this is not very user friendly. That’s why I’m reporting the issue.

What version of a card has described problem?

v2.0.10

What was the last working version card?

v1.2.3

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?

iOS/Android

What version of Home Assistant do you use?

2022.2.6

What type of installation are you running?

Home Assistant OS

Card’s configuration

type: custom:xiaomi-vacuum-map-card
map_source:
  camera: camera.xiaomi_cloud_map_extractor
calibration_source:
  camera: true
entity: vacuum.roborock
vacuum_platform: default
map_modes:
  - template: vacuum_clean_segment
    predefined_selections:
      - id: xx
        outline:
          - xx
        label:
          text: Room X
          x: xx
          'y': xx
          offset_x: xx
          offset_y: xx
        icon:
          name: mdi:xx
          x: xx
          'y': xx
  - template: vacuum_goto_predefined
    predefined_selections:
      - position:
          - xx
          - xx
        label:
          text: xx
          x: xx
          'y': xx
          offset_y: xx
        icon:
          name: mdi:xx
          x: xx
          'y': xx
  - template: vacuum_clean_zone
  - template: vacuum_goto
map_locked: true
two_finger_pan: false

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

No response

Additional information

No response

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
PiotrMachowskicommented, Feb 13, 2022

I also have this problem, I have tried several different solutions, but none of them worked perfectly. I might have to change the method of retrieving the image

0reactions
PiotrMachowskicommented, Mar 14, 2022

@barrymossel yeah, I think that both these problems have the same origin

Read more comments on GitHub >

github_iconTop Results From Across the Web

How does Reddit track you after permanently banning ... - Quora
Reddit tracks you through app, device id, mac address, cookies, and ip address. I bypassed a permaban by using a vpn and brave...
Read more >
Android application causing IP ban on http component #2782
i login into the HA Mobile Companion app in my home network, and everything is working fine; however when i move away from...
Read more >
Enough is enough. IP Bans are a must. - Reddit
There are of course ways to circumvent an IP ban, but anything than can lower the amount of cheaters has to be welcomed....
Read more >
How to fix and resolve IP address conflict - ManageEngine
This can cause IP conflict when a different device within the organization has been assigned the same IP address.
Read more >
Ban - Roblox Wiki - Fandom
A glitch on the mobile app occasionally causes the player to see a message claiming their account is terminated when they have received...
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