Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamBenes3 committed Dec 1, 2023
1 parent 5e0e02d commit 158805c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions LDP.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 158805c

Please sign in to comment.