From 158805c93e00ad2d573f3dae61e8a70fbcf5be03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Bene=C5=A1?= Date: Fri, 1 Dec 2023 20:24:11 +0100 Subject: [PATCH] ... --- LDP.py | 1 + 1 file changed, 1 insertion(+) diff --git a/LDP.py b/LDP.py index 90e2819..7336774 100644 --- a/LDP.py +++ b/LDP.py @@ -55,6 +55,7 @@ def on_message(client, userdata, message): 'message': message_payload, 'timestamp': time.strftime("%Y-%m-%dT%H:%M:%S", time.gmtime()) } + print(received_data) if received_data["topic"].endswith("up"): try: payload_dict = json.loads(message_payload)