Hypfer / ICantBelieveItsNotValetudo

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

README "published to mqtt.mapDataTopic"? #69

Closed ingoschi closed 3 years ago

ingoschi commented 3 years ago

https://github.com/Hypfer/ICantBelieveItsNotValetudo/blob/master/README.md#integration-with-fhem-iobroker-etc "By default, the image data is published via MQTT to the topic set in mqtt.mapDataTopic."

Isn't this wrong?

Valetudo publishes raw map data to MapData/map-data and optionally adds a Homie autodiscovery property for MapData/map so that it can be used by ICBINV "ICBINV should be configured so that it publishes the map to this topic."

ICBINV's default configuration is "mqtt": { "identifier": "rockrobo", "topicPrefix": "valetudo", "autoconfPrefix": "homeassistant", "broker_url": "mqtt://user:pass@foobar.example", "caPath": "", "mapDataTopic": "valetudo/robot/MapData/map-data", "minMillisecondsBetweenMapUpdates": 10000, "publishMapImage": true }

MqttClient subscribes to mqtt.mapDataTopic and publishes optionally to mqtt.topicPrefix + "/" + mqtt.identifier + "/MapData/map".

Hypfer commented 3 years ago

Might very well be, yeah

This repo is mostly unmaintained