Giter Club home page Giter Club logo

Comments (19)

Sab44 avatar Sab44 commented on June 12, 2024 1

Please refer to https://deebot.readthedocs.io/integrations/home-assistant/issues/, how you can activate debug logs.

Maybe for your usecase you can use the event deebot_cleaning_job

The last cleaning job sensor is the only sensor, which is not interacting instead the ecovacs server are creating the state after cleaning. Probably they have changed it again. If you provide me the logs, I probably can fix it again. I personally can't use it as I don't use the ecovacs servers

I have the same issue with my T9, that the last cleaning sensor stays on unknown. Not sure if related to this, but also the deebot_cleaning_job event is not firing for me at all.

from deebot-4-home-assistant.

cborisa avatar cborisa commented on June 12, 2024

same issue with Deebot T9 integration

from deebot-4-home-assistant.

edenhaus avatar edenhaus commented on June 12, 2024

Please activate debug logs and post the logs here

from deebot-4-home-assistant.

mash2k3 avatar mash2k3 commented on June 12, 2024

Not sure how to activate debug logs
Also this sensor was broken more than it worked
I know i had this issue b4. Originally it was working it broke after the migration to D4HA component then several month later an update fixed it then shortly after another update broke it.
I just came to the conclusion that im going to base my automations of a sensor created with in HA(automate a timestamp when docked) instead of the last cleaning sensor that's always broken. It just breaks my automation all the time and my vacuum doesnt run.
But i will assist in getting this fixed just instruct me on how to get what you want.

from deebot-4-home-assistant.

edenhaus avatar edenhaus commented on June 12, 2024

Please refer to https://deebot.readthedocs.io/integrations/home-assistant/issues/, how you can activate debug logs.

Maybe for your usecase you can use the event deebot_cleaning_job

The last cleaning job sensor is the only sensor, which is not interacting instead the ecovacs server are creating the state after cleaning. Probably they have changed it again. If you provide me the logs, I probably can fix it again. I personally can't use it as I don't use the ecovacs servers

from deebot-4-home-assistant.

cborisa avatar cborisa commented on June 12, 2024

@edenhaus I have logs from HA, do you want to filter it to Deebot only, or do you need extra in the logs (I don't want to upload here full log from my HA instance, but can send it somehow else

from deebot-4-home-assistant.

edenhaus avatar edenhaus commented on June 12, 2024

I only need the deebot logs ๐Ÿ˜Š

from deebot-4-home-assistant.

github-actions avatar github-actions commented on June 12, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from deebot-4-home-assistant.

cborisa avatar cborisa commented on June 12, 2024

@edenhaus Here are the logs from my instance. I've filtered it to DEEBOT relevant events. Let me know if you need some extra info from the logs
home-assistant-deebot.log
.

from deebot-4-home-assistant.

edenhaus avatar edenhaus commented on June 12, 2024

I will release a version with more debug logs soon (Iโ€™m currently ill) and afterwords a need another time new logs

from deebot-4-home-assistant.

cborisa avatar cborisa commented on June 12, 2024

@edenhaus get better soon! I have an HA testing instance which can also be connected to the vacuum - ready to deploy your version there for more debugging

from deebot-4-home-assistant.

edenhaus avatar edenhaus commented on June 12, 2024

I have released 1.3.2 as pre-release.
If you don't see the update in HACS, please click on reinstall and activate "beta versions", then you should see it.

After installing I need again debug logs :)

from deebot-4-home-assistant.

cborisa avatar cborisa commented on June 12, 2024

@edenhaus please find the new logs. I've cleaned them up keeping mostly only your data in. Let me know if you need other parts - I will get them to you
home-assistant-deebot.log

from deebot-4-home-assistant.

github-actions avatar github-actions commented on June 12, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from deebot-4-home-assistant.

edenhaus avatar edenhaus commented on June 12, 2024

Sorry for the delay but my notebook was broken and without it's hard to analyse the logs.

Ecovacs has changed their api and url for the last cleaning sensor is returning no data.

2022-05-31 13:24:31 DEBUG (MainThread) [deebot_client._api_client] Success: calling api: url=https://portal-eu.ecouser.net/api/lg/log.do, params={'td': 'GetCleanLogs', 'u': '[USERIDREMOVED]', 'cv': '1.67.3', 't': 'a', 'av': '1.3.1'}, json={'td': 'GetCleanLogs', 'did': '[REMOVED]', 'resource': '7WZE'}, response={'ret': 'ok', 'logs': []}

Is someone able to analyse the traffic of the app and give me information about, what did change?
For my 950 everything is working correctly.

from deebot-4-home-assistant.

vandalon avatar vandalon commented on June 12, 2024

The last cleaning returns the stop reason on my N8 Pro:

image

from deebot-4-home-assistant.

freddieleeman avatar freddieleeman commented on June 12, 2024

Same here; been trying to get coordinates for spot cleaning but deebot_cleaning_job is not firing, and sensor.deebot_last_cleaning is stuck at unknown.

Not sure if it is related, but running getStats gives me errors in the debug log:

2022-09-14 12:54:43.270 DEBUG (MainThread) [custom_components.deebot.vacuum] async_send_command getLifeSpan with ['sideBrush', 'brush', 'heap']
2022-09-14 12:54:43.449 WARNING (MainThread) [deebot_client.message] Could not parse getLifeSpan: {'ret': 'ok', 'resp': {'header': {'pri': 1, 'tzm': 480, 'ts': '1663152886633', 'ver': '0.0.1', 'fwVer': '2.5.5', 'hwVer': '0.1.1'}, 'body': {'code': 0, 'msg': 'ok', 'data': [{'type': 'sideBrush', 'left': 7880, 'total': 9000}, {'type': 'brush', 'left': 16941, 'total': 18000}, {'type': 'heap', 'left': 6139, 'total': 7200}]}}, 'id': '0Xap'}
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/deebot_client/message.py", line 52, in wrapper
    response = func(cls, event_bus, data)
  File "/usr/local/lib/python3.10/site-packages/deebot_client/message.py", line 108, in __handle_body_data
    return cls._handle_body_data(event_bus, data)
  File "/usr/local/lib/python3.10/site-packages/deebot_client/message.py", line 97, in _handle_body_data
    return cls._handle_body_data_dict(event_bus, data)
  File "/usr/local/lib/python3.10/site-packages/deebot_client/message.py", line 86, in _handle_body_data_dict
    raise NotImplementedError
NotImplementedError

from deebot-4-home-assistant.

xXDjMikeXx avatar xXDjMikeXx commented on June 12, 2024

I Have same issues with the X1!

no deebot_cleaning_job event
Last Cleaning Sensor not working

from deebot-4-home-assistant.

joshnl1977 avatar joshnl1977 commented on June 12, 2024

I'm having the exact same problem with my X1 Omni, where no deebot_cleaning_job event is being triggered and last cleaning sensor reports unknown.

I'd really like to be able to get coordinates for the robot so I can have it clean custom areas through Home Assistant (since custom areas cannot be saved in the Ecovacs app), so was wondering if any progress has been made with this issue. Is there any information I can provide that would help solve the issue?

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.