Closed BabyCakes13 closed 1 year ago
The connect function from mqtt.py is faulty. It always logs successful connection to any broker:
paho-mqtt does find that the connection is not successful, but the connect_async and loop_start methods do not throw any errors.
The problem was only the log message. The message with the successful statement was printed BEFORE the connection loop actually started.
I removed the faulty message and now everything is clearer.
The connect function from mqtt.py is faulty. It always logs successful connection to any broker:
paho-mqtt does find that the connection is not successful, but the connect_async and loop_start methods do not throw any errors.