fixed dmx_address var content

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-17 02:53:41 +01:00
parent 93d935e87e
commit 4d08075ba7
1 changed files with 1 additions and 1 deletions

View File

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