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.12k stars 121 forks source link

Failed to retrieve device #524

Closed txitxo0 closed 3 months ago

txitxo0 commented 3 months ago

Checklist

The problem

I was experimenting a non-map in both, Xiaomi cloud map extractor and mi home app. Following this thread: https://github.com/PiotrMachowski/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor/issues/422 I could get the mi home map working. But, in Home Assistant side, I can not get the map working again as in old times. In the map a "failed to retrieve device" label appears

What version of an integration has described problem?

V2.2.1

What was the last working version of an integration?

Don't know

What vacuum model do you have problems with?

Roborock S7

What version of Home Assistant do you use?

2024.3.3

What type of installation are you running?

Home Assistant OS

Camera's configuration

- 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
  draw: ['all']
  country: cn
  auto_update: false
  attributes:
  - calibration_points

Errors shown in the HA logs (if applicable)

Failed to retrieve model

Additional information

I found similar topics, but for different models and behaviours (shared houses, new models...) but this was working great time ago

PiotrMachowski commented 3 months ago

Are you sure the token is correct?

txitxo0 commented 3 months ago

I didn't change anything. But let me check it manually and I comment it.

Thank you!

txitxo0 commented 3 months ago

@PiotrMachowski already doble cheked and yes. username, pass and token valid but, then I realized the country was wrong!

Thank you and sorry for the disturbance!