Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicinabox/gate-opener
Implements HomeKit GarageDoor for Homebridge
https://github.com/nicinabox/gate-opener
Last synced: about 1 month ago
JSON representation
Implements HomeKit GarageDoor for Homebridge
- Host: GitHub
- URL: https://github.com/nicinabox/gate-opener
- Owner: nicinabox
- Created: 2022-12-30T05:23:09.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-11T22:29:22.000Z (6 months ago)
- Last Synced: 2024-10-06T18:14:10.224Z (about 1 month ago)
- Language: C++
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gate-opener
Implements HomeKit GarageDoor for Homebridge. For use with `homebridge-mqttthing`.
## Setup
```
cp src/config.example.h src/config.h
```Adjust config as needed in `src/config.h`.
## Hardware
Designed for use with ESP8266, specifically Sonoff SV.
### Flashing Sonoff SV
1. Using FTDI programmer, connect to header pins on the Sonoff SV:
- GND - GND
- TX - RX
- RX - TX
- VCC - 3v32. Hold down the Sonoff button while connecting USB to computer
3. Upload sketch in Arduino editor### Flashing ESP32 DOIT DevKit
1. Plugin USB
2. In Arduino editor press Upload
3. When "Connecting..." hold down BOOT button until flashing begins### MQTT
Use `mosquitto` to test MQTT locally.
Run the server
```
mosquitto -c mosquitto.conf
```Listen for the topic
```
mosquitto_sub -v -h localhost -t '#'
```