fixed join muticast universe

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-13 00:49:26 +01:00
parent acf8f01204
commit d443eddb93
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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):