summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-12-25 03:10:33 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-12-25 03:10:33 +0300
commitcd7e5c16f3e0e768a24b4d448db01b1d94a0b4c1 (patch)
tree31a6407f63c0f1501b958547f3d2074adf102125
parent7bc380d970a94833bd18503940e739066d101ef8 (diff)
fix log messages
-rwxr-xr-xsrc/inverter_mqtt_receiver.py2
-rwxr-xr-xsrc/sensors_mqtt_receiver.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/inverter_mqtt_receiver.py b/src/inverter_mqtt_receiver.py
index ede6598..d138609 100755
--- a/src/inverter_mqtt_receiver.py
+++ b/src/inverter_mqtt_receiver.py
@@ -16,7 +16,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/#")
+ self._logger.info("subscribing to hk/#")
client.subscribe('hk/#', qos=1)
def on_message(self, client: mqtt.Client, userdata, msg):
diff --git a/src/sensors_mqtt_receiver.py b/src/sensors_mqtt_receiver.py
index ead28db..0b4c279 100755
--- a/src/sensors_mqtt_receiver.py
+++ b/src/sensors_mqtt_receiver.py
@@ -23,7 +23,7 @@ class MQTTServer(MQTTBase):
def on_connect(self, client: mqtt.Client, userdata, flags, rc):
super().on_connect(client, userdata, flags, rc)
- self._logger.info("subscribing to home/#")
+ self._logger.info("subscribing to hk/#")
client.subscribe('hk/#', qos=1)
def on_message(self, client: mqtt.Client, userdata, msg):