DeebotUniverse / Deebot-4-Home-Assistant

Home Assistant integration for deebot vacuums
https://deebot.readthedocs.io/integrations/home-assistant/
GNU General Public License v3.0
179 stars 37 forks source link

Cleaning efficiency #487

Open Nanny1988 opened 6 months ago

Nanny1988 commented 6 months ago

Is there an existing issue for this?

Is your feature request related to a problem?

No

Suggested solution

Is it possible to integrate the cleaning efficiency Screenshot_20231223_112903_ECOVACS HOME

Api example request

No response

Alternatives you've considered

No response

Additional information

No response

edenhaus commented 6 months ago

As my bot hasn't this feature you need to analyze the traffic between the app and bot to find out which command is needed to set this setting

Nanny1988 commented 6 months ago

I think the command is sweepMode. But i dont know how to integrate

2023-12-24 13:21:10.709 DEBUG (MainThread) [deebot_client.device] Try to handle message onCustomAreaMode: b'{"header":{"pri":1,"tzm":60,"ts":"1703420468771","ver":"0.0.1","fwVer":"1.22.0","hwVer":"0.1.1","wkVer":"0.1.54"},"body":{"data":{"sweepMode":0}}}'

Nanny1988 commented 6 months ago

Ok found the command

service: vacuum.send_command target: entity_id: vacuum.barkly data: command: setCustomAreaMode params: sweepMode: 1

edenhaus commented 6 months ago

Could you please find out what values sweepMode can have and what they mean? Afterwards we can start to implement it so you don't need to send a custom command

Nanny1988 commented 6 months ago

sweepMode "2" : fast cleaning sweepMode "0" : standard cleaning sweepMode "1" : deep cleaning

This means how closely the vacuum cleaner moves and clean the floor