parent
a4ec98b6f0
commit
b9f446c679
|
@ -122,7 +122,7 @@ def start_mqtt_publishers():
|
||||||
if artNetPacket is not None:
|
if artNetPacket is not None:
|
||||||
#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
|
||||||
for i in range(512):
|
for i in range(artNetPacket.length):
|
||||||
try:
|
try:
|
||||||
# Create MQTT topic based on the universe and channel
|
# Create MQTT topic based on the universe and channel
|
||||||
topic = f"{str(artNetPacket.universe)}/{str(i)}"
|
topic = f"{str(artNetPacket.universe)}/{str(i)}"
|
||||||
|
|
Loading…
Reference in New Issue