DeebotUniverse / client.py

Deebot client library in python
https://deebot.readthedocs.io
GNU General Public License v3.0
27 stars 41 forks source link

Errors with Map when AIVI 3D 2.0 (Truedetect) is activated #509

Open Ulfmerbold2000 opened 3 months ago

Ulfmerbold2000 commented 3 months ago

Checks

The problem

In short: If i deactivate the AIVI 3D option, Map and Map-Update works.(but the bot misses the main functions of avoidance of objects in rooms)

If i activate AIVI 3D, Map is only loaded with an reload the Ecovacs Integration PLUS one time in the midnight AND the Map-Update wont work at all.

With AIVI 3D, the map messages give errors in the debuglog and the messages with coordinates are coming from an onFwBuryPoint message(i think so because there are the only coordinates i see in log)

Is there a way to squeeze out more informations as in debuglog found? This is far away from my own abilities with paste and copy :/

On which deebot device (vacuum) you have the issue?

Deebot X2 Omni

Which version of the deebot-client are you using?

7.2.0

Country

de

Continent

eu

Anything in the logs that might be useful for us?

2024-05-22 09:56:28.472 DEBUG (MainThread) [deebot_client.mqtt_client.client] Received PUBLISH (d0, q0, r0, m0), 'iot/atr/onAIMap/310b014d-e138-4268-b4f2-eea7bc4bebfa/lf3bn4/hOdT/j', ...  (194 bytes)
2024-05-22 09:56:28.473 DEBUG (MainThread) [deebot_client.mqtt_client] Got message: topic=iot/atr/onAIMap/310b014d-e138-4268-b4f2-eea7bc4bebfa/lf3bn4/hOdT/j, payload=b'{"header":{"pri":1,"tzm":120,"ts":"1716364587873","ver":"0.0.1","fwVer":"1.76.0","hwVer":"0.1.1","wkVer":"0.1.54"},"body":{"data":{"cid":"111","mid":"654760105","pointValue":[],"totalCount":0}}}'
2024-05-22 09:56:28.473 DEBUG (MainThread) [deebot_client.event_bus] Event is the same! Skipping (AvailabilityEvent(available=True))
2024-05-22 09:56:28.473 DEBUG (MainThread) [deebot_client.device] Try to handle message onAIMap: b'{"header":{"pri":1,"tzm":120,"ts":"1716364587873","ver":"0.0.1","fwVer":"1.76.0","hwVer":"0.1.1","wkVer":"0.1.54"},"body":{"data":{"cid":"111","mid":"654760105","pointValue":[],"totalCount":0}}}'
2024-05-22 09:56:28.474 DEBUG (MainThread) [deebot_client.messages] Unknown message "onAIMap"
2024-05-22 09:56:28.876 DEBUG (MainThread) [deebot_client.mqtt_client.client] Received PUBLISH (d0, q0, r0, m0), 'iot/atr/onFwBuryPoint-bd_sysinfo/310b014d-e138-4268-b4f2-eea7bc4bebfa/lf3bn4/hOdT/j', ...  (2973 bytes)
2024-05-22 09:56:28.877 DEBUG (MainThread) [deebot_client.mqtt_client] Got message: topic=iot/atr/onFwBuryPoint-bd_sysinfo/310b014d-e138-4268-b4f2-eea7bc4bebfa/lf3bn4/hOdT/j, payload=b'{"header":{"pri":1,"tzm":120,"ts":"1716364588273","ver":"0.0.1","fwVer":"1.76.0","hwVer":"0.1.1","wkVer":"0.1.54"},"body":[{"isvalid":1,"mapid":"0654760105","meminfo":"812024,870940","pos":"-58,-805","signal":-55,"ts":"1716364588225","uptime":" 07:42:28 up 2 days, 13:46,hobotboot.reson=POWER_RESET,98/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"812036,870880","pos":"-1025,-4687","signal":-45,"ts":"1716364588225","uptime":" 07:43:28 up 2 days, 13:47,hobotboot.reson=POWER_RESET,98/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"812172,870700","pos":"362,-4632","signal":-47,"ts":"1716364588225","uptime":" 07:44:28 up 2 days, 13:48,hobotboot.reson=POWER_RESET,98/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"811632,871176","pos":"298,-7663","signal":-49,"ts":"1716364588225","uptime":" 07:45:28 up 2 days, 13:49,hobotboot.reson=POWER_RESET,97/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"811540,871188","pos":"180,-6522","signal":-50,"ts":"1716364588225","uptime":" 07:46:28 up 2 days, 13:50,hobotboot.reson=POWER_RESET,97/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"811972,870708","pos":"-71,-4023","signal":-49,"ts":"1716364588225","uptime":" 07:47:28 up 2 days, 13:51,hobotboot.reson=POWER_RESET,97/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"812036,870524","pos":"93,-1371","signal":-55,"ts":"1716364588225","uptime":" 07:48:28 up 2 days, 13:52,hobotboot.reson=POWER_RESET,97/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"812096,870412","pos":"-2529,-4873","signal":-51,"ts":"1716364588225","uptime":" 07:49:28 up 2 days, 13:53,hobotboot.reson=POWER_RESET,96/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"811856,870600","pos":"-234,-9212","signal":-55,"ts":"1716364588225","uptime":" 07:50:28 up 2 days, 13:54,hobotboot.reson=POWER_RESET,96/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"812708,869652","pos":"-2790,-10753","signal":-66,"ts":"1716364588225","uptime":" 07:51:28 up 2 days, 13:55,hobotboot.reson=POWER_RESET,96/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"812032,870244","pos":"-863,-10491","signal":-58,"ts":"1716364588225","uptime":" 07:52:28 up 2 days, 13:56,hobotboot.reson=POWER_RESET,96/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"812048,870192","pos":"44,-8356","signal":-54,"ts":"1716364588225","uptime":" 07:53:28 up 2 days, 13:57,hobotboot.reson=POWER_RESET,96/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"812328,869848","pos":"-819,-10145","signal":-55,"ts":"1716364588225","uptime":" 07:54:28 up 2 days, 13:58,hobotboot.reson=POWER_RESET,95/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"812452,869676","pos":"-2582,-10354","signal":-63,"ts":"1716364588225","uptime":" 07:55:28 up 2 days, 13:59,hobotboot.reson=POWER_RESET,95/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"812260,869816","pos":"-586,-10126","signal":-54,"ts":"1716364588225","uptime":" 07:56:28 up 2 days, 14:00,hobotboot.reson=POWER_RESET,95/0,2288"}]}'
2024-05-22 09:56:28.877 DEBUG (MainThread) [deebot_client.event_bus] Event is the same! Skipping (AvailabilityEvent(available=True))
2024-05-22 09:56:28.877 DEBUG (MainThread) [deebot_client.device] Try to handle message onFwBuryPoint-bd_sysinfo: b'{"header":{"pri":1,"tzm":120,"ts":"1716364588273","ver":"0.0.1","fwVer":"1.76.0","hwVer":"0.1.1","wkVer":"0.1.54"},"body":[{"isvalid":1,"mapid":"0654760105","meminfo":"812024,870940","pos":"-58,-805","signal":-55,"ts":"1716364588225","uptime":" 07:42:28 up 2 days, 13:46,hobotboot.reson=POWER_RESET,98/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"812036,870880","pos":"-1025,-4687","signal":-45,"ts":"1716364588225","uptime":" 07:43:28 up 2 days, 13:47,hobotboot.reson=POWER_RESET,98/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"812172,870700","pos":"362,-4632","signal":-47,"ts":"1716364588225","uptime":" 07:44:28 up 2 days, 13:48,hobotboot.reson=POWER_RESET,98/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"811632,871176","pos":"298,-7663","signal":-49,"ts":"1716364588225","uptime":" 07:45:28 up 2 days, 13:49,hobotboot.reson=POWER_RESET,97/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"811540,871188","pos":"180,-6522","signal":-50,"ts":"1716364588225","uptime":" 07:46:28 up 2 days, 13:50,hobotboot.reson=POWER_RESET,97/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"811972,870708","pos":"-71,-4023","signal":-49,"ts":"1716364588225","uptime":" 07:47:28 up 2 days, 13:51,hobotboot.reson=POWER_RESET,97/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"812036,870524","pos":"93,-1371","signal":-55,"ts":"1716364588225","uptime":" 07:48:28 up 2 days, 13:52,hobotboot.reson=POWER_RESET,97/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"812096,870412","pos":"-2529,-4873","signal":-51,"ts":"1716364588225","uptime":" 07:49:28 up 2 days, 13:53,hobotboot.reson=POWER_RESET,96/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"811856,870600","pos":"-234,-9212","signal":-55,"ts":"1716364588225","uptime":" 07:50:28 up 2 days, 13:54,hobotboot.reson=POWER_RESET,96/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"812708,869652","pos":"-2790,-10753","signal":-66,"ts":"1716364588225","uptime":" 07:51:28 up 2 days, 13:55,hobotboot.reson=POWER_RESET,96/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"812032,870244","pos":"-863,-10491","signal":-58,"ts":"1716364588225","uptime":" 07:52:28 up 2 days, 13:56,hobotboot.reson=POWER_RESET,96/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"812048,870192","pos":"44,-8356","signal":-54,"ts":"1716364588225","uptime":" 07:53:28 up 2 days, 13:57,hobotboot.reson=POWER_RESET,96/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"812328,869848","pos":"-819,-10145","signal":-55,"ts":"1716364588225","uptime":" 07:54:28 up 2 days, 13:58,hobotboot.reson=POWER_RESET,95/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"812452,869676","pos":"-2582,-10354","signal":-63,"ts":"1716364588225","uptime":" 07:55:28 up 2 days, 13:59,hobotboot.reson=POWER_RESET,95/0,2288"},{"isvalid":1,"mapid":"0654760105","meminfo":"812260,869816","pos":"-586,-10126","signal":-54,"ts":"1716364588225","uptime":" 07:56:28 up 2 days, 14:00,hobotboot.reson=POWER_RESET,95/0,2288"}]}'
2024-05-22 09:56:28.878 DEBUG (MainThread) [deebot_client.messages] Unknown message "onFwBuryPoint-bd_sysinfo"

Additional information

No response