summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-12-25 03:04:51 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-12-25 03:04:51 +0300
commitef350a3592a1955a0fe66420fde108fd30bc24a5 (patch)
tree98f560f3410a3b7d343cb70880ca8f9322515eac
parente7362bd832915bee0630f05a316b50de651caa19 (diff)
inverter_mqtt_receiver: fix subscribe() topic
-rwxr-xr-xsrc/inverter_mqtt_receiver.py2
1 files changed, 1 insertions, 1 deletions
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: