Garage Door Opener for ESP8266 / Arduino.
This is the hardware portion of my Real Fake Garage Doors project. The client is the homebridge-real-fake-garage-doors plugin for Homebridge.
I opened a Linear Multi-Code 412001 garage door remote and attached an ESP8266 to trigger it to open the garage door. Since the ESP8266 doesn't have an easy way to encrypt traffic as a server I'm using SHA256-HMAC to send authenticated commands to the ESP8266.
HASH_KEY
: SHA256-HMAC key that should match the key from homebridge-real-fake-garage-doors.
MAX_OPEN_COUNT_PER_MINUTE
/ MAX_OPEN_COUNT_PER_HOUR
/ MAX_OPEN_COUNT_PER_DAY
: If any of these thresholds are exceeded then the device will no longer fulfill any open commands until the device is reset. This is a safeguard against any errant clients continuously sending open commands.
- ESP8266
- Linear Multi-Code 412001 Remote
- NPN Transistor PN2222 x2
- P-Channel MOSFET BS250 x2
- 10k Resistor x4
- 680 Resistor x2
SHA256-HMAC implementation from https://github.com/spaniakos/Cryptosuite which is a fork of https://github.com/Cathedrow/Cryptosuite