parent
02ced5fef2
commit
6c69200a44
|
@ -111,8 +111,6 @@ def connect_mqtt():
|
||||||
|
|
||||||
def mqtt_publisher():
|
def mqtt_publisher():
|
||||||
def on_message(mqttc, obj, msg):
|
def on_message(mqttc, obj, msg):
|
||||||
print(msg.payload.decode)
|
|
||||||
print(type(msg.payload.decode))
|
|
||||||
global TUBE_INDEX
|
global TUBE_INDEX
|
||||||
TUBE_INDEX = list(msg.payload.decode)
|
TUBE_INDEX = list(msg.payload.decode)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue