30 lines
986 B
Markdown
30 lines
986 B
Markdown
# 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.
|