Closed feu77 closed 1 year ago
Have you used your main Xiaomi account? Do you have some traffic filtering on network?
Hi, I used the crdentials from the Xiaomi Mi home account. Traffic filtering was disabled.
the same credentials to extract the token btw
Can you try enabling debug logging?
Ok, so i've added the debug logging to configuration.yaml but how to retrieve the logs?
They are in home-assistant.log
2023-07-24 05:13:20.294 DEBUG (SyncWorker_1) [custom_components.xiaomi_cloud_map_extractor.camera] Failed to log in
2023-07-24 05:13:20.294 DEBUG (SyncWorker_1) [custom_components.xiaomi_cloud_map_extractor.camera] Retrieving map name from device
2023-07-24 05:13:20.403 DEBUG (SyncWorker_1) [custom_components.xiaomi_cloud_map_extractor.camera] Map name rubyslite%2F320364679%2F0
2023-07-24 05:13:20.403 DEBUG (SyncWorker_1) [custom_components.xiaomi_cloud_map_extractor.camera] Unable to retrieve map, reasons: Logged in - False, map name - rubyslite%2F320364679%2F0, device retrieved - False
Do you have a backslash in your password? If so, replace it with a double backslash
No just letters and numbers
Are you 100% sure you have used correct username and password? Map Extractor uses exactly the same code as Tokens Extractor, so there shouldn't be any difference
Exactly the same, copy/paste several times, entered them manually..... The user name is a phone number with a leading +, might that be a problem?...but it worked for the extractor.
It might... Have you tried using email or account id?
Perfect: the Xiaomi account ID worked!!
Great!
Checklist
The problem
After configuration and reboot, I get the following error in the logs:
Unable to log in, check credentials
Entity is showing a blue pic with a center text: failed to login
HA and device in the same network, map is showing up in the Mi home app. Device is working with the same credentials as used for the Xiaomi integration.
What version of an 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.vacuum.s5e
What version of Home Assistant do you use?
2023.7.1
What type of installation are you running?
Home Assistant Container
Camera's configuration
Errors shown in the HA logs (if applicable)
Additional information
No response