stuartpittaway / diyBMSv4Code

Software for diyBMS v4
Other
145 stars 66 forks source link

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

Open Michaelillingby opened 3 years ago

Michaelillingby commented 3 years ago

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

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

ok, ty

On Jan 6, 2021, at 12:37 AM, Stuart Pittaway notifications@github.com wrote:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/stuartpittaway/diyBMSv4Code/issues/76#issuecomment-755163731, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHWYP2WJEDW6ARWVKWWRL3SYQONXANCNFSM4VXDGUXQ.