{"id":15669947,"url":"https://github.com/plasticrake/realfakegaragedoors","last_synced_at":"2025-05-06T20:23:34.915Z","repository":{"id":72040781,"uuid":"62829478","full_name":"plasticrake/RealFakeGarageDoors","owner":"plasticrake","description":"Garage Door Opener for ESP8266 / Arduino","archived":false,"fork":false,"pushed_at":"2016-07-23T04:28:04.000Z","size":799,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-31T02:34:52.634Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/plasticrake.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-07T18:29:30.000Z","updated_at":"2023-04-19T17:55:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"787fc8fe-4fbc-4722-bbd0-6a6a3c408589","html_url":"https://github.com/plasticrake/RealFakeGarageDoors","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plasticrake%2FRealFakeGarageDoors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plasticrake%2FRealFakeGarageDoors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plasticrake%2FRealFakeGarageDoors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plasticrake%2FRealFakeGarageDoors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plasticrake","download_url":"https://codeload.github.com/plasticrake/RealFakeGarageDoors/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252762291,"owners_count":21800288,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T14:41:46.380Z","updated_at":"2025-05-06T20:23:34.890Z","avatar_url":"https://github.com/plasticrake.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RealFakeGarageDoors\n[![Build Status](https://travis-ci.org/plasticrake/RealFakeGarageDoors.svg?branch=master)](https://travis-ci.org/plasticrake/RealFakeGarageDoors)\n\nGarage Door Opener for ESP8266 / Arduino.\n\nThis is the hardware portion of my Real Fake Garage Doors project.\nThe client is the [homebridge-real-fake-garage-doors](https://github.com/plasticrake/homebridge-real-fake-garage-doors) plugin for [Homebridge](https://github.com/nfarina/homebridge).\n\nI opened a [Linear Multi-Code 412001](https://www.amazon.com/dp/B000F5KEP6/) 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.\n\n## Configuration\n\n`HASH_KEY`: SHA256-HMAC key that should match the key from homebridge-real-fake-garage-doors.\n\n`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.\n\n## Hardware\n\n![Schematic](https://github.com/plasticrake/RealFakeGarageDoors/raw/master/hardware/schematic.png \"Schematic\")\n![Breadboard](https://github.com/plasticrake/RealFakeGarageDoors/raw/master/hardware/breadboard.png \"Breadboard\")\n\n### Parts\n* ESP8266\n* [Linear Multi-Code 412001 Remote](https://www.amazon.com/dp/B000F5KEP6/)\n* NPN Transistor [PN2222](https://www.adafruit.com/product/756) x2\n* P-Channel MOSFET [BS250](http://www.jameco.com/z/BS250-Major-Brands-Transistor-BS250-TO-92-Transistor-P-Channel-MOSFET-45-Volt_256057.html) x2\n* 10k Resistor x4\n* 680 Resistor x2\n\n## Thanks\nSHA256-HMAC implementation from https://github.com/spaniakos/Cryptosuite which is a fork of https://github.com/Cathedrow/Cryptosuite\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplasticrake%2Frealfakegaragedoors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplasticrake%2Frealfakegaragedoors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplasticrake%2Frealfakegaragedoors/lists"}