OpenBK7231T_App icon indicating copy to clipboard operation
OpenBK7231T_App copied to clipboard

How to set empty Login and Password for MQTT connection?

Open K-a-R-e-N opened this issue 6 months ago • 4 comments

I go to the menu "Config -> Configure MQTT", delete the User and Password fields. I press the "Sumbit" button, but the password and login are not deleted... How to make empty Login and Password for MQTT?

I tried through the command line like this: MqttPassword "" MqttUser "" It seems to have made the fields empty... but MQTT does not connect.... Image

K-a-R-e-N avatar May 28 '25 06:05 K-a-R-e-N

I'll check this, but are you saying that your MQTT broker requires empty username and empty password? Or do you want to disable mqtt..

openshwprojects avatar May 28 '25 18:05 openshwprojects

My MQTT broker requires empty username and empty password

Alibloke avatar Jun 20 '25 09:06 Alibloke

I pushed a self test for setting empty user/pass and it seems to work on config side, so if there is issue, it must be deeper in MQTT... i wonder if your broker expects really an empty user/pass string, or no user/pass entry at all?

openshwprojects avatar Jun 21 '25 06:06 openshwprojects

i got the same issue i gave up using it with mqtt. My Broker is also set up without password. and something seems hardcoded into my openbeken so that my old username for over 1 years ago is appearing again and again... and if i leave the user and password fields empty it disables mqtt again.

drschnalli avatar Nov 09 '25 09:11 drschnalli