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

Anonymous MQTT #26

Open
kajhoej opened this issue Jan 16, 2019 · 1 comment
Open

Anonymous MQTT #26

kajhoej opened this issue Jan 16, 2019 · 1 comment

Comments

@kajhoej
Copy link

kajhoej commented Jan 16, 2019

I currently have a setup where i have enabled anonymous login to my MQTT server, how should I configure the username/password in the config for MQTT settings?

user = 
pass = 

No errors come from the above but also no data are received on my MQTT server?
Have also tried

user = ''
pass = ''

and

user = ""
pass = ""

But with no luck

@rondie
Copy link

rondie commented Sep 4, 2021

Late answer, I know, but I just found this repository, ran into the same problem and the I had the same question. The MQTT server will not care about any given credentials sent, so anything should work, including leaving the username/password as given in the default file config-org.cfg.

If you don't get any data in your MQTT server, check if you've enabled the plugin in the variable enabled_plugins in the [general] section of config.cfg, it should contain MQTTOutput (values are comma separated), and otherwise check your other values in the [mqtt] section of config.cfg.

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