1、正常按步骤启动mqtt
2、在终端新建,输入mosquitto_passwd -c pwfile.example pi 这个pi是你的用户名,可以自己设置,然后会提示输入两边密码,输入自己想要设置的密码就行 |
lff520520 发表于 2021-4-17 09:09 感谢回复····docker映像ncarlier/mqtt,按https://bbs.hassbian.com/thread-366-1-8.html启动mqtt,mqtt.fx可以连接,浏览器端无法连接···终端输入mosquitto_passwd -c pwfile.example pi第二次输入密码结束后如贴子第二图所示,输入栏灰屏后再无反应。····费解 |
dexter_hsu 发表于 2021-4-17 10:36 1、无界面的 2、密码设置好了就可以了 3、你mqtt直接可以给设备使用了 |