PowerStationMonitor/openhab2/things/syscommands.things

5 lines
386 B
Plaintext

Thing exec:command:oh2_service [command="sudo /bin/systemctl %2$s openhab2.service", autorun=true]
Thing exec:command:node_service [command="sudo /bin/systemctl %2$s nodered.service", autorun=true]
Thing exec:command:pi_service [command="sudo %2$s", autorun=true]
Thing exec:command:cpu_temp [command="cat /sys/class/thermal/thermal_zone0/temp", interval=15, timeout=5, autorun=false]