fixed lamp power problem

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-17 00:53:52 +01:00
parent 5e4479863b
commit b65f5c3468
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ def register_tube(mac_address):
else:
# Tube is new, insert into the database
cur.execute("INSERT INTO tubes (mac_address, universe, dmx_address) VALUES (%s, %s, %s)",
(mac_address, 0, 1, 0)) # Universe 0, DMX Address 1, Lamp Power Off (False)
(mac_address, 0, 1)) # Universe 0, DMX Address 1
cur.close()
# Registration system route