Spaces:
Sleeping
Sleeping
LapStore commited on
Commit ·
31a8c53
1
Parent(s): 55799cf
debug mqtt
Browse files
__pycache__/mqtt_manager.cpython-311.pyc
CHANGED
|
Binary files a/__pycache__/mqtt_manager.cpython-311.pyc and b/__pycache__/mqtt_manager.cpython-311.pyc differ
|
|
|
mqtt_manager.py
CHANGED
|
@@ -34,7 +34,7 @@ def mqtt_listener():
|
|
| 34 |
topic = message.topic
|
| 35 |
print(f"📥 Reply Received on {topic}: {msg}")
|
| 36 |
#if (msg == 'CHK'):
|
| 37 |
-
client.publish(topic_msg('6082411793'), 'DONE')
|
| 38 |
|
| 39 |
client = mqtt.Client()
|
| 40 |
client.connect(mqtt_broker, mqtt_port)
|
|
|
|
| 34 |
topic = message.topic
|
| 35 |
print(f"📥 Reply Received on {topic}: {msg}")
|
| 36 |
#if (msg == 'CHK'):
|
| 37 |
+
client.publish(topic_msg('6082411793'), 'DONE'+str(msg))
|
| 38 |
|
| 39 |
client = mqtt.Client()
|
| 40 |
client.connect(mqtt_broker, mqtt_port)
|