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

COnnecting to MQTT server that doesnt require a username or password #76

Open
Michaelillingby opened this issue Jan 6, 2021 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@Michaelillingby
Copy link

I posted this question to a couple other topics but the thought it wasnt relevant there so I am creating a seperate issue,

how do I connect to the MQTT server when my server doesn't require a username or password? it is just isolated on my LAN and therefore no need for authentication.

@stuartpittaway
Copy link
Owner

This isn't possible at the moment, you could try changing the controller code and removing the 1 line...

mqttClient.setCredentials(mysettings.mqtt_username, mysettings.mqtt_password);

in main.cpp

@Michaelillingby
Copy link
Author

Michaelillingby commented Jan 6, 2021 via email

@stuartpittaway stuartpittaway added the help wanted Extra attention is needed label Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants