From 0c756c5e491246f1141bb7a431c2810ad246983d Mon Sep 17 00:00:00 2001 From: Nick Van Doorn Date: Tue, 31 Aug 2021 23:49:53 -0700 Subject: Very hip home automation All the GPIO libraries are such a mess that this seems suitable for now --- bin/lights-off | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 bin/lights-off (limited to 'bin/lights-off') diff --git a/bin/lights-off b/bin/lights-off new file mode 100755 index 0000000..ee0afad --- /dev/null +++ b/bin/lights-off @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +ssh pi@raspberrypi.local -t 'echo 0 > /sys/class/gpio/gpio17/value' -- cgit v1.2.3