parent
08d72f4493
commit
90b6bbc741
|
@ -123,6 +123,7 @@ def start_mqtt_publishers():
|
||||||
#Checks to see if the current packet is for the specified DMX Universe
|
#Checks to see if the current packet is for the specified DMX Universe
|
||||||
dmxPacket = artNetPacket.data
|
dmxPacket = artNetPacket.data
|
||||||
# Create MQTT topic based on the universe and channel
|
# Create MQTT topic based on the universe and channel
|
||||||
|
if result is not None:
|
||||||
for row in result:
|
for row in result:
|
||||||
dmx_address = int(row[2])
|
dmx_address = int(row[2])
|
||||||
if artNetPacket.universe == int(row[1]):
|
if artNetPacket.universe == int(row[1]):
|
||||||
|
|
Loading…
Reference in New Issue