fixed join muticast universe
Signed-off-by: Ebbe Baß <ebbe.bass>
This commit is contained in:
@@ -87,7 +87,7 @@ sudo apt update -y && sudo apt upgrade -y && sudo apt install python3 python3-pi
|
||||
pip3 install Flask
|
||||
pip3 install adafruit_circuitpython_neopixel
|
||||
pip3 install Requests
|
||||
pip3 install stupidArtnet
|
||||
pip3 install sacn
|
||||
pip3 install wifi
|
||||
pip3 install paho-mqtt
|
||||
pip3 install get-mac
|
||||
|
||||
+1
-1
@@ -125,7 +125,7 @@ def mqtt_publisher(universe):
|
||||
print(packet.dmxData)
|
||||
global dmx_values
|
||||
dmx_values = packet.dmxData
|
||||
receiver.join_multicast()
|
||||
receiver.join_multicast(universe)
|
||||
while True:
|
||||
if dmx_values is not None:
|
||||
for channel, value in enumerate(dmx_values):
|
||||
|
||||
Reference in New Issue
Block a user