Update config for ESPHome 2026.9, fix XIAO antenna switch and README - #1
Merged
Merged
Conversation
- Encrypt API and OTA with a shared encryption key - Drive the XIAO ESP32C6 RF switch (GPIO3/GPIO14) so the external antenna works - Add status LED, restart button, uptime and openthread_info diagnostic sensors - Use substitutions so extra routers can include the main config - Document force_dataset and output_power options - README: TLV key is plain text, web.esphome.io only flashes, REED vs router - docker-compose: relative mount, no hardcoded user path/credentials - Add CI workflow that validates and compiles the config Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014JAZVdMyX648XjEf47Vh4p
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Brings the config up to date with ESPHome releases since January 2026 and fixes several issues found in a review.
Config (
esp32c6-thread-router.yaml)antenna_defaultand an "External Antenna" switch in Home Assistant.encryption: {}(same key; ESPHome advises against an OTA password when API encryption is set).openthread_infotext sensors (role, RLOC16, channel, IP) and sensors (parent RSSI, TX retries, CCA errors, partition changes; new in 2026.8), plus uptime, restart button and status LED (GPIO15).force_datasetandoutput_power(new in 2026.3).name/friendly_nameas substitutions, so additional routers are a small file that includes the main config viapackages.README
firmware.factory.binflow.force_datasetfor recreated networks, transmit power, diagnostics table, antenna choice, newapi_encryption_keysecret.docker execcommands, new multi-router approach.Other
docker-compose.yml: relative mount instead of/home/tristan/..., removed test credentials,privilegedandversion; uses thestabletag and passes the USB device through. The config path in the container is now/config/esp32c6-thread-router.yaml.Breaking change for existing devices
secrets.yamlneeds a newapi_encryption_key(openssl rand -base64 32), and Home Assistant will ask for it once after flashing.Testing
esphome configpasses with ESPHome 2026.9.0 for the main file and apackages-based second-router file.🤖 Generated with Claude Code
https://claude.ai/code/session_014JAZVdMyX648XjEf47Vh4p
Generated by Claude Code