XtheOne / Inverter-Data-Logger

Data logger for Omnik/Hosola and other Solarman Wi-Fi kit powered Solar Inverters
GNU General Public License v3.0
120 stars 29 forks source link

Anonymous MQTT #26

Open kajhoej opened 5 years ago

kajhoej commented 5 years ago

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 commented 3 years ago

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.