scheianu 039a60848d Add HMAC-SHA256 API auth, NTP sync, NFC access control improvements
Security:
- Add verifyAPIRequest(): accepts valid Digest Auth (browser) OR valid
  HMAC-SHA256 signature (driver) — fixes browser UI being blocked by auth
- All 11 API endpoints require verifyAPIRequest()
- /register exempt (bootstrap handshake, secret not yet exchanged)
- Credentials moved to secrets.h (gitignored); secrets.h.example added

NTP:
- Sync time on boot for HMAC replay-prevention timestamp window (±60s)
- server.collectHeaders() registers X-Request-Time / X-Request-Sig

NFC:
- Full NFC access control: auth UID, relay trigger, absent timeout
- Live UID display, copy-to-auth button, save/clear settings from UI
- Access state: idle / granted / denied with colour feedback
2026-03-15 16:42:33 +02:00
2026-03-15 08:47:06 +02:00
2026-03-15 08:47:06 +02:00

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 for full flashing instructions.

Description
No description provided
Readme 144 KiB
Languages
C++ 64.6%
Python 35.4%