Open Ezward opened 1 year ago
currently there is no way to authenticate with the MQTT broker. So if someone has a broker that requires authentication then they are out of luck.
We have not handled that in the telemetry part; https://github.com/autorope/donkeycar/blob/9f91ad1aaff054522b24c2c1e727d1a111e266f4/donkeycar/parts/telemetry.py#L44. We need to update the part to take in the username and password from configuration and call username_pw_set() just before calling connect(). See username_pw_set() in https://pypi.org/project/paho-mqtt/#option-functions.
username_pw_set()
connect()
currently there is no way to authenticate with the MQTT broker. So if someone has a broker that requires authentication then they are out of luck.
We have not handled that in the telemetry part; https://github.com/autorope/donkeycar/blob/9f91ad1aaff054522b24c2c1e727d1a111e266f4/donkeycar/parts/telemetry.py#L44. We need to update the part to take in the username and password from configuration and call
username_pw_set()
just before callingconnect()
. Seeusername_pw_set()
in https://pypi.org/project/paho-mqtt/#option-functions.