Loading 3D model… large boards can take a moment.
Garage133 is a DIY garage door automation and monitoring system based on the ESP32. It provides capability to remotely control up to two garage doors, monitor their state (open/closed), detect vehicle presence, measure environmental conditions (temperature/humidity), and detect motion within the garage.
The system is designed to integrate seamlessly with Home Assistant via MQTT but also provides a modern, responsive Svelte-based Web Interface for control and configuration.
camelCase JSON keys for all status and configuration endpoints, enabling simpler and more robust integration with the Svelte frontend.require() dependencies and optimized memory management.The project is built around an ESP32 (Node32s / ESP32 Dev Module).
| Component | Pin (ESP32) | Description |
|---|---|---|
| Relay (Left) | GPIO 15 | Control for Left Garage Door |
| Relay (Right) | GPIO 2 | Control for Right Garage Door |
| Sonar Trigger (Left) | GPIO 16 | HC-SR04 Trigger |
| Sonar Echo (Left) | GPIO 17 | HC-SR04 Echo |
| Sonar Trigger (Right) | GPIO 5 | HC-SR04 Trigger |
| Sonar Echo (Right) | GPIO 18 | HC-SR04 Echo |
| PIR Sensor | GPIO 25 | Motion Detection |
| Light Sensor | GPIO 33 | Analog Light Level |
| I2C SDA | GPIO 21 | SHTC3 & OLED Display |
| I2C SCL | GPIO 22 | SHTC3 & OLED Display |
Note: Pin definitions can be found in src/main.cpp.
This repository includes files for fabricating the custom PCB and 3D printed case:
KiCAD/ directory.scad/ directory.
Clone the repository:
git clone https://github.com/chl33/Garage133.git
cd Garage133
Build the Web Interface: Generate the C++ header containing the Svelte assets:
./build-svelte.sh
Configuration: Copy the example secrets file and configure your environment settings.
cp secrets.ini.example secrets.ini
Edit secrets.ini to set your upload port, UDP log target, and OTA password.
min_spiffs partition table).
pio run -e usb_node32s --target upload
Once connected to WiFi, navigate to the device's IP address in your browser.
Ensure your Home Assistant instance has an MQTT broker configured. The device uses Home Assistant MQTT Discovery. Once the device connects to your MQTT broker, the following entities should automatically appear:
left_door, right_door (Open/Close control)temperature, humidity, lightcar (presence for each bay), motionThe analysis/ directory contains Python tools to help refine your detection models:
For a more detailed write-up on the background and design of this project, please see the blog post.
This project is licensed under the MIT License - see the LICENSE file for details.
No comments yet. Be the first to ask about this board.