Hypfer / ICantBelieveItsNotValetudo

A Valetudo companion service which renders maps to pngs
Apache License 2.0
129 stars 80 forks source link

feat: mqtt.publishAsBase64 #71

Closed ingoschi closed 3 years ago

ingoschi commented 3 years ago

As described in https://github.com/Hypfer/Valetudo/discussions/1169

When the new option mqtt.publishAsBase64 is true, then the map will be published to 'MapData/map' as base64-encoded string. Using the same topic has the adventage that the topic is already registered for Homie autodiscovery by Valetudo or already discovered by clients. This makes the map update in openHAB far easier and doesn't harm others who still prefer the image data.