home-assistant: Add service to shut down desk panel
Home Assistant can now SSH into the desk panel and shut it down.
This commit is contained in:
4
home-assistant/shutdown-kiosk.sh
Normal file
4
home-assistant/shutdown-kiosk.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
ssh -i /run/secrets/home-assistant/sshkey.pem -oUserKnownHostsFile=/run/config/ssh_known_hosts -oBatchMode=yes kiosk@deskpanel.pyrocufflink.red doas systemctl poweroff
|
||||
Reference in New Issue
Block a user