DeebotUniverse/Deebot-4-Home-Assistant

Cleaning efficiency

Nanny1988 opened this issue · 5 comments

Is there an existing issue for this?

  • I have searched the existing issues and no issue is describing my feature request or idea

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

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

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}}}'

Ok found the command

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

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

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

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