Spaces:
Sleeping
Sleeping
LapStore commited on
Commit ·
0b343e5
1
Parent(s): 9004c90
debug mqtt
Browse files- mqtt_manager.py +1 -0
mqtt_manager.py
CHANGED
|
@@ -77,6 +77,7 @@ def mqtt_publisher_loop(tl_id):
|
|
| 77 |
print(f"📡 state {current_state} on {topic_msg(tl_id)}")
|
| 78 |
|
| 79 |
if current_state != state.status_free:
|
|
|
|
| 80 |
topic = topic_msg(tl_id)
|
| 81 |
pub_client.publish(topic, current_state)
|
| 82 |
|
|
|
|
| 77 |
print(f"📡 state {current_state} on {topic_msg(tl_id)}")
|
| 78 |
|
| 79 |
if current_state != state.status_free:
|
| 80 |
+
print("in inner mqtt funciton")
|
| 81 |
topic = topic_msg(tl_id)
|
| 82 |
pub_client.publish(topic, current_state)
|
| 83 |
|