You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Python examples, the MQTT client ID is incorrectly set to the broker URL instead of letting it generate a random client ID. It looks like the parameters for the connect function were mistakenly copied to the constructor.
This prevents multiple Python clients from connecting to the same broker because they all use the same client ID.
In the Python examples, the MQTT client ID is incorrectly set to the broker URL instead of letting it generate a random client ID. It looks like the parameters for the connect function were mistakenly copied to the constructor.
This prevents multiple Python clients from connecting to the same broker because they all use the same client ID.
The first line should be changed to:
Reference:
https://pypi.org/project/paho-mqtt/#client
The text was updated successfully, but these errors were encountered: