Initial commit: Olimex ESP32-C6-EVB HA integration + Arduino sketch
This commit is contained in:
29
README.md
Normal file
29
README.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# Olimex ESP32-C6-EVB — Home Assistant Integration
|
||||
|
||||
This repository contains two components:
|
||||
|
||||
## `custom_components/olimex_esp32_c6`
|
||||
Home Assistant custom integration for the **Olimex ESP32-C6-EVB** board.
|
||||
|
||||
- 4 relay switches (controlled via HTTP POST to the board)
|
||||
- 4 digital inputs (state pushed from board to HA via webhook)
|
||||
- No polling — fully event-driven for inputs, command-driven for relays
|
||||
|
||||
### Installation
|
||||
Copy `custom_components/olimex_esp32_c6` into your Home Assistant `config/custom_components/` directory and restart HA.
|
||||
|
||||
## `esp32_arduino`
|
||||
Arduino sketch for the ESP32-C6-EVB board.
|
||||
|
||||
- Hosts a REST API on port 80
|
||||
- Registers a callback URL with HA on startup
|
||||
- POSTs input state changes to HA webhook in real time
|
||||
|
||||
### Arduino IDE Settings
|
||||
| Setting | Value |
|
||||
|---|---|
|
||||
| Board | ESP32C6 Dev Module |
|
||||
| Flash Size | 4MB |
|
||||
| USB CDC On Boot | Enabled |
|
||||
|
||||
See [`esp32_arduino/DEPLOYMENT_GUIDE.md`](esp32_arduino/DEPLOYMENT_GUIDE.md) for full flashing instructions.
|
||||
Reference in New Issue
Block a user