Skip to content

Instantly share code, notes, and snippets.

View delacruz's full-sized avatar

Jason de la Cruz delacruz

  • San Luis Obispo, CA
View GitHub Profile
@delacruz
delacruz / timer-relay.md
Last active May 21, 2019 19:09
Python scripts and related instructions for for Timer-Relay project.

Server (Raspberry Pi Zero)

First, we install gpiozero, if we don't already have it.

sudo apt-get update

sudo apt-get install python3-gpiozero

Next we create the file relay-trigger.py with the follwoing contents:

Keybase proof

I hereby claim:

  • I am delacruz on github.
  • I am jdlc (https://keybase.io/jdlc) on keybase.
  • I have a public key ASBkIUgDgR-sxj3rz4KYoJ6KJXWhQ1tzI1ZvGI4zVN2Xvwo

To claim this, I am signing this object: