Giter Club home page Giter Club logo

Comments (10)

edenhaus avatar edenhaus commented on June 12, 2024

Can you please attach debug logs.

from deebot-4-home-assistant.

geofffarmer avatar geofffarmer commented on June 12, 2024

My log exploded to 34k lines!

I didn't want to go through all of it looking for anything confidential so I searched for the original error and tried to work out how much of the surrounding info is relevent. Is this sufficient? I've replaced some things with stars if I though they may be personal info.

2022-06-27 19:06:49 DEBUG (MainThread) [deebot_client._api_client] got {'ret': 'ok', 'logs': [{'ts': 1656265100, 'last': 139, 'area': 2, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 1, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656265049, 'last': 8, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656264902, 'last': 103, 'area': 1, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656264870, 'last': 0, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656264818, 'last': 0, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656264727, 'last': 61, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656264599, 'last': 61, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656264306, 'last': 0, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656264256, 'last': 0, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656264219, 'last': 0, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656264186, 'last': 0, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656264154, 'last': 0, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656264126, 'last': 0, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656264085, 'last': 0, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656262848, 'last': 69, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 3, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1655565082, 'last': 118, 'area': 2, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 1, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1655564615, 'last': 366, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'auto', 'aiavoid': 0, 'aitypes': [], 'aiopen': 1, 'powerMopType': 1}, {'ts': 1655564399, 'last': 61, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1655564222, 'last': 73, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 3, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1655467983, 'last': 2502, 'area': 33, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'auto', 'aiavoid': 0, 'aitypes': [], 'stopReason': 1, 'aiopen': 1, 'powerMopType': 1}]}
2022-06-27 19:06:49 DEBUG (MainThread) [deebot_client.vacuum_bot] Handle command GetCleanLogs: {'ret': 'ok', 'logs': [{'ts': 1656265100, 'last': 139, 'area': 2, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 1, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656265049, 'last': 8, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656264902, 'last': 103, 'area': 1, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656264870, 'last': 0, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656264818, 'last': 0, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656264727, 'last': 61, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656264599, 'last': 61, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656264306, 'last': 0, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656264256, 'last': 0, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656264219, 'last': 0, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656264186, 'last': 0, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656264154, 'last': 0, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656264126, 'last': 0, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656264085, 'last': 0, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1656262848, 'last': 69, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 3, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1655565082, 'last': 118, 'area': 2, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 1, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1655564615, 'last': 366, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'auto', 'aiavoid': 0, 'aitypes': [], 'aiopen': 1, 'powerMopType': 1}, {'ts': 1655564399, 'last': 61, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 2, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1655564222, 'last': 73, 'area': 0, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'spotArea', 'aiavoid': 0, 'aitypes': [], 'stopReason': 3, 'aiopen': 1, 'powerMopType': 1}, {'ts': 1655467983, 'last': 2502, 'area': 33, 'id': 'acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'imageUrl': 'https://portal-eu.ecouser.net/api/lg/image/acb2e78e-8f25-454a-a0ac-***@***@iCmB', 'type': 'auto', 'aiavoid': 0, 'aitypes': [], 'stopReason': 1, 'aiopen': 1, 'powerMopType': 1}]}
2022-06-27 19:06:49 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/deebot_client/events/event_bus.py", line 139, in _call_refresh_function
await self._execute_command(commands[0])
File "/usr/local/lib/python3.9/site-packages/deebot_client/vacuum_bot.py", line 111, in execute_command
result = command.handle_requested(self.events, response)
File "/usr/local/lib/python3.9/site-packages/deebot_client/commands/clean_logs.py", line 38, in handle_requested
stop_reason=CleanJobStatus(int(log["stopReason"])),
KeyError: 'stopReason'
2022-06-27 19:06:49 DEBUG (MainThread) [deebot_client._api_client] calling api iot/devmanager.do with {'cmdName': 'getTotalStats', 'payload': {'header': {'pri': '1', 'ts': 1656353209.452774, 'tzm': 480, 'ver': '0.0.50'}}, 'payloadType': 'j', 'td': 'q', 'toId': 'acb2e78e-8f25-454a-a0ac-db3a297ceebe', 'toRes': 'iCmB', 'toType': 'ty84oi'}

from deebot-4-home-assistant.

geofffarmer avatar geofffarmer commented on June 12, 2024

And then, when I posted this, the starts got taken out.

from deebot-4-home-assistant.

edenhaus avatar edenhaus commented on June 12, 2024

Can you please verify with the ecovacs, which is different with the 17th clean log entry? Entry timestamp is Sat Jun 18 2022 15:03:35 GMT+0000
This entry is missing the key stopReason and I'm wondering why

from deebot-4-home-assistant.

geofffarmer avatar geofffarmer commented on June 12, 2024

I'm struggling to remember what could have happened at that time. There was one occasion when I picked up the vacuum. Could it be this? What do the stopReasons 1, 2 and 3 mean?

Is there a way to delete this history - without deleting everything?

Thank you for your efforts on this.

from deebot-4-home-assistant.

edenhaus avatar edenhaus commented on June 12, 2024

Is the app showing the entry? Can you see there some differences between the other entries?

The meaning of StopRean can be found under https://github.com/DeebotUniverse/client.py/blob/7dbb40fb5953c2256bf78e2c2f3d030a38c0f845/deebot_client/events/__init__.py#L31

from deebot-4-home-assistant.

geofffarmer avatar geofffarmer commented on June 12, 2024

The log looks like this:
Screenshot_20220629-041139_ECOVACS HOME
I think the entry causing the problem is this one:
Screenshot_20220629-041259_ECOVACS HOME
However, I found my timezone was set to GMT+8 but this doesn't tie in with any log entries.

Will the rouge entry drop off the log eventually?

from deebot-4-home-assistant.

geofffarmer avatar geofffarmer commented on June 12, 2024

It may be with noting that this is soon after the vacuum got very confused about where it was in my home. If you look at the map you can see that there is a kind of partial duplicate image shifted downwards. This has since corrected itself.

from deebot-4-home-assistant.

edenhaus avatar edenhaus commented on June 12, 2024

It’s fine, i was only wondering.
I don’t know how many entries ecovacs stores itself.

With the new update coming next week, the sensor should work again.

from deebot-4-home-assistant.

geofffarmer avatar geofffarmer commented on June 12, 2024

Thank you for looking at this

from deebot-4-home-assistant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.