Skip to content

Valetudo 2024.02.0

Compare
Choose a tag to compare
@Hypfer Hypfer released this 14 Feb 19:40
· 119 commits to master since this release
valetudo

2024.02.0

Events via MQTT, new default NTP server, maintenance & polish

Events via MQTT

Starting with this release, ValetudoEvents are now being published to MQTT.

image

With that, you can now build automations that react on e.g. the DustBinFullValetudoEvent (if applicable to your robot).

It works similarly to how segment data is published to Home Assistant.
Thanks, @mundschenk-at for the input on how to design that!

If you're using Home Assistant, you should have a new sensor entity after the update.
If you're using something else or want to know how to interact with events, head over to the MQTT docs on https://valetudo.cloud

New default NTP server

Valetudo by default now syncs its time from valetudo.pool.ntp.org.
Using a vendor zone like that is a requirement from the people behind pool.ntp.org for any larger project or product.

Thanks, @rimrul for pointing out that requirement!

If your deployment still uses pool.ntp.org, it will be migrated automatically.
Also, the NTP Client now uses an exponential backoff retry strategy on error.

Misc

  • The NTP Connectivity view now displays the current robot time for peace of mind. Thanks, @stefanmd023 for the idea!
  • The internal water tank of the Dreame L10s Ultra can now be drained for storage of the robot using a newly introduced quirk
  • Setting the mop drying time on dreame now reports the correct value back
  • Dreame error code 121 is no longer unknown and now mapped properly
  • Zooming the map far out/in on mobile will now snap to the minimum/maximum zoom level with less jank

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

Features

  • ntpClient: Double wait time to next attempt on each sync error 6b15920
  • ntpClient: Use valetudo.pool.ntp.org as the default timeserver 1a3a9f8
  • mqtt: Publish ValetudoEvents to MQTT and allow interacting with it via MQTT cc2ecc3
  • ui: Display current robot time in NTPConnectivity view 3880f8b
  • vendor.dreame: Add drain internal water tank quirk 25f428f
  • vendor.dreame: Add implementation for the R2211 9b01829

Fixes

  • ui: Fix zustand deprecation warning f3b531e
  • vendor.dreame: Add error code mapping for code 121 dbbb58a
  • Gracefully handle development on systems with bonded network interfaces 9969307
  • vendor.dreame: Fix mop dock drying time quirk 7c87bf6
  • ui: Improve map zoom range clipping ebf8e9f