New Ledbanner switch

This commit is contained in:
polyfloyd 2024-08-14 19:06:50 +02:00
parent 8ebe3354e9
commit a446be0230
8 changed files with 8 additions and 11 deletions

View file

@ -0,0 +1,3 @@
#!/bin/bash
mqtt-simple -h mqtt.bitlair.nl -p bitlair/power/shelly/05/command/switch:0 -m off

View file

@ -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
View file

@ -0,0 +1,3 @@
#!/bin/bash
mqtt-simple -h mqtt.bitlair.nl -p bitlair/power/shelly/05/command/switch:0 -m on

View file

@ -1,4 +0,0 @@
#!/bin/bash
# Turn on ledbanner
powerbar-switch 20 on

View file

@ -0,0 +1 @@
../bitlair_closed.d/20_ledbanner_off

View file

@ -1 +0,0 @@
../bitlair_closed.d/23_ledbanner_off

1
djo_open.d/20_ledbanner_on Symbolic link
View file

@ -0,0 +1 @@
../bitlair_open.d/20_ledbanner_on

View file

@ -1 +0,0 @@
../bitlair_open.d/21_ledbanner_on