Initial commit: Olimex ESP32-C6-EVB HA integration + Arduino sketch

This commit is contained in:
ske087
2026-02-23 21:10:38 +02:00
commit b1ee2610ca
18 changed files with 2178 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
"""Constants for the Olimex ESP32-C6-EVB integration."""
DOMAIN = "olimex_esp32_c6"
MANUFACTURER = "Olimex"
MODEL = "ESP32-C6-EVB"
CHIP = "ESP32-C6 WROOM-1"
# Configuration
CONF_HOST = "host"
CONF_PORT = "port"
CONF_SCAN_INTERVAL = "scan_interval"
CONF_CALLBACK_IP = "callback_ip"
# Default values
DEFAULT_PORT = 80
DEFAULT_SCAN_INTERVAL = 5
DEFAULT_CALLBACK_IP = "192.168.0.1"
# Relay and Input info
NUM_RELAYS = 4
NUM_INPUTS = 4
# Device info
DEVICE_INFO = {
"manufacturer": MANUFACTURER,
"model": MODEL,
"chip": CHIP,
}