jascdk / Nilan_Homeassistant

Use your Home Assistant to control and read values from your Nilan air vent system
54 stars 25 forks source link

Support username/password for MQTT broker. #4

Closed anderskvist closed 5 years ago

anderskvist commented 5 years ago

Untested against a MQTT without authentication, but documentation says they won't be used if NULL.

https://pubsubclient.knolleary.net/api.html#connect3

jascdk commented 5 years ago

Great PR:) Nice for someone else using this code and they have username and password on their broker