Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.85 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.85 KB

RealFakeGarageDoors

Build Status

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.

Configuration

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.

Hardware

Schematic Breadboard

Parts

Thanks

SHA256-HMAC implementation from https://github.com/spaniakos/Cryptosuite which is a fork of https://github.com/Cathedrow/Cryptosuite