Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-17 03:01:00 +01:00
parent 2d0418ee0e
commit e74059432c
1 changed files with 4 additions and 1 deletions

View File

@ -127,7 +127,10 @@ def start_mqtt_publishers():
cur.execute("SELECT mac_address, universe, dmx_address FROM tubes")
result = cur.fetchall()
for row in result:
print(row)
print(row[0])
print(row[1])
print(row[2])
dmx_address = int(row[2])
if artNetPacket.universe == int(row[2]):
#Define RGB values per pixel