PiotrMachowski / Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor

This custom integration provides a way to present a live view of a map for Xiaomi (Roborock/Viomi/Roidmi/Dreame) vacuums without a need for rooting.
MIT License
1.14k stars 122 forks source link

two factor auth required (see logs) #319

Closed steuerzentrale closed 2 years ago

steuerzentrale commented 2 years ago

Checklist

The problem

Hi there

I use Home Assistant 2022.7.3, Supervisor 2022.07.0, Operating System 8.2 Frontend 20220707.0 - latest. Since yesterday I get the message to login to my Xiaomi-account and confirm the 2FA-authentication. I did that and the it confirmed it via an OK.

After that I restarted Home Assistant and still face the issue. I retried the 2FA-authentication again and always restarted the HA but nothing changes.

Bildschirmfoto 2022-07-12 um 20 15 30

What version of am integration has described problem?

v2.2.0

What was the last working version of an integration?

No response

What vacuum model do you have problems with?

roborock_a15

What version of Home Assistant do you use?

2022.7.3

What type of installation are you running?

Home Assistant OS

Camera's configuration

camera:
  - platform: xiaomi_cloud_map_extractor
    host: 192.168.1.5
    token: XXX
    username: !secret mihome_user
    password: !secret mihome_pass
    draw: ['all']
    attributes:
      - calibration_points

Errors shown in the HA logs (if applicable)

Logger: custom_components.xiaomi_cloud_map_extractor.common.xiaomi_cloud_connector
Source: custom_components/xiaomi_cloud_map_extractor/common/xiaomi_cloud_connector.py:89
Integration: xiaomi_cloud_map_extractor (documentation, issues)
First occurred: 15:25:16 (1 occurrences)
Last logged: 15:25:16
Additional authentication required. Open following URL using device that has the same public IP, as your Home Assistant instance: https://account.xiaomi.com/identity/authStart?sid=passport&context=XXXX

Additional information

No response

PiotrMachowski commented 2 years ago

There are several approaches you can try in these issues: #157, #43