Wer seiner Weboberfläche ein Terminal verpassen will, tut folgendes:
sudo nano /etc/default/homebridge
und hängt unten zwei Zeilen dran:
# To enable web terminals via homebridge-config-ui-x uncomment the following line
HOMEBRIDGE_CONFIG_UI_TERMINAL=1
Sieht dann so aus (Achtung: meine Datei weicht von derjenigen, die die Forenanleitung vorgibt, ab. Ich hab sie für meine Installation noch ein wenig erweitert, für das Terminal sind nur die beiden untersten Zeilen wichtig):
# Defaults / Configuration options for homebridge
# The following settings tells homebridge where to find the config.json file and where to persist the data (i.e. pairing and others)
#
# Options:
#
# -h, --help output usage information
# -V, --version output the version number
# -P, --plugin-path [path] look for plugins installed at [path] as well as the default locations ([path] can also point to a single plugin)
# -U, --user-storage-path [path] look for homebridge user files at [path] instead of the default location (~/.homebridge)
# -D, --debug turn on debug level logging
# -T, --no-timestamp do not issue timestamps in logging
# -Q, --no-qrcode do not issue QRcode in logging
# -C, --color force color in logging
# -I, --insecure allow unauthenticated requests (for easier hacking)
HOMEBRIDGE_OPTS=-I -Q -C -U /var/homebridge
# If you uncomment the following line, homebridge will log more
# You can display this via systemd's journalctl: journalctl -f -u homebridge
# DEBUG=*
# To enable web terminals via homebridge-config-ui-x uncomment the following line
HOMEBRIDGE_CONFIG_UI_TERMINAL=1
Alles anzeigen
Abspeichern und dann das Plugin homebridge-config-ui-x neu starten. Wer es standalone laufen hat mit: sudo systemctl restart homebridge-config-ui-x. Alle anderen: sudo systemctl restart homebridge.
Wenn man sich dann in die Weboberfläche einloggt, findet man ganz rechts im Menü mit den drei vertikalen Punkten den Menüpunkt "Terminal". Ich sag's gleich: viel kann man damit nicht anfangen, aber für die Verspielten unter uns ist es natürlich ein Muss
Stefan