Token导航 LogoToken导航

Agent Skill · 开发

esphome-config-helper(esphome 配置助手)

esphome-config-helper 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

esphome-config-helper 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 11,670。

总安装 1,640周安装 67GitHub Stars 8下载 525核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:esphome-config-helper(esphome 配置助手)
来源仓库:https://github.com/nodnarbnitram/claude-code-extensions
仓库路径:skills/esphome-config-helper
安装命令:
npx skills add https://github.com/nodnarbnitram/claude-code-extensions --skill esphome-config-helper
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/nodnarbnitram/claude-code-extensions --skill esphome-config-helper

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

esphome-config-helper 快速生成常见 ESPHome 配置模板并提供 GPIO 参考与错误查询,提升配置效率。适用于传感器接入、继电器控制与网络设置等通用任务。集成验证流程防止常见接线冲突。

安装命令:npx skills add https://github.com/nodnarbnitram/claude-code-extensions --skill esphome-config-helper。使用前请核对引脚编号与供电电压,避免烧毁元件。

来源仓库内路径:skills/esphome-config-helper

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/nodnarbnitram/claude-code-extensions --skill e…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

esphome-config-helper 怎么安装?

在终端执行 npx skills add https://github.com/nodnarbnitram/claude-code-extensions --skill esphome-con…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

esphome-config-helper 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

esphome-config-helper 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

esphome-config-helper 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

esphome-config-helper 用的人多吗?

公开数据是累计安装 1,640 次,近一周安装 67 次,下载 525 次,GitHub 8 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

esphome-config-helper 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
esphome-config-helper

esphome 配置助手 · 本页

1,6408需要联网MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

ESPHome Configuration Helper

Rapid ESPHome configuration generation and troubleshooting skill with ready-to-use templates, GPIO reference guides, and validation utilities.

Purpose

This skill accelerates ESPHome device configuration by providing:

  • Quick-start templates for common device types
  • GPIO pinout references to prevent conflicts
  • Common sensor configurations with wiring diagrams
  • Error message lookup and solutions
  • Configuration validation workflow

Use this skill for general ESPHome configuration tasks. For ESP32-S3-BOX-3 specific implementations, use the esphome-box3-builder skill instead.

When to Use This Skill

Use this skill when:

  • Starting a new ESPHome device configuration
  • Adding sensors, switches, or displays to existing configs
  • Troubleshooting compilation or runtime errors
  • Determining safe GPIO pins for components
  • Validating configuration before flashing

Delegate to specialized ESPHome agents for:

  • Deep technical questions (esphome-core, esphome-components, etc.)
  • Complex automation logic (esphome-automations agent)
  • Network troubleshooting (esphome-networking agent)
  • ESP32-S3-BOX-3 projects (esphome-box3 agent)

Configuration Templates

Available Templates

Located in templates/ directory:

  1. basic-device.yaml - Minimal ESP32 starter

- ESP32 platform with WiFi and API - OTA updates enabled - Logger and web server - Use as foundation for custom projects

  1. sensor-node.yaml - Temperature/humidity sensor node

- DHT22 sensor on GPIO4 - WiFi with fallback AP - Home Assistant integration - Use for environmental monitoring

  1. relay-switch.yaml - 4-channel relay controller

- GPIO control for 4 relays (GPIO23, GPIO22, GPIO21, GPIO19) - Physical button inputs with interlocks - Switch entities for Home Assistant - Use for home automation switching

  1. display-node.yaml - Display with sensors

- SSD1306 OLED display (128x64, I²C) - DHT22 temperature/humidity - Display lambda showing sensor readings - Use for visual sensor displays

Using Templates

To use a template:

  1. Read the appropriate template file
  2. Customize device name, WiFi credentials, GPIO pins
  3. Add or remove components as needed
  4. Validate configuration (see Validation Workflow below)

Template Workflow:

# 1. Read template
cat .claude/skills/esphome-config-helper/templates/sensor-node.yaml

# 2. Copy to project
cp .claude/skills/esphome-config-helper/templates/sensor-node.yaml my-device.yaml

# 3. Edit with device-specific values
# - Update device name
# - Set WiFi credentials (use secrets.yaml)
# - Adjust GPIO pins if needed
# - Customize sensor names

# 4. Validate (see Validation Workflow)

GPIO Pin Reference

Quick GPIO Lookup

For detailed GPIO pinouts and safe pin selection, consult:

  • references/gpio-pinouts.md - Complete ESP32 and ESP8266 GPIO reference

