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.13k stars 122 forks source link

roborock: fallback & longer map name fetch backoff #439

Open flaviut opened 1 year ago

flaviut commented 1 year ago

First time around this already gave me better results:

19:18:39.809 DEBUG […] Retrieving map from Xiaomi cloud
19:18:39.809 DEBUG […] Map name roboroommap%2F465946054%2F8
19:18:39.766 DEBUG […] Asking device for map name... (5/10)
19:18:39.073 DEBUG […] Asking device for map name... (4/10)
19:18:38.751 DEBUG […] Asking device for map name... (3/10)
19:18:38.396 DEBUG […] Asking device for map name... (2/10)
19:18:37.964 DEBUG […] Asking device for map name... (1/10)
19:18:37.964 DEBUG […] Created device, used api: xiaomi

This would have usually timed out since it would have only waited 1s total, and it took 1.8s to retrieve the map name

PiotrMachowski commented 1 year ago

Neat idea 👍 unfortunately this integration needs some refactor

flaviut commented 1 year ago

Just pushed a rebase on dev--happy to make whatever changes you think are needed.

PiotrMachowski commented 1 year ago

I meant other parts of the integration, not your changes. I just need to finish my work on the map card first.

flaviut commented 6 months ago

Hello, any chance we can merge this regardless of whatever future changes you're planning? I updated recently and my map broke again:

2024-02-02_13-46