JakobLichterfeld / TeslaMate-Telegram-Bot

A telegram bot which sends a message if an update for your Tesla is available (use TeslaMate MQTT)
MIT License
25 stars 4 forks source link

Impossible to provide MQTT credentials #23

Closed denisvic closed 3 years ago

denisvic commented 3 years ago

I use a separate MQTT broker with simple authentication. MQTT_BROKER_USERNAME and MQTT_BROKER_PASSWORD are not implemented.

JakobLichterfeld commented 3 years ago

Hi denisvic,

You are right, this is not yet implemented.

Had a short look seems quite easy to implement with

username_pw_set(username, password=None)

Before the connect. Need to test the behavior when no authentification is set on broker.

Regards

JakobLichterfeld commented 3 years ago

@denisvic : Please give the latest version a try :-)

denisvic commented 3 years ago

@JakobLichterfeld thank you so much !