From 8ebe3354e91a5f29e2926fc582d63d52935628fa Mon Sep 17 00:00:00 2001 From: polyfloyd Date: Wed, 14 Aug 2024 19:06:30 +0200 Subject: [PATCH] Add Crystal lamp switch --- bitlair_closed.d/20_crystal_lamp_off | 3 +++ bitlair_open.d/20_crystal_lamp_on | 3 +++ 2 files changed, 6 insertions(+) create mode 100755 bitlair_closed.d/20_crystal_lamp_off create mode 100755 bitlair_open.d/20_crystal_lamp_on diff --git a/bitlair_closed.d/20_crystal_lamp_off b/bitlair_closed.d/20_crystal_lamp_off new file mode 100755 index 0000000..f8d1adc --- /dev/null +++ b/bitlair_closed.d/20_crystal_lamp_off @@ -0,0 +1,3 @@ +#!/bin/bash + +mqtt-simple -h mqtt.bitlair.nl -p bitlair/power/shelly/01/command/switch:0 -m off diff --git a/bitlair_open.d/20_crystal_lamp_on b/bitlair_open.d/20_crystal_lamp_on new file mode 100755 index 0000000..26d9f4f --- /dev/null +++ b/bitlair_open.d/20_crystal_lamp_on @@ -0,0 +1,3 @@ +#!/bin/bash + +mqtt-simple -h mqtt.bitlair.nl -p bitlair/power/shelly/01/command/switch:0 -m on