We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
in das Config-Verzeichnis wechseln cd /usr/local/addons/mosquitto/etc/conf.d
cd /usr/local/addons/mosquitto/etc/conf.d
Passwortdatei anlegen touch passwd.txt
touch passwd.txt
User anlegen /usr/local/addons/mosquitto/bin/mosquitto_passwd -b passwd.txt USERNAME PASSWORD
/usr/local/addons/mosquitto/bin/mosquitto_passwd -b passwd.txt USERNAME PASSWORD
Datei anlegen nano login.conf
nano login.conf
nun folgenden Inhalt in die Datei login.conf kopieren
allow_anonymous false
password_file /usr/local/addons/mosquitto/etc/conf.d/passwd.txt
/etc/config/rc.d/mosquitto restart
Der Benutzername und Passwort muss natürlich auf den MQTT Geräten eingegeben werden und in RedNote im MQTT-Server.
In RedNode auf eine MQTT-Node klicken und den kleinen Stift auswählen:
Hier nun das Passwort eintragen