Add scripts for Bitlair and DJO

This commit is contained in:
polyfloyd 2016-10-02 20:01:59 +02:00
parent 5b96a6be43
commit 239e6cec0e
27 changed files with 105 additions and 1 deletions

View file

@ -0,0 +1,11 @@
#!/bin/bash
ssh -o ConnectTimeout=1 root@music.bitlair.nl shutdown -h now
sleep 5
apc-switch 13 2
# Amplifier and KVM switch
apc-switch 20 2
sleep 1
mqtt-simple -r -h mqtt.bitlair.nl -p 'bitlair/music/space/state' -m 'stopped'