A device developed with an ESP32 microcontroller and relay modules. This device forms the backbone of a centralized remote control system for electrical equipment.
- Centralized Control
- Remote Control
This device was built with ESPHome and is intended to work with Home Assistant.
- ESP32 DevKit V1 MCU
- 8 Channel Relay Module 5V
- HiLink HLK-5M05 AC/DC Buck Converter 100-240 VAC to 5 DC 1A(5W)
โโโ The esp32c3-switches.yaml
config file contains pin mapping for the ESP32-C3, which you can modify depending on your ESP32 development board variant.
8 CH Relay Module | HiLink AC-DC Pin | ESP32 Devkit V1 Pin |
---|---|---|
IN1 | โ | D13 |
IN2 | โ | D12 |
IN3 | โ | D14 |
IN4 | โ | D27 |
IN5 | โ | D26 |
IN6 | โ | D25 |
IN7 | โ | D33 |
IN8 | โ | D32 |
VCC | VOUTโ | VIN |
GND | VOUTโ | GND |
- Ensure ESPhome and File Editor add-ons are installed on your Home Assistant instance.
- Ensure that your ESPHome
secrets.yaml
file is up to date. - Using the File Editor add-ons, upload the
esp32c3-switches.yaml
config file to theconfig/esphome/
directory. - Using the ESPHome dashboard, modify the
esp32c3-switches.yaml
and replace the redacted part of the config file. - Build and upload the firmware to your device.
- Now, you can integrate the device into your Home Assistant.