- Safe pins for each platform - Strapping pins to avoid - I²C/SPI/UART default pins - Input-only vs output-capable pins - Boot failure pins (GPIO0, GPIO2, GPIO15)

Quick Safe Pins:

  • ESP32: GPIO4, GPIO5, GPIO12, GPIO13, GPIO14, GPIO16, GPIO17, GPIO18, GPIO19, GPIO21, GPIO22, GPIO23, GPIO25-27, GPIO32, GPIO33
  • ESP8266: GPIO4 (D2), GPIO5 (D1), GPIO12 (D6), GPIO13 (D7), GPIO14 (D5)

Avoid (strapping/boot pins):

  • ESP32: GPIO0, GPIO2, GPIO5, GPIO12, GPIO15 (use with caution)
  • ESP8266: GPIO0, GPIO2, GPIO15

Common Sensor Configurations

Sensor Selection Guide

For detailed sensor configurations with wiring diagrams, consult:

  • references/common-sensors.md - Top 20 sensor configurations

- Temperature/humidity sensors (DHT22, BME280, SHT3x) - Motion sensors (PIR, mmWave) - Light sensors (BH1750, TSL2561) - Distance sensors (HC-SR04, VL53L0X) - Gas sensors (MQ-series, SGP30) - Complete wiring diagrams and platform selection

Quick Sensor Recommendations:

  • Temperature/Humidity: BME280 (I²C, more reliable than DHT22)
  • Motion: HC-SR501 PIR (GPIO binary sensor)
  • Light: BH1750 (I²C, accurate lux measurements)
  • Distance: HC-SR04 (ultrasonic, 2-400cm range)
  • Air Quality: BME680 (I²C, temp/humidity/pressure/gas)

Basic Sensor Patterns

I²C Sensor (BME280 example):

i2c:
  sda: GPIO21
  scl: GPIO22
  scan: true

sensor:
  - platform: bme280
    temperature:
      name: "Temperature"
    humidity:
      name: "Humidity"
    pressure:
      name: "Pressure"
    address: 0x76
    update_interval: 60s

GPIO Sensor (DHT22 example):

sensor:
  - platform: dht
    pin: GPIO4
    model: DHT22
    temperature:
      name: "Temperature"
    humidity:
      name: "Humidity"
    update_interval: 60s

Binary Sensor (PIR motion):

binary_sensor:
  - platform: gpio
    pin: GPIO14
    name: "Motion Sensor"
    device_class: motion

Troubleshooting Guide

Error Lookup

For complete error message lookup table and solutions, consult:

  • references/troubleshooting.md - Comprehensive error message reference

- Compilation errors (unknown platform, GPIO conflicts, dependency issues) - Runtime errors (WiFi failures, sensor timeouts, OTA problems) - Configuration errors (YAML syntax, invalid pins, missing components) - Hardware issues (sensor not detected, relay not switching)

Common Error Quick Reference:

Error MessageQuick Fix
"Unknown platform"Check component name spelling, ensure platform supported
"GPIO already in use"Check GPIO pin assignments, avoid duplicates
"Could not compile"Check YAML syntax, verify indentation (2 spaces)
"WiFi connection failed"Verify SSID/password, check signal strength, use static IP
"Sensor not found"Check I²C address (use scan: true), verify wiring
"OTA upload failed"Check device reachable, verify OTA password, restart device

Troubleshooting Workflow

When encountering errors:

  1. Check YAML syntax: Verify indentation (2 spaces, no tabs)
  2. Validate GPIO pins: Ensure no conflicts, use safe pins
  3. Check component platform: Verify platform name and configuration
  4. Review logs: Use esphome logs device.yaml to see runtime errors
  5. Consult references: Check references/troubleshooting.md for specific error
  6. Validate config: Run validation workflow (see below)

Validation Workflow

Using the Validation Script

The validation utility provides quick configuration checks:

Script: scripts/validate-config.sh

Usage:

# Validate configuration
./.claude/skills/esphome-config-helper/scripts/validate-config.sh my-device.yaml

# The script runs:
# 1. esphome config my-device.yaml  (syntax check)
# 2. esphome compile my-device.yaml (compilation test)

Validation Steps:

  1. Syntax validation: esphome config my-device.yaml

- Checks YAML syntax - Validates component configuration - Reports missing requirements - Shows final configuration

  1. Compilation test: esphome compile my-device.yaml

- Downloads required libraries - Compiles firmware - Reports errors and warnings - Confirms configuration works

  1. Fix errors: If validation fails:

