test client id

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-13 00:15:40 +01:00
parent 11e1ea1144
commit 07f8a0ea69
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ def connect_mqtt():
else: else:
print("Failed to connect, return code %d\n", rc) print("Failed to connect, return code %d\n", rc)
# Set Connecting Client ID # Set Connecting Client ID
client = mqtt.Client(mqtt_client_id) client = mqtt.Client("mqtt_client_id")
# client.username_pw_set(username, password) # client.username_pw_set(username, password)
client.on_connect = on_connect client.on_connect = on_connect
client.connect("localhost", 1883) client.connect("localhost", 1883)