OpenGarage / OpenGarage-Firmware

OpenGarage: open-source WiFi-enabled garage door opener
https://opengarage.io
GNU General Public License v3.0
280 stars 102 forks source link

Feature Request - Add username/password fields for MQTT server #55

Closed stk21 closed 3 years ago

stk21 commented 4 years ago

My MQTT server uses username and passwords, and all of my devices support this. Can the firmware for this also include support for authentication?

Thanks.

jduff001 commented 4 years ago

I noticed that the mqtt options did not have the username/password options. Since my mqtt broker does not allow anonymous I have not been able to test mqtt. Instead I have been using the Home Assistant opengarage cover/template. This seems OK for one device, but not the second garage door device with a different ip.

rayshobby commented 3 years ago

This has been addressed in the new firmware (currently in development branch) 1.1.2: https://github.com/OpenGarage/OpenGarage-Firmware/commits/dev-1.1.2 once we finish testing it will be released. The previous firmwares didn't support this because they used an outdated MQTT library that doesn't support authentication. 1.1.2 has changed the MQTT library to the latest which supports authentication now.