This was mentioned in another mqtt post last year but unanswered. Is there a way to set an mqtt username and password for the device to connect to the broker? Are these fields something that could be added into the UI in the future?
Probably not — the current MQTT implementation does not incorporate HTTPS connection. If you want to enable user name and password, most likely that’s going to require HTTPS connection, and this is not implemented in the firmware yet.