Valetudo 2023.05.0
A few MQTT expansions plus some bugfixes
MQTT
All the feature changes in this release are related to the MQTT interface:
Consumables
It is now possible to reset consumables via MQTT.
For users of home assistant, this is as easy as clicking on the button entity for the respective consumable that is now also being autoconfigured.
If you're using a different smarthome software, you can find out how to issue the reset command in the MQTT docs.
Note:
Starting with this release, consumables by default aren't exposed to MQTT anymore, as the information value of them is rather mediocre at best.
This is because at the end of the day, you're looking at linearly decrementing counters that convey a lifetime assumption.
A better way to check for the actual consumable state is to just look at the part in question during regular maintenance.
Fear not however, as the functionality is just a checkbox in the MQTT settings away.
If you have an existing deployment, said checkbox will be checked automatically for you during the update process so no breakage here.
Total statistics
Speaking of optionally exposable capabilities, there's now a new one: Total Statistics
They work exactly the same as the current statistics but provide all-time values for your automation needs.
Current statistics
As with the consumables, current statistics are not exposed to MQTT by default anymore in new deployments.
This is all part of an effort to reduce the amount of data constantly polled from the robot firmware in scenarios where it isn't actually requested or needed by anyone.
More MQTT buttons
Now that I've figured out that home assistant button.mqtt
entities exist, I've also added two more to the autodiscovery:
You can even have ones that are disabled by default for functionality that probably isn't needed by most users:
Overall these are just a few minor neat-ness improvements for the UX.
Bugfixes
- Map polling on roborock robots has been improved to fix issues with stale data e.g. when editing virtual restrictions on the S7 Pro Ultra
- The
mop dock cleaning frequency
quirk for the roborock ultra dock now works correctly - When creating multiple timers at once, the editor is now cleared in between to remove stale data
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
- mqtt: Introduce autoconfigured home assistant buttons for AutoEmpty manual trigger and locate capabilities
246d655
- mqtt: Allow resetting consumables via MQTT and set consumables to be optionally exposed in new deployments
ac06012
- mqtt: Optionally expose total statistics and make exposure of current statistics optional for new deployments
5f85637
- mqtt: Expose fan speed as its own select entity to home assistant
4f03d6b
- ui: Refresh current statistics every 30s
63a49a1
- vendor.roborock: Map more error codes
1b55334
Fixes
- ui: Hide overflowing status state flag on small screens
3ccd63f
- ui: Fix timer editor not being reset when creating multiple timers
342b5e3
- vendor.dreame: Handle pixel type 3
91003db
- vendor.roborock: Fix MOP_DOCK_MOP_CLEANING_FREQUENCY quirk
15a6baa
- vendor.roborock: Fix virtual restrictions not appearing on refresh on the S7 Pro Ultra + map polling on S5e 1668
de9a085
- Satisfy new sonarcloud rules
c306028