Email Controlled Gate Opener

From Open Source Ecology
Jump to: navigation, search

Background

Recently while writing and testing some email related code I got annoyed and decided to make an easier way to automate listening for emails and performing actions when they arrive. The result is websocket.email and to demonstrate how easy it is to use, let's make an email controlled gate opener using a raspberry pi and a tiny shell script. The hardware

  • A gate.
  • A gate opener.
  • A raspberry pi 3 with linux installed.
  • A raspberry pi GPIO 'cobbler' breadboard adapter.
  • A breadboard.
  • An NPN transistor and a 1k resistor.

Link