pkoehlers / maploader

Map loader for Dreame robot vacuums running Valetudo
GNU General Public License v3.0
60 stars 7 forks source link

Feature request : announce map change #21

Closed carefulcomputer closed 9 months ago

carefulcomputer commented 1 year ago

This is a feature request. When a map is changed, it would be awesome for vacuum to announce that new map has been loaded.

pkoehlers commented 11 months ago

I'm not sure how that feature should look like.

In general the maploader offers a Maploader state topic: valetudo/maploader/status, which can be monitored for returning to status idle.

The new map should then be loaded, it may still take a moment until Valetudo is fully operational after the status change though.

tigattack commented 10 months ago

The aplay binary can be used to play audio files, perhaps a bundled WAV could be played upon successful load of a new map.

This could also be implemented without direct support from maploader by triggering the aplay script from https://github.com/carefulcomputer/vacuumScripts upon a change to the valetudo/maploader/status MQTT topic.

carefulcomputer commented 9 months ago

Thank you !!