added callback

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-13 01:01:48 +01:00
parent 18da411702
commit b38127253e
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ def mqtt_publisher(universe):
receiver.start()
@receiver.listen_on('universe', universe=universe)
@receiver.register_listener('universe', universe=universe)
@receiver.register_listener('universe', universe=universe, callback=callback)
def callback(packet): # packet type: sacn.DataPacket
print(packet.dmxData)
global dmx_values