- Review error messages - Check GPIO conflicts - Verify component platforms - Consult references/troubleshooting.md - Re-validate after fixes

Pre-Flash Checklist

Before flashing device:

  • Configuration validates without errors
  • WiFi credentials correct (use secrets.yaml)
  • Device name unique on network
  • GPIO pins verified safe
  • OTA password set (for future updates)
  • API encryption key configured (2026.1.0+)

Configuration Best Practices

YAML Structure

Organize configuration in logical sections:

# 1. Core platform
esphome:
  name: device-name
  friendly_name: Device Name

esp32:
  board: esp32dev
  framework:
    type: arduino

# 2. Network
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

api:
  encryption:
    key: !secret api_encryption_key

ota:
  - platform: esphome
    password: !secret ota_password

# 3. Logging
logger:
web_server:

# 4. Components (sensors, switches, etc.)
sensor:
  # ...

binary_sensor:
  # ...

Secrets Management

Use secrets.yaml for sensitive data:

secrets.yaml:

wifi_ssid: "MyNetwork"
wifi_password: "MyPassword123"
api_encryption_key: "base64-generated-key"
ota_password: "SecureOTAPassword"

Reference in config:

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

Naming Conventions

Follow consistent naming:

  • Device names: lowercase-with-hyphens (e.g., bedroom-sensor)
  • Entity names: Title Case with Spaces (e.g., "Bedroom Temperature")
  • IDs: lowercase_with_underscores (e.g., temp_sensor)

Example:

sensor:
  - platform: dht
    pin: GPIO4
    temperature:
      name: "Living Room Temperature"
      id: living_room_temp
    humidity:
      name: "Living Room Humidity"
      id: living_room_humidity

Integration with Other Skills and Agents

When to Use Other Resources

  • ESP32-S3-BOX-3 projects: Use esphome-box3-builder skill

- Audio pipeline (I²S, ES7210, ES8311) - Display lambda rendering (ILI9xxx) - Touch interaction (GT911) - Voice assistant integration

  • Deep technical questions: Delegate to ESPHome agents

- Core concepts → esphome-core agent - Component selection → esphome-components agent - Automation logic → esphome-automations agent - Network issues → esphome-networking agent - HA integration → esphome-homeassistant agent

  • Complex projects: Combine resources

- Start with template (this skill) - Customize with agent guidance - Validate with scripts (this skill) - Deploy and troubleshoot (this skill + agents)

Additional Resources

Reference Files

For detailed information, consult:

  • references/gpio-pinouts.md - Complete ESP32/ESP8266 GPIO reference with safe pins, strapping pins, and pin capabilities
  • references/common-sensors.md - Top 20 sensor configurations with wiring diagrams, platform selection, and usage examples
  • references/troubleshooting.md - Comprehensive error message lookup table with solutions for compilation, runtime, and hardware issues

Template Files

Working configuration examples in templates/:

  • basic-device.yaml - Minimal ESP32 foundation
  • sensor-node.yaml - DHT22 temperature/humidity node
  • relay-switch.yaml - 4-channel relay controller
  • display-node.yaml - OLED display with sensors

Utility Scripts

Validation and testing tools in scripts/:

  • validate-config.sh - ESPHome configuration validation wrapper

Quick Start Workflow

For new ESPHome device:

  1. Select template based on device type (sensor, switch, display, or basic)
  2. Copy template to project directory
  3. Customize configuration:

- Update device name - Set WiFi credentials in secrets.yaml - Adjust GPIO pins using references/gpio-pinouts.md - Add/remove components as needed

  1. Validate configuration using scripts/validate-config.sh
  2. Fix any errors using references/troubleshooting.md
  3. Flash device with validated configuration
  4. Monitor logs and troubleshoot if needed

For adding to existing config:

  1. Consult references for component configuration
  2. Check GPIO availability in references/gpio-pinouts.md
  3. Add component to configuration
  4. Validate before flashing
  5. Update and monitor

This skill provides rapid configuration generation for common ESPHome use cases. For specialized hardware (ESP32-S3-BOX-3) or deep technical questions, use the appropriate specialist skills and agents.

平台分布

OpenCode

25.95%
按下载量换算136

Claude Code

21.44%
按下载量换算113

Gemini CLI

19.01%
按下载量换算100

windsurf

13.51%
按下载量换算71

Antigravity

8.6%
按下载量换算45

github-copilot

3.69%
按下载量换算19

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills