diff --git a/python/examples/example_raspberry_pi.py b/python/examples/example_raspberry_pi.py index afd4a9f3..f4703d8b 100755 --- a/python/examples/example_raspberry_pi.py +++ b/python/examples/example_raspberry_pi.py @@ -219,7 +219,7 @@ def publishBirths(): deathPayload = sparkplug.getNodeDeathPayload() # Start of main program - Set up the MQTT client connection -client = mqtt.Client(serverUrl, 1883, 60) +client = mqtt.Client() client.on_connect = on_connect client.on_message = on_message client.username_pw_set(myUsername, myPassword)