Tasshack / dreame-vacuum

Home Assistant integration for Dreame robot vacuums with map support
https://community.home-assistant.io/t/custom-component-dreame-vacuum
MIT License
785 stars 94 forks source link

Start Auto-Empty is not available when Self-Clean is paused #324

Closed mzakharo closed 9 months ago

mzakharo commented 9 months ago

Describe the bug Start Auto-Empty button is greyed out/unavailable while 'Self Clean' is paused. Start Auto-Empty button works in DreameHome app while 'Self Clean' is paused.

Also: Start Auto-Empty button is greyed out/unavailable while the robot is drying mop pads. (It woks no problem in DreameHome app)

To Reproduce Start Self Clean operation on L10S Ultra. Pause it. Try to press 'auto empty' in HA, it will not work. But it will work through the official DreameHome app.

Also: begin drying the mop pads. Try to engage auto-empty. Works in DreameHome, fails in HA.

Expected behavior Expected to engage Auto Empty sequence while Self Clean is paused or drying mop-pads

Additional Information (please complete the following information)

Tasshack commented 9 months ago

I didn't know that the app allows you to start auto empting while drying mop pads but make sense to do it. I will fix this on the next Beta release.

mzakharo commented 9 months ago

Thanks. I am primarily looking to run auto empty when self clean is paused. This is my workaround for the unit to always run auto empty whenever it comes to refill water.

Tasshack commented 9 months ago

You can use this service call for triggering the auto emptying until the issue has been resolved.

service: vacuum.send_command
data:
    entity_id: # your vacuum entity id
    command: "action"
    params: 
        did: "15.1"
        siid: 15
        aaid: 1
        in: []
mzakharo commented 9 months ago

Thanks for the tip. Just FYI: there is a typo in your comment, it is aiid not aaid and there are no quotes around action.

- service: vacuum.send_command
    data:
      command: action
      params:
        did: "15.1"
        siid: 15
        aiid: 1
        in: []
Tasshack commented 9 months ago

@mzakharo https://www.reddit.com/r/Dreame_Tech/comments/187oqe2/comment/kc72son/?utm_source=reddit&utm_medium=web2x&context=3

mzakharo commented 9 months ago

That does not work if you use default cleaning mode via buttons on the base station or the robot.

On Mon, Dec 11, 2023, 12:18 AM Tasshack @.***> wrote:

@mzakharo https://github.com/mzakharo

https://www.reddit.com/r/Dreame_Tech/comments/187oqe2/comment/kc72son/?utm_source=reddit&utm_medium=web2x&context=3

— Reply to this email directly, view it on GitHub https://github.com/Tasshack/dreame-vacuum/issues/324#issuecomment-1849343785, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEKUO6UDWUY3TOMZPWVUB3YI2JRJAVCNFSM6AAAAAA774AIDSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBZGM2DGNZYGU . You are receiving this because you were mentioned.Message ID: @.***>

Tasshack commented 9 months ago

Fixed v2.0.0b11