diyBMSv4Code icon indicating copy to clipboard operation
diyBMSv4Code copied to clipboard

COnnecting to MQTT server that doesnt require a username or password

Open Michaelillingby opened this issue 4 years ago • 2 comments

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.

Michaelillingby avatar Jan 06 '21 07:01 Michaelillingby

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

stuartpittaway avatar Jan 06 '21 08:01 stuartpittaway

ok, ty

On Jan 6, 2021, at 12:37 AM, Stuart Pittaway [email protected] 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.

Michaelillingby avatar Jan 06 '21 08:01 Michaelillingby