parent
933ed5a8d9
commit
2d0418ee0e
|
@ -127,6 +127,7 @@ def start_mqtt_publishers():
|
||||||
cur.execute("SELECT mac_address, universe, dmx_address FROM tubes")
|
cur.execute("SELECT mac_address, universe, dmx_address FROM tubes")
|
||||||
result = cur.fetchall()
|
result = cur.fetchall()
|
||||||
for row in result:
|
for row in result:
|
||||||
|
print(row)
|
||||||
dmx_address = int(row[2])
|
dmx_address = int(row[2])
|
||||||
if artNetPacket.universe == int(row[2]):
|
if artNetPacket.universe == int(row[2]):
|
||||||
#Define RGB values per pixel
|
#Define RGB values per pixel
|
||||||
|
|
Loading…
Reference in New Issue