README.md aktualisiert
This commit is contained in:
parent
b61f7471e2
commit
f70fca2ce9
1 changed files with 13 additions and 3 deletions
16
README.md
16
README.md
|
@ -34,11 +34,21 @@ ansible-playbook infoscreen.yml -i infoscreen-name-im-netzwerk,
|
|||
|
||||
|
||||
## optional: MQTT-Steuerung aktivieren
|
||||
Wenn du das Board per MQTT steuern willst (siehe hier: https://github.com/olialb/mqttDisplayClient), dann musst du
|
||||
- einen MQTT-Broker haben oder auf einem vorhandenen Linux-Server schnell nachinstallieren:
|
||||
- broker mit `~# apt install mosqitto` installieren
|
||||
- passwort mit `~# mosquitto_passwd -c /etc/mosquitto/.passwd _mqtt_username_ einrichten
|
||||
- Datei `/etc/mosquitto/conf.d/auth.conf` anlegen mit folgendem Inhalt:
|
||||
```
|
||||
listener 1883
|
||||
allow_anonymous false
|
||||
password_file /etc/mosquitto/.passwd
|
||||
```
|
||||
- in infoscreen.yml die Variable auf true setzen
|
||||
- in roles/mqttDisplayClient/vars/main.yml die Konfiguration durchführen
|
||||
- mqtt-broker
|
||||
- port
|
||||
- username
|
||||
- mqtt_broker: IP oder FQDN deines mosquitto-servers
|
||||
- mqtt_port: _mqtt-port_
|
||||
- mqtt_username: _mqtt-username_
|
||||
- password: kann im Klartext eingetragen werden (ist aber nicht empfohlen)
|
||||
mit ~# ansible-vault encrypt_string 'meinSicheresPasswort' --name 'password'
|
||||
kann man sich ein verschlüsseltes Kennwort anlegen, muss dabei ein vault-passwort vergeben
|
||||
|
|
Loading…
Add table
Reference in a new issue