Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MQTT: If the user started a MQTT container automatically with Gladys, be able to create a MQTT user from Gladys #992

Closed
Pierre-Gilles opened this issue Nov 30, 2020 · 2 comments

Comments

@Pierre-Gilles
Copy link
Contributor

I cannot use the user given by gladys as credentials for another MQTT client (because 1 MQTT credentials = 1 client), so I need to create another Mosquitto user.

https://community.gladysassistant.com/t/premiere-installation/5791/15

@R6n0
Copy link
Contributor

R6n0 commented Dec 2, 2020

The user given by gladys as credentials could be used for another MQTT client if the Gladys MQTT client ID was different than user name for connexion ('gladys').
As you said in your link, the solution could be to define a unique client ID for gladys instance ('gladys-assistant-main-instance').

Line 34
https://github.com/GladysAssistant/Gladys/blob/master/server/services/mqtt/lib/connect.js

@Pierre-Gilles
Copy link
Contributor Author

Ok I'm closing this issue in favor of:

#997

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants