Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

esphome-box3-builder

БесплатноЗапускает вложенные скриптыНе проверен

This skill should be used when the user asks to "configure esp32-s3-box-3", "set up box-3", "create box-3 voice assistant", "display lambda on box-3"…

nodnarbnitramот nodnarbnitram★ 19 звёзд на GitHub

Об этом скилле

ESP32-S3-BOX-3 Builder Skill

Specialist skill for ESP32-S3-BOX-3 hardware providing complete configuration templates, display lambda cookbook, touch interaction patterns, and voice assistant integration for complex audio/display/touch projects.

Purpose

This skill accelerates ESP32-S3-BOX-3 development by providing:

  • Complete hardware initialization templates
  • Display lambda rendering cookbook (text, shapes, icons, multi-page UI)
  • Audio pipeline recipes (I²S, ES7210 ADC, ES8311 DAC)
  • Touch interaction patterns (buttons, swipes, gestures)
  • Voice assistant integration (wake word, ducking, Home Assistant Assist)
  • Material Design UI components
  • Hardware-specific troubleshooting and workarounds

Use this skill for ESP32-S3-BOX-3 specific projects. For general ESPHome configuration, use the esphome-config-helper skill instead.

When to Use This Skill

Use this skill when:

  • Configuring ESP32-S3-BOX-3 hardware from scratch
  • Implementing display lambda rendering (ILI9xxx)
  • Setting up I²S audio pipeline (ES7210, ES8311)
  • Configuring GT911 touch interaction
  • Building voice assistant with wake word detection
  • Creating multi-page touchscreen UI
  • Troubleshooting BOX-3 specific issues

Delegate to specialized ESPHome agents for:

  • Deep technical explanations (esphome-box3 agent)
  • General ESPHome concepts (esphome-core agent)
  • Network configuration (esphome-networking agent)

Hardware Overview

The ESP32-S3-BOX-3 is a complete development kit with:

  • Module: ESP32-S3-WROOM-1 (16MB Flash, 16MB Octal PSRAM)
  • Display: ILI9342C (320x240, SPI, PSRAM required for 16-bit color)
  • Touch: GT911 capacitive (I²C, multi-touch)
  • Microphone: ES7210 4-channel ADC (I²S, 16kHz)
  • Speaker: ES8311 mono DAC (I²S, 48kHz, requires MCLK)
  • Sensors: BME688 environmental, ICM-42607-P IMU

Critical Requirements:

  • PSRAM must be explicitly configured (2025.2+ breaking change)
  • ESP-IDF framework recommended (better audio/display support)
  • Shared I²S bus for microphone and speaker
  • Reset pin GPIO48 shared between display and touch

For complete hardware specifications, consult:

  • references/box3-pinout.md - Complete GPIO pinout, component addresses, known issues

Configuration Templates

Available Templates

Located in templates/ directory:

  1. box3-base.yaml - Hardware initialization foundation

    • ESP-IDF framework with PSRAM octal mode
    • I²S audio bus configuration
    • ES7210 ADC and ES8311 DAC setup
    • ILI9xxx display basic config
    • GT911 touch initialization
    • Use as foundation for all BOX-3 projects
  2. box3-voice.yaml - Complete voice assistant

    • micro_wake_word with okay_nabu
    • Voice assistant pipeline (wake word → HA Assist → TTS)
    • Audio ducking with Nabu media player
    • State management for voice interaction
    • Use for voice-controlled BOX-3 projects
  3. box3-display-ui.yaml - Multi-page touchscreen UI

    • 3-page navigation system
    • Touch zone binary sensors
    • Display lambda with Material Design
    • Page state management with globals
    • Use for interactive touchscreen projects
  4. box3-audio-player.yaml - Music/media player

    • Media player entity
    • Volume control with touch buttons
    • Display showing playback status
    • Play/pause/skip controls
    • Use for audio playback projects

Using Templates

To use a template:

  1. Read the appropriate template file
  2. Customize device name, WiFi credentials
  3. Adjust UI elements, colors, fonts as needed
  4. Flash using BOX-3 specific script (see Scripts section)

Template Workflow:

# 1. Read template
cat .claude/skills/esphome-box3-builder/templates/box3-voice.yaml

# 2. Copy to project
cp .claude/skills/esphome-box3-builder/templates/box3-voice.yaml my-box3.yaml

# 3. Edit device-specific values
# - Update device name
# - Set WiFi credentials (use secrets.yaml)
# - Customize wake word model if desired
# - Adjust display text and layout

# 4. Flash with BOX-3 script
./.claude/skills/esphome-box3-builder/scripts/flash-box3.sh my-box3.yaml

Display Lambda Rendering

Lambda Rendering Cookbook

For complete display lambda examples and patterns, consult:

  • references/display-lambdas.md - Display lambda cookbook
    • Text rendering (fonts, alignment, wrapping)
    • Shapes (rectangles, circles, lines)
    • Icons (Material Design Icons integration)
    • Images and sprites
    • Animation patterns
    • Multi-page navigation
    • Coordinate system and positioning

Quick Display Patterns

Basic Text Display:

it.printf(160, 10, id(roboto_16), TextAlign::TOP_CENTER, "ESP32-S3-BOX-3");

Filled Rectangle (Card Background):

it.filled_rectangle(10, 30, 300, 80, COLOR_PRIMARY);

Multi-Line Text:

it.printf(20, 40, id(roboto_12), "Temperature: %.1f°C", id(temp_sensor).state);
it.printf(20, 60, id(roboto_12), "Humidity: %.1f%%", id(humidity_sensor).state);

Icon Rendering (Material Design Icons): ```cpp

Полный SKILL.md на GitHub

Установить esphome-box3-builder в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Edit
Grep
Glob
WebFetch
Bash

Вложенные файлы

assets/fonts/README.mdreferences/box3-pinout.mdreferences/display-lambdas.mdreferences/material-design.mdreferences/touch-patterns.mdscripts/flash-box3.shtemplates/box3-base.yamltemplates/box3-voice.yaml

FAQ

Что делает скилл esphome-box3-builder?

This skill should be used when the user asks to "configure esp32-s3-box-3", "set up box-3", "create box-3 voice assistant", "display lambda on box-3", "configure ili9xxx display", "set up gt911 touch", "configure i2s audio", "es7210 microphone", "es8311 speaker", "box-3 audio pipeline", or mentions error messages like "I2S DMA buffer error", "Touch not responding", "Display flicker", "Audio popping", "PSRAM not detected". Provides complete ESP32-S3-BOX-3 hardware templates, display lambda cookbook, touch patterns, and voice assistant configurations.

Как установить скилл esphome-box3-builder?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл esphome-box3-builder запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить esphome-box3-builder с