ModBus software works, MQTT bridge software added.

This commit is contained in:
marcel
2025-08-14 11:45:47 +02:00
parent 7604b79b9e
commit 9e21f6a011
18 changed files with 587 additions and 100 deletions

View File

@@ -0,0 +1,10 @@
import logging
def on_message(client, userdata, message, properties=None):
logging.info(
f"Received message {message.payload} on topic '{message.topic}' with QoS {message.qos}"
)
def on_subscribe(client, userdata, mid, qos, properties=None):
logging.info(f"Subscribed with QoS {qos}")