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 server credentials #1

Open
Dinth opened this issue Nov 21, 2020 · 1 comment
Open

MQTT server credentials #1

Dinth opened this issue Nov 21, 2020 · 1 comment

Comments

@Dinth
Copy link

Dinth commented Nov 21, 2020

Hi. This tool looks exactly like something what i need, but it doesn't support logging to MQTT server using credentials.
Would you be able to add this @ksjoberg please?

@Dinth
Copy link
Author

Dinth commented Nov 22, 2020

OK, this was simple, i have just added:

module.USER = "..."
module.PASS = "..."

in config.lua, and changed:
m = mqtt.Client(config.ID, 120)
to:
m = mqtt.Client(config.ID, 120, config.USER, config.PASS)
in application.lua

Do you want me to commit?

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

No branches or pull requests

1 participant