Re: OH 3.1.0 / AVM Fritzbox Error - AutoRestart
Verfasst: 9. Aug 2021 13:32
Code: Alles auswählen
Thing exec:command:oh3service [command="sudo /bin/systemctl restart openhab.service", autorun=false]
Code: Alles auswählen
UID: exec:command:oh3service
label: Befehl
thingTypeUID: exec:command
configuration:
transform:
interval: 0
autorun: false
command: sudo /bin/systemctl restart openhab.service
timeout: 15
Code: Alles auswählen
openhabian@openhab3:~$ openhab-cli console
Logging in as openhab
Password:
_ _ _ ____
___ ___ ___ ___ | | | | / \ | __ )
/ _ \ / _ \ / _ \ / _ \ | |_| | / _ \ | _ \
| (_) | (_) | __/| | | || _ | / ___ \ | |_) )
\___/| __/ \___/|_| |_||_| |_|/_/ \_\|____/
|_| 3.2.0-SNAPSHOT - Build #2456
Use '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
To exit, use '<ctrl-d>' or 'logout'.
openhab> bundle:restart org.openhab.binding.avmfritz
openhab> logout
openhabian@openhab3:~$
Code: Alles auswählen
sudo nano /etc/openhab/misc/exec.whitelist