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

Error: Failed to retreive map from vacuum. Was working flawlesly, stopped working without any updates #516

Closed vajnorcan closed 4 months ago

vajnorcan commented 4 months ago

Checklist

The problem

I've set it up this morning, was working all day, happy, sent the paypal as a token of appreciation. However, it's unable to retreive the map few hours later without doing any updates on the system. I've double checked the IP (which is static) of the vacuum, token, and passwords, however I'm unable to get the map rendered. It doesn't even show up when the vacuum is running (other controls are working fine)

Update Well, it seems like I'm unable to see the map in the mi home app neither, this never happened. I wonder if this integration could've deleted it / corrupted it?

What version of an integration has described problem?

v2.2.1

What was the last working version of an integration?

v2.2.1

What vacuum model do you have problems with?

roborock.vacuum.s5

What version of Home Assistant do you use?

2024.2.5

What type of installation are you running?

Home Assistant OS

Camera's configuration

camera:
  - platform: xiaomi_cloud_map_extractor
    host: 192.....46
    token: 6----6
    username: m----@gmail.com
    password: V----3
    country: sg
    draw: ["all"]
    attributes:
      - calibration_points
      - vacuum_position

Errors shown in the HA logs (if applicable)

-- I don't think this is related as it's just a warning. not sure if there are any other log entries elsewhere

2024-03-06 17:44:03.786 WARNING (MainThread) [homeassistant.helpers.entity] Entity camera.xiaomi_cloud_map_extractor (<class 'custom_components.xiaomi_cloud_map_extractor.camera.VacuumCamera'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <CameraEntityFeature.ON_OFF: 1>, please create a bug report at https://github.com/PiotrMachowski/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

Additional information

No response

vajnorcan commented 4 months ago

Well, as per update, it seem like I'm unable to see the map in the mi home app, though this was never a problem before. I guess I will have to re-learn it again?!

cathelest commented 4 months ago

Not sure about mi app

But hoping it may be similar to others

Is there a option to manage maps, it may have somehow created a second blank one, the old one should still be there and allow u to restore possibly,

I have had this happen a few times with my roborock and xiaomi app

vajnorcan commented 4 months ago

https://github.com/PiotrMachowski/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor/issues/422

Exhibiting the same behavior as there. Closing this thread as we can keep going in there.

vajnorcan commented 4 months ago

Not sure about mi app

But hoping it may be similar to others

Is there a option to manage maps, it may have somehow created a second blank one, the old one should still be there and allow u to restore possibly,

I have had this happen a few times with my roborock and xiaomi app

Well, it not sure how would I do it. Seems like for some people restarting the roborock worked, however it's not working for me. Let's keep the discussion going in the thread I've posted above

PiotrMachowski commented 4 months ago

Duplicate of #422

tovy14 commented 3 months ago

Sorry for piggy backing on this issue, but to be clear about this, both the blueprints should be used: disable and update? Or only update, with long update time?

mlauhalu commented 2 months ago

Does anybody know how to re-enable the map in the Mi Home App? If I delete the device (Roborock S7) in the app, change server region and re-add the device in the new region, I am able to see my maps. But, when changing back to my actual region, the maps will not load. Has anybody figured out how to fix this?