
TIME BASED RELAY
MAATHES-THILAK-K/4CH_RELAY_TIMER
ESP32C3 Mini Based 4CH Relay With Timer Control

A standalone WiFi smart plug built around the ESP32-C3 Super Mini, exposing native Apple HomeKit control via esp-homekit-sdk.
SmartPlug PCB is an open-source printed circuit board by mempb, from the mempb/ESP32-SmartPlug repository on GitHub. It is a 2-layer board of 66 × 54.5 mm with 15 parts on 22 nets, routed with 65 tracks and 3 vias.
It is built around the HLK-PM01 and SRD-05VDC-SL-C. Its parts include 2 ICs, 2 diodes, 2 connectors, 2 switches and 1 capacitor. It belongs with the home automation and IoT boards and the ESP32 and RISC-V boards of this library.
A standalone WiFi smart plug built around the ESP32-C3 Super Mini, exposing native Apple HomeKit control via esp-homekit-sdk.
The ESP32-C3 connects directly to the home WiFi network and implements the HomeKit Accessory Protocol (HAP) on-device using Espressif's open-source esp-homekit-sdk. It advertises itself as a HomeKit accessory and pairs directly with the Apple Home app. A relay switches mains power to a connected load (tested with a small AC fan), with a local status LED and a manual push-button override.
framework = espidfesp-homekit-sdk (Espressif's open-source HAP implementation), added as an ESP-IDF componentidf.py menuconfig (hardcoded); HomeKit pairing done separately after WiFi connects via the HomeKit setup codegit clone --recursive git@github.com:mempb/ESP32-SmartPlug.gitPlatformIO VSCode extensionpio run -t menuconfig → App Wi-Fi → Source of Wi-Fi Credentials → Use Hardcoded → set SSID and passwordsdkconfig.esp32-c3-devkitm-1:
CONFIG_APP_WIFI_SSID="SSID"CONFIG_APP_WIFI_PASSWORD="pass"pio run -t upload -t monitor/components esp-homekit-sdk location
/pcb KiCad project
/src ESP-IDF source
/docs Schematics, pictures, etc. (TODO)
/housing 3D print housing design (TODO)| Qty | Value | Footprint | References |
|---|---|---|---|
| 1 | 1N4007 | Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal | D1 |
| 1 | 1k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1 |
| 1 | 2N3904 | Package_TO_SOT_THT:TO-92_Inline | Q1 |
| 1 | 470u | Capacitor_THT:CP_Radial_D8.0mm_P3.50mm | C1 |
| 1 | ESP32-C3_SUPERMINI_TH | ESP32-C3_SUPERMINI_TH:MODULE_ESP32-C3_SUPERMINI_TH | U1 |
| 1 | HLK-PM01 | Converter_ACDC:Converter_ACDC_Hi-Link_HLK-PMxx | U2 |
| 1 | LED_ARGB | LED_THT:LED_D5.0mm-4_RGB_Wide_Pins | D3 |
| 1 | SRD-05VDC-SL-C | SRD-05VDC-SL-C:RELAY_SRD-05VDC-SL-C | K1 |
| 1 | SW_Push | Button_Switch_THT:SW_PUSH_6mm | SW2 |
| 1 | Screw_Terminal_01x02-MainIn | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal | J1 |
| 1 | Screw_Terminal_01x02-MainOut | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal | J2 |
The 11 most common of 15 parts.
It measures 66 × 54.5 mm and has 2 copper layers, 1.6 mm thick.
15 parts, built around the HLK-PM01 and SRD-05VDC-SL-C. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the mempb/ESP32-SmartPlug repository on GitHub, at the commit this page was made from: the board is pcb/smartPlug-PCB.kicad_pcb and its schematic pcb/smartPlug-PCB.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask mempb before reusing the design.

MAATHES-THILAK-K/4CH_RELAY_TIMER
ESP32C3 Mini Based 4CH Relay With Timer Control

MAATHES-THILAK-K/Solder-Master-PRO
Professional-grade soldering temperature control on a DIY budget

Plokkke/sauter-marapi-esphome
ESPHome / Home Assistant pilot wire (fil pilote) controller for the Sauter Marapi tactile towel radiator — KiCad PCB, reverse engineering notes. Study phase, untested.



vishal007-hacker/smart-home
ESP32-based smart home controller for switching 4 independent 230V AC loads, with per-channel current and voltage sensing, manual override buttons, status LEDs, and an I²C LCD display.

walterwhiteita/esp8266-mqtt-gate-controller
Welcome to the ESPGate repository! This project offers a comprehensive retrofit solution tailored to upgrade a variety of gate control boards.
