From 9268d26381ce51994272a598f1012b23864eb8b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 13:21:43 +0100 Subject: [PATCH] updated subscriber MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- client/main.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/client/main.py b/client/main.py index e06efdf..b12da6a 100644 --- a/client/main.py +++ b/client/main.py @@ -93,11 +93,6 @@ if __name__ == "__main__": mqttc = mqtt.Client(mqtt.CallbackAPIVersion.VERSION2) mqttc.connect("192.168.0.1", 1883, 60) mqttc.on_message = on_message - mqttc.subscribe("tube-"+str(wlan_mac_address)+"/p1", 0) - mqttc.subscribe("tube-"+str(wlan_mac_address)+"/p2", 0) - mqttc.subscribe("tube-"+str(wlan_mac_address)+"/p3", 0) - mqttc.subscribe("tube-"+str(wlan_mac_address)+"/p4", 0) - mqttc.subscribe("tube-"+str(wlan_mac_address)+"/p5", 0) - mqttc.subscribe("tube-"+str(wlan_mac_address)+"/p6", 0) + mqttc.subscribe("tube-"+str(wlan_mac_address)+"/pixel_colors", 0) mqttc.loop_forever() \ No newline at end of file