Skip to content

2023.10.0

Compare
Choose a tag to compare
@Hypfer Hypfer released this 03 Oct 19:27
· 180 commits to master since this release
valetudo

2023.10.0

Fixes for bugs and annoyances + support for the W10 Pro

W10 Pro support

In the last month I finally found a reasonably-priced used W10 Pro locally. As I expected, I got scammed by the seller since one of the pumps in the dock was broken but it worked well enough to figure out and validate the rooting mechanism.

dreame_w10pro

What's interesting about this model is that it was dreame's first one with an AI camera and thus they apparently threw lots hardware at the problem.

It comes with an 8MP camera which I promptly took for a spin outside. I was a bit surprised that no one at the local supermarket said anything about that random guy pointing a vacuum robot at the local bodega cat but maybe they were all just scared?

Anyway, here you can see a few pictures taken with the robot. No post-processing applied (Click to enlarge)

Good thing that there is Valetudo to disconnect it from the cloud. :-)

Fixes to bugs and annoyances

Apart from W10 Pro support, this release also comes with fixes to a few annoyances and bugs.
Unfortunately, none of these things can be captured by static screenshots so no visualization today.

Icon rendering during pinch zoom

If you've ever used the Valetudo UI on mobile, you might've noticed that the icons behaved strangely when zooming the map.
I thought there was no way to fix that as my understanding of the issue was that it had to be like that due to performance limitations.

As it turns out, this wasn't true. After revisiting the code, it is now finally fixed.

No longer will icons grow super large and then suddenly snap to the right size once you let go of the screen.

Home Assistant 2023.8 naming requirements

Now that almost two months have passed since the Home Assistant 2023.8 release that introduced a breaking change to the way MQTT autodiscovery works, I hope that this should have given Valetudo users enough time to update their Home Assistant instance without being forced to take some quick and unplanned action.

Thus, Valetudo now complies with the new requirements regarding their device and entity naming.
This is a somewhat breaking change on the Valetudo side which might cause names but not IDs to change in older Home Assistant releases.

Overall not a big deal but it should get rid of a confusing warning message in HA that was especially confusing for newcomers.

Dreame AI Camera Obstacle Avoidance

While implementing and testing support for the W10 Pro, I've noticed that the way Valetudo implemented the ObstacleAvoidanceControl was wrong for the AI Camera based models. The way it worked before only influenced the Line laser obstacle avoidance which doesn't exist on W10 Pro and D10s Pro/Plus.

I missed that, because there is both Line Laser and AI Camera obstacle avoidance on the L10s Ultra and disabling one of them made a difference in navigation leading to me asking no further questions.

Interestingly, it seems that disabling the Line Laser Obstacle Avoidance on the L10s Ultra isn't possible at all using the Vendor app? Weird.

But no matter. Valetudo now does the correct thing on all supported robots.

Misc

During this release cycle, I did take the time to write down the promised rooting instructions for the freshly supported models from the last release.
They are now available on valetudo.cloud.

Additionally, we've finally been successful in eliminating the need for a Windows machine for the new fastboot rooting procedure.
All you will need is Debian - a statement that applies to not just these rooting instructions :)

Lastly, as might've already noticed, the OpenAPI spec is now also one of the release assets and can be found in the nightly repo as well.
This should be helpful for people wanting to take a look at the API without having a robot at hand.

The usual

If you want to see Valetudo on more robots and/or like this release, you might want to consider donating:

https://github.com/sponsors/Hypfer

https://builder.dontvacuum.me/donations.txt

Autogenerated changelog

Breaking Changes

  • mqtt: Comply with new home assistant 2023.8 naming requirements 9d0fed1

Features

  • ui: Remove unnecessary confirm dialog from initial provisioning 1d0dec7
  • MockRobot: Mock more capabilities a7179d2
  • vendor.dreame: W10 Pro db52169
  • Allow skipping the wifi credential validation 810e2e7
  • vendor.roborock: G10S support 7e4fdfe

Fixes

  • vendor.dreame: Fix obstacle avoidance control for camera models 7108bca
  • vendor.dreame: Map error code 69 & 70 fd8193a
  • ui: Correctly scale map structures during pinch zoom 1e0a306

Refactoring

  • Remove old config migration code d34f49c
  • ui: Remove no longer needed workaround for a bug in DOMMatrix.invertSelf in Blink 107 9acc263

Chores