New Ledbanner switch
This commit is contained in:
parent
8ebe3354e9
commit
a446be0230
8 changed files with 8 additions and 11 deletions
3
bitlair_closed.d/20_ledbanner_off
Executable file
3
bitlair_closed.d/20_ledbanner_off
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
mqtt-simple -h mqtt.bitlair.nl -p bitlair/power/shelly/05/command/switch:0 -m off
|
|
@ -1,5 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
ssh -o ConnectTimeout=1 root@ledbanner.bitlair.nl shutdown -h now
|
|
||||||
sleep 10
|
|
||||||
powerbar-switch 20 off
|
|
3
bitlair_open.d/20_ledbanner_on
Executable file
3
bitlair_open.d/20_ledbanner_on
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
mqtt-simple -h mqtt.bitlair.nl -p bitlair/power/shelly/05/command/switch:0 -m on
|
|
@ -1,4 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Turn on ledbanner
|
|
||||||
powerbar-switch 20 on
|
|
1
djo_closed.d/20_ledbanner_off
Symbolic link
1
djo_closed.d/20_ledbanner_off
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../bitlair_closed.d/20_ledbanner_off
|
|
@ -1 +0,0 @@
|
||||||
../bitlair_closed.d/23_ledbanner_off
|
|
1
djo_open.d/20_ledbanner_on
Symbolic link
1
djo_open.d/20_ledbanner_on
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../bitlair_open.d/20_ledbanner_on
|
|
@ -1 +0,0 @@
|
||||||
../bitlair_open.d/21_ledbanner_on
|
|
Loading…
Add table
Add a link
Reference in a new issue