added loop forever

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-17 03:31:19 +01:00
parent 6f24c5a0e1
commit efce066887
1 changed files with 3 additions and 1 deletions

View File

@ -103,4 +103,6 @@ if __name__ == "__main__":
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)+"/p6", 0)
mqttc.loop_forever()