added global result to publisher function

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-17 16:03:31 +01:00
parent 1e2bd1c20b
commit 0350fb8b2c
1 changed files with 1 additions and 0 deletions

View File

@ -119,6 +119,7 @@ def update_tube_index():
time.sleep(10)
def start_mqtt_publishers():
global result
# Create and start a thread for each universe
mqtt_client = connect_mqtt()
artnetBindIp = get_eth0_ip()