MQTT with multiple users

In the past it was possible to configure multiple users and passwords in the MQTT broker.
This looks gone.

I used it because I had a device that had requirements on the password that didn’t match with my default setup so I added a second user and password but can’t find this back.
Not sure with what version is was removed.

How can I configure it nowe ?

Are you using MQTT add-ons in HA? If yes in the Add-ons config you add a list of logins(username and password) like this:

- username: shelly_mqtt_user
password: XXXXXXX
- username: shelly25_mqtt_user
password: XXXXXXX
- username: shelly1pm_mqtt_user
password: XXXXXXX

Ach ok thanks. Indeed it is still in the add-ons but it is confusing. Mqtt is now also part of the integrations and in the configuration at that place you only seen one userid and password.

Thanks a lot.

1 Like

In the integration you can test your logins and also the broker by publishing and listining to the queue.