parent
b6b2720b95
commit
85aa05a4cb
|
@ -165,6 +165,7 @@ def start_mqtt_publishers():
|
||||||
p6_topic = "tube-"+str(row[0])+"/p6"
|
p6_topic = "tube-"+str(row[0])+"/p6"
|
||||||
|
|
||||||
# Publish pixel topic
|
# Publish pixel topic
|
||||||
|
print(str([p1_r, p1_g, p1_b]))
|
||||||
mqtt_client.publish(p1_topic, str([p1_r, p1_g, p1_b]))
|
mqtt_client.publish(p1_topic, str([p1_r, p1_g, p1_b]))
|
||||||
mqtt_client.publish(p2_topic, str([p2_r, p2_g, p2_b]))
|
mqtt_client.publish(p2_topic, str([p2_r, p2_g, p2_b]))
|
||||||
mqtt_client.publish(p3_topic, str([p3_r, p3_g, p3_b]))
|
mqtt_client.publish(p3_topic, str([p3_r, p3_g, p3_b]))
|
||||||
|
|
Loading…
Reference in New Issue