Tasshack / dreame-vacuum

Home Assistant integration for Dreame robot vacuums with map support
https://community.home-assistant.io/t/custom-component-dreame-vacuum
MIT License
887 stars 110 forks source link

Request map data from cloud failed trouver lds finder/Dreame D9 #771

Closed Neshion closed 3 weeks ago

Neshion commented 1 month ago

Good day. Could you tell me what the problem might be? device in HA dreame.vacuum.p2036

2024-10-21 11:54:58.518 WARNING (Thread-18202) [custom_components.dreame_vacuum.dreame.map] Request map data from cloud failed https://ksyru0-eco.fds.api.xiaomi.com/dreame-p2036/1728171323/391867484/9?Expires=1729491898000&GalaxyAccessKeyId=EAKN6TYP3O74S&Signature=UkGOfe9GRwMIoH098V3nf00v+2c= 2024-10-21 11:55:28.518 WARNING (Thread-18204) [custom_components.dreame_vacuum.dreame.map] Request map data from cloud failed https://ksyru0-eco.fds.api.xiaomi.com/dreame-p2036/1728171323/391867484/9?Expires=1729491928000&GalaxyAccessKeyId=EAKN6TYP3O74S&Signature=4l1DPKvDjhVo7dAmE4WdrTh31Vw= 2024-10-21 11:55:58.522 WARNING (Thread-18206) [custom_components.dreame_vacuum.dreame.map] Request map data from cloud failed https://ksyru0-eco.fds.api.xiaomi.com/dreame-p2036/1728171323/391867484/9?Expires=1729491958000&GalaxyAccessKeyId=EAKN6TYP3O74S&Signature=OVkQ+F9a4Y4uKqlC323Nt7EQ+2w= 2024-10-21 11:56:28.526 WARNING (Thread-18210) [custom_components.dreame_vacuum.dreame.map] Request map data from cloud failed https://ksyru0-eco.fds.api.xiaomi.com/dreame-p2036/1728171323/391867484/9?Expires=1729491988000&GalaxyAccessKeyId=EAKN6TYP3O74S&Signature=TLQGsQs+VMUixiQ13qA6OUPv0/M= 2024-10-21 11:56:58.524 WARNING (Thread-18212) [custom_components.dreame_vacuum.dreame.map] Request map data from cloud failed https://ksyru0-eco.fds.api.xiaomi.com/dreame-p2036/1728171323/391867484/9?Expires=1729492018000&GalaxyAccessKeyId=EAKN6TYP3O74S&Signature=i4nYU7uOFTF7Pfffc3pWyRpWyiI=

Tasshack commented 1 month ago

This is because your map does not have restore functionality but device still returns an object name for recovery map list and integration tries to get it constantly but it does not exist on the cloud as a file.

Neshion commented 1 month ago

Please tell me if it is possible to somehow disable this check?

Tasshack commented 1 month ago

That was my first guess but I need full info log to really know what is going on.

Neshion commented 1 month ago

I added this example to configuration.yaml as you suggested from another issue logger: default: warn logs: custom_components.dreame_vacuum: info 2024-10-21 19:52:13.865 DEBUG (Thread-20190) [custom_components.dreame_vacuum.dreame.device] Device update: 30 2024-10-21 19:52:18.617 DEBUG (Thread-20191) [custom_components.dreame_vacuum.dreame.map] Map update: 30 2024-10-21 19:52:18.618 INFO (Thread-20191) [custom_components.dreame_vacuum.dreame.map] Get Map List: 1728171323/391867484/9 2024-10-21 19:52:18.619 DEBUG (Thread-20191) [custom_components.dreame_vacuum.dreame.protocol] Get interim file url: 1728171323/391867484/9 2024-10-21 19:52:18.706 DEBUG (Thread-20191) [custom_components.dreame_vacuum.dreame.map] Request map data from cloud https://ksyru0-eco.fds.api.xiaomi.com/dreame-p2036/1728171323/391867484/9?Expires=1729520538000&GalaxyAccessKeyId=EAKN6TYP3O74S&Signature=eFoCvzsrrOyssbRxzqVCBPONQ00= 2024-10-21 19:52:18.776 WARNING (Thread-20191) [custom_components.dreame_vacuum.dreame.map] Request map data from cloud failed https://ksyru0-eco.fds.api.xiaomi.com/dreame-p2036/1728171323/391867484/9?Expires=1729520538000&GalaxyAccessKeyId=EAKN6TYP3O74S&Signature=eFoCvzsrrOyssbRxzqVCBPONQ00= 2024-10-21 19:52:44.767 ERROR (stream_worker) [homeassistant.components.stream.stream.test_stream] Error from stream worker: Error opening stream (ERRORTYPE_5, I/O error, rtsp://****:****@192.168.1.86:8554) 2024-10-21 19:52:48.780 WARNING (Thread-20194) [custom_components.dreame_vacuum.dreame.map] Request map data from cloud failed https://ksyru0-eco.fds.api.xiaomi.com/dreame-p2036/1728171323/391867484/9?Expires=1729520568000&GalaxyAccessKeyId=EAKN6TYP3O74S&Signature=nmIL4HN6Zbyz028WTA2LA9LY2bk= 2024-10-21 19:53:18.752 WARNING (Thread-20196) [custom_components.dreame_vacuum.dreame.map] Request map data from cloud failed https://ksyru0-eco.fds.api.xiaomi.com/dreame-p2036/1728171323/391867484/9?Expires=1729520598000&GalaxyAccessKeyId=EAKN6TYP3O74S&Signature=gdIdoGdzBEW3U5setwBCm8aghXU= 2024-10-21 19:53:48.760 WARNING (Thread-20198) [custom_components.dreame_vacuum.dreame.map] Request map data from cloud failed https://ksyru0-eco.fds.api.xiaomi.com/dreame-p2036/1728171323/391867484/9?Expires=1729520628000&GalaxyAccessKeyId=EAKN6TYP3O74S&Signature=7ldKretpjUDDA6XH+rf0xLnYi34=

Tasshack commented 1 month ago

Can you make any change to the map from the App like adding a virtual wall and removing it just after?

Neshion commented 1 month ago

in mihome I can do this both by adding a virtual wall and by deleting it.

Tasshack commented 1 month ago

Can you do that now and send me the log output?

Neshion commented 1 month ago

Expires=1729524914000&GalaxyAccessKeyId=EAKN6TYP3O74S&Signature=Hn+SoQd03nZpKakN8duW9LrovPI= 2024-10-21 21:05:15.043 INFO (Thread-120) [custom_components.dreame_vacuum.dreame.map] New object name received: 1728171323/391867484/1 2024-10-21 21:05:15.428 INFO (Thread-120) [custom_components.dreame_vacuum.dreame.map] Decode I map 4 486 2024-10-21 21:05:15.885 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 4:486 took: 0.42 2024-10-21 21:05:44.775 INFO (Thread-125) [custom_components.dreame_vacuum.dreame.map] Get Map List: 1728171323/391867484/9 2024-10-21 21:05:44.923 WARNING (Thread-125) [custom_components.dreame_vacuum.dreame.map] Request map data from cloud failed https://ksyru0-eco.fds.api.xiaomi.com/dreame-p2036/1728171323/391867484/9?Expires=1729524944000&GalaxyAccessKeyId=EAKN6TYP3O74S&Signature=qt1e/9odkHJlokvbdJ+kASRzHNQ= 2024-10-21 21:06:14.777 INFO (Thread-128) [custom_components.dreame_vacuum.dreame.map] Get Map List: 1728171323/391867484/9 2024-10-21 21:06:14.941 WARNING (Thread-128) [custom_components.dreame_vacuum.dreame.map] Request map data from cloud failed https://ksyru0-eco.fds.api.xiaomi.com/dreame-p2036/1728171323/391867484/9?Expires=1729524974000&GalaxyAccessKeyId=EAKN6TYP3O74S&Signature=m7eWvyMkTyQ0wMoo/wGLJ5u6Yoc= 2024-10-21 21:06:44.778 INFO (Thread-132) [custom_components.dreame_vacuum.dreame.map] Get Map List: 1728171323/391867484/9 2024-10-21 21:06:44.887 WARNING (Thread-132) [custom_components.dreame_vacuum.dreame.map] Request map data from cloud failed https://ksyru0-eco.fds.api.xiaomi.com/dreame-p2036/1728171323/391867484/9?Expires=1729525004000&GalaxyAccessKeyId=EAKN6TYP3O74S&Signature=hHT38rVpSKDgrCFdIaQdBNsNLtY= 2024-10-21 21:06:45.017 INFO (Thread-132) [custom_components.dreame_vacuum.dreame.map] New object name received: 1728171323/391867484/0 2024-10-21 21:06:45.337 INFO (Thread-132) [custom_components.dreame_vacuum.dreame.map] Decode I map 4 487 2024-10-21 21:06:45.984 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 4:487 took: 0.61

Tasshack commented 1 month ago

I still have no idea why it is not working. Which version of the integration is installed? Can you try Beta or if you are already in Beta can you try downgrading to v2.0.b14?

Neshion commented 1 month ago

when updating to v2.0.b14 the behavior changed a little 2024-10-22 00:02:56.929 INFO (Thread-115) [custom_components.dreame_vacuum.dreame.map] Get Map List: 1728171323/391867484/9 2024-10-22 00:02:57.027 INFO (Thread-115) [custom_components.dreame_vacuum.dreame.map] Request map data from cloud https://ksyru0-eco.fds.api.xiaomi.com/dreame-p2036/1728171323/391867484/9?Expires=1729535576000&GalaxyAccessKeyId=EAKN6TYP3O74S&Signature=2W/XHKm4XqfhkpGdLaruxvHbQqg= 2024-10-22 00:02:57.314 WARNING (Thread-115) [custom_components.dreame_vacuum.dreame.map] Request map data from cloud failed https://ksyru0-eco.fds.api.xiaomi.com/dreame-p2036/1728171323/391867484/9?Expires=1729535576000&GalaxyAccessKeyId=EAKN6TYP3O74S&Signature=2W/XHKm4XqfhkpGdLaruxvHbQqg= 2024-10-22 00:03:01.930 INFO (Thread-117) [custom_components.dreame_vacuum.dreame.map] Get Map List: 1728171323/391867484/9 2024-10-22 00:03:02.011 INFO (Thread-117) [custom_components.dreame_vacuum.dreame.map] Request map data from cloud https://ksyru0-eco.fds.api.xiaomi.com/dreame-p2036/1728171323/391867484/9?Expires=1729535581000&GalaxyAccessKeyId=EAKN6TYP3O74S&Signature=LDdE1Rkp0n5Msu/ykaZJZFyZpUI= 2024-10-22 00:03:02.328 WARNING (Thread-117) [custom_components.dreame_vacuum.dreame.map] Request map data from cloud failed https://ksyru0-eco.fds.api.xiaomi.com/dreame-p2036/1728171323/391867484/9?Expires=1729535581000&GalaxyAccessKeyId=EAKN6TYP3O74S&Signature=LDdE1Rkp0n5Msu/ykaZJZFyZpUI= 2024-10-22 00:03:06.931 INFO (Thread-119) [custom_components.dreame_vacuum.dreame.map] Get Map List: 1728171323/391867484/9 2024-10-22 00:03:06.992 INFO (Thread-119) [custom_components.dreame_vacuum.dreame.map] Request map data from cloud https://ksyru0-eco.fds.api.xiaomi.com/dreame-p2036/1728171323/391867484/9?Expires=1729535586000&GalaxyAccessKeyId=EAKN6TYP3O74S&Signature=JeijjdLmFnRcvpYg36jy2U7RPe4= 2024-10-22 00:03:07.303 WARNING (Thread-119) [custom_components.dreame_vacuum.dreame.map] Request map data from cloud failed https://ksyru0-eco.fds.api.xiaomi.com/dreame-p2036/1728171323/391867484/9?Expires=1729535586000&GalaxyAccessKeyId=EAKN6TYP3O74S&Signature=JeijjdLmFnRcvpYg36jy2U7RPe4= 2024-10-22 00:03:41.936 INFO (Thread-122) [custom_components.dreame_vacuum.dreame.map] Get Map List: 1728171323/391867484/9 2024-10-22 00:03:42.045 INFO (Thread-122) [custom_components.dreame_vacuum.dreame.map] Request map data from cloud https://ksyru0-eco.fds.api.xiaomi.com/dreame-p2036/1728171323/391867484/9?Expires=1729535622000&GalaxyAccessKeyId=EAKN6TYP3O74S&Signature=6gGPfTGfRGr72LUqhMaBgMRnIow= 2024-10-22 00:03:42.311 WARNING (Thread-122) [custom_components.dreame_vacuum.dreame.map] Request map data from cloud failed https://ksyru0-eco.fds.api.xiaomi.com/dreame-p2036/1728171323/391867484/9?Expires=1729535622000&GalaxyAccessKeyId=EAKN6TYP3O74S&Signature=6gGPfTGfRGr72LUqhMaBgMRnIow= 2024-10-22 00:04:11.937 INFO (Thread-127) [custom_components.dreame_vacuum.dreame.map] Get Map List: 1728171323/391867484/9 2024-10-22 00:04:11.998 INFO (Thread-127) [custom_components.dreame_vacuum.dreame.map] Request map data from cloud https://ksyru0-eco.fds.api.xiaomi.com/dreame-p2036/1728171323/391867484/9?Expires=1729535651000&GalaxyAccessKeyId=EAKN6TYP3O74S&Signature=bl36cYtFPWwvuaLZyNXT5YmUrE0= 2024-10-22 00:04:12.338 WARNING (Thread-127) [custom_components.dreame_vacuum.dreame.map] Request map data from cloud failed https://ksyru0-eco.fds.api.xiaomi.com/dreame-p2036/1728171323/391867484/9?Expires=1729535651000&GalaxyAccessKeyId=EAKN6TYP3O74S&Signature=bl36cYtFPWwvuaLZyNXT5YmUrE0=

Before this there was version v1.0.4. tomorrow I'll try the latest version and reset everything.

Neshion commented 3 weeks ago

I tried all available versions, the problem is exactly the same.

Tasshack commented 3 weeks ago

I have no idea why it is not working and you are the only one with this issue. I dont have time for solving everyones isolated isssues so good luck solving it by yourself.