Commit 8deb180b authored by chrissi^'s avatar chrissi^
Browse files

MqttConnector: Log incoming messages

Signed-off-by: chrissi^'s avatarChris Fiege <>
parent 523f8acc
......@@ -83,6 +83,7 @@ class MqttConnector:
def _cb(self, topic, msg):
topic = topic.decode()
msg = msg.decode()
print("MQTT: IN: '{}': '{}'".format(topic, msg))
for f in self._cb_list:
if f(topic, msg):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment