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: