From ef350a3592a1955a0fe66420fde108fd30bc24a5 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sun, 25 Dec 2022 03:04:51 +0300 Subject: inverter_mqtt_receiver: fix subscribe() topic --- src/inverter_mqtt_receiver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inverter_mqtt_receiver.py b/src/inverter_mqtt_receiver.py index ec250ae..ede6598 100755 --- a/src/inverter_mqtt_receiver.py +++ b/src/inverter_mqtt_receiver.py @@ -17,7 +17,7 @@ class MQTTReceiver(MQTTBase): def on_connect(self, client: mqtt.Client, userdata, flags, rc): super().on_connect(client, userdata, flags, rc) self._logger.info("subscribing to home/#") - client.subscribe('home/#', qos=1) + client.subscribe('hk/#', qos=1) def on_message(self, client: mqtt.Client, userdata, msg): try: -- cgit v1.2.3