diff options
author | Nick Van Doorn <nick@nv.delivery> | 2021-08-31 23:49:53 -0700 |
---|---|---|
committer | Nick Van Doorn <nick@nv.delivery> | 2021-08-31 23:49:53 -0700 |
commit | 0c756c5e491246f1141bb7a431c2810ad246983d (patch) | |
tree | e91d5d27f851f4eb45b3e6dec11a5ff5acb7068e /bin/lights-off | |
parent | 8ac1a3947d33663678561f77033a213f97a4cc43 (diff) |
Very hip home automation
All the GPIO libraries are such a mess that this seems suitable for now
Diffstat (limited to 'bin/lights-off')
-rwxr-xr-x | bin/lights-off | 3 |
1 files changed, 3 insertions, 0 deletions
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' |