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

Add options for MQTT username/password #5

Open
geoffbon opened this issue Mar 11, 2021 · 1 comment
Open

Add options for MQTT username/password #5

geoffbon opened this issue Mar 11, 2021 · 1 comment

Comments

@geoffbon
Copy link

geoffbon commented Mar 11, 2021

This looks like a great solution, and it's really close to working for me, except that my MQTT server is set up with user/password authentication.

It looks like the paho library supports this via MQTTClient_createWithOptions(), but I'm not quite c-savvy enough to create the right pull request. Any chance you can add this?
Perhaps adding a couple of optional parameters on the server address line to prevent breaking existing instances, i.e. allow both these to work:

tcp://172.148.5.11:1883
tcp://172.148.5.11:1883,jack,secretpassword

Otherwise I'll need to reconfigure stuff to allow non-authenticated connections, which I'd rather not do.

@geoffbon geoffbon changed the title Add options for username/password Add options for MQTT username/password Mar 11, 2021
@tconnz
Copy link

tconnz commented Mar 26, 2021

+1 for username/password if at all possible and "spare time" allows.

Many thanks for this program too @deepcoder

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

2 participants