Hypfer / Valetudo

Cloud replacement for vacuum robots enabling local-only operation
https://valetudo.cloud
Apache License 2.0
6.39k stars 388 forks source link

Dreame L10Pro - unable to change operation mode #1770

Closed ironiemix closed 1 year ago

ironiemix commented 1 year ago

Description

I am unable to change the operation mode to something other than "Vacuum". Whenever I select "Vacuum & Mop" or "Mop" I get the message "An error occurred while sending command to OperationModeControlCapability: Error code -1".

I am not sure, since when this happens, it worked ok after installation ~10 month ago, but the last 2 valetudo updates did not change the situation.

This happens regardless of the state of the robot - docked, working, whatever.

To Reproduce

  1. Open control page of robot
  2. Open the "Mode"-Control block
  3. Select "Vacuum & Mop" or "Mop"
  4. Error message "An error occurred while sending command to OperationModeControlCapability: Error code -1" is displayed in red alert box at bottom, selector jumps back to "Vacuum"-Mode.

Screenshots

Bildschirmfoto vom 2023-04-01 13-59-58

Vacuum Model

Dreame L10 Pro Firmware Version 1105

Valetudo Version

2023.03.0 Commit fc6b905a99f889473f375eb011bd2d3d2b2599ea

Expected behavior

Operation mode should change to the selected mode, "Vacuum & Mop" respectively "Mop".

Additional context

The corresponding log-entrys are: 2023-04-01T12:08:10.744Z warn PresetSelectionCapabilityRouter: Received error from robot while handling route "/preset" { body: { name: 'vacuum_and_mop' }, message: 'Error code -1' } 2023-04-01T12:09:12.723Z warn PresetSelectionCapabilityRouter: Received error from robot while handling route "/preset" { body: { name: 'mop' }, message: 'Error code -1' }

ironiemix commented 1 year ago

O.k. - so after some more digging I found this:

https://github.com/Hypfer/Valetudo/discussions/1760#discussioncomment-5436642

Hypfer commented 1 year ago

Does it work now?

ironiemix commented 1 year ago

Yes, after Upgrading the Dreame-Firmware via Dustbuilder to version 1138 everything works as expected again. Thanks a lot for this great software!