Files
magnus919_agent-skills/esp32-development/templates/esphome-device.yaml
T
Magnus HedemarkandGitHub 36638256a8 feat: add portable ESP32 development skill (#53)
* feat: add portable ESP32 development skill

Add source-backed workflows, safe templates, native CLI routing, and a read-only preflight for ESP32 hardware and firmware work.\n\nAI assistance: research, drafting, implementation, and review used OpenAI Codex and delegated DeepSeek agents under human direction.

* docs: harden ESP32 family and security guidance

Add source-backed family traps, brownout, calibration, USB recovery, and security-mode boundaries found during independent review.\n\nAI assistance: independent audits and drafting used delegated DeepSeek agents and OpenAI Codex under human direction.
2026-07-15 21:45:53 -04:00

53 lines
1.0 KiB
YAML

# Deliberately non-runnable until every REPLACE_WITH value and secret is set.
substitutions:
name: esp32-bringup
friendly_name: ESP32 Bring-up
board: REPLACE_WITH_BOARD_ID
sda_pin: REPLACE_WITH_SDA_GPIO
scl_pin: REPLACE_WITH_SCL_GPIO
esphome:
name: ${name}
friendly_name: ${friendly_name}
esp32:
board: ${board}
framework:
type: esp-idf # Change only for a documented component or project requirement.
logger:
level: DEBUG
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
ap:
ssid: "${friendly_name} Setup"
password: !secret fallback_ap_password
captive_portal:
api:
encryption:
key: !secret api_encryption_key
ota:
- platform: esphome
password: !secret ota_password
# Replace from the exact board schematic. A scan does not prove device identity.
i2c:
sda: ${sda_pin}
scl: ${scl_pin}
scan: true
frequency: 100kHz
sensor:
- platform: wifi_signal
name: "${friendly_name} Wi-Fi Signal"
update_interval: 60s
button:
- platform: restart
name: "${friendly_name} Restart"