norberts1 / hometop_HT3

Pimp your heater.
GNU General Public License v3.0
39 stars 19 forks source link

MQTT output doesn't match to HomeAssistant interface #14

Closed norberts1 closed 3 years ago

norberts1 commented 3 years ago

Describe the bug The current mqtt topic- and payload-output doesn't match to the HomeAssistant interface.

To Reproduce current mqtt-output is like: topic: 'hometop/ht/ch_pump_heating' and payload: 'current value' visible with call: mosquitto_sub -d -t hometop/ht/# -h 'broker-IP adr.'

Expected behavior mqtt output should match to required HomeAssistant default topic-name 'homeassistant' and payload using json-formated streams.

norberts1 commented 3 years ago

MQTT-client (subscribe & publish) modul added to handle that HomeAssistant interface. This modul: ht_2hassio.py is running as daemon to receiving MQTT-outputs and send back modified topic and payload to the MQTT-broker.