parent
8dd4924f13
commit
8e859876d3
|
@ -120,6 +120,7 @@ def start_mqtt_publishers(universe_count):
|
||||||
artNet = Artnet.Artnet(BINDIP = artnetBindIp, DEBUG = False, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", PORT = 6454, REFRESH=30)
|
artNet = Artnet.Artnet(BINDIP = artnetBindIp, DEBUG = False, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", PORT = 6454, REFRESH=30)
|
||||||
tuple_ip = (str(get_eth0_ip()), 6454)
|
tuple_ip = (str(get_eth0_ip()), 6454)
|
||||||
artNet.art_pol_reply(tuple_ip)
|
artNet.art_pol_reply(tuple_ip)
|
||||||
|
print(universe_list)
|
||||||
try:
|
try:
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
|
@ -130,7 +131,7 @@ def start_mqtt_publishers(universe_count):
|
||||||
if artNetPacket is not None and artNetPacket.data is not None:
|
if artNetPacket is not None and artNetPacket.data 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
|
||||||
if artNetPacket.universe == universe:
|
if artNetPacket.universe == universe:
|
||||||
print(artNetPacket.universe)
|
# print(artNetPacket.universe)
|
||||||
dmxPacket = artNetPacket.data
|
dmxPacket = artNetPacket.data
|
||||||
try:
|
try:
|
||||||
for i in range(512):
|
for i in range(512):
|
||||||
|
|
Loading…
Reference in New Issue