alarm-handlers/armed.d/24_bar_off
2025-04-06 12:47:07 +02:00

6 lines
224 B
Bash
Executable file

#!/bin/bash
# will not work yet due to SSH key not being on there
#ssh -o ConnectTimeout=1 root@bank-pi.bitlair.nl shutdown -h now
#sleep 10
mqtt-simple -h mqtt.bitlair.nl -p bitlair/power/shelly/01/command/switch:0 -m off