Add status_led package: network, API, error and OTA status on a visible RGB light
CI / ESPHome config validation (push) Failing after 7s
CI / YAML lint (push) Failing after 37s

Red blink without network, orange without an API client, purple on a
component error, blue blink during OTA, green when things are back to
normal, then the light returns to its previous state.

echo uses it on the gateway LED ring; drop its status_led on GPIO23,
which never worked because the ledc output owns that pin.
This commit is contained in:
randy committed 2026-09-29 23:33:50 +02:00
1 parent 6845679bc0
commit 6a3002d9b7
2 files changed
+132 -9

No files matched your search

+6 -9
View File
@@ -5,7 +5,7 @@
# GPIO19 -> speaker_bus (i2s_audio i2s_bclk_pin)
# GPIO21 Gateway LED ring red -> led_red (output ledc)
# GPIO22 -> speaker_id (speaker i2s_audio i2s_dout_pin)
# GPIO23 Gateway LED ring blue -> led_status (light status_led); led_blue (output ledc)
# GPIO23 Gateway LED ring blue -> led_blue (output ledc)
# GPIO25 Gateway LED ring green -> led_green (output ledc)
# GPIO26 Grove SDA -> i2c (i2c sda)
# GPIO27 ATOM onboard RGB LED (inside, not visible)
@@ -33,6 +33,10 @@ esp32:
packages:
common: !include common/common.yaml
ipv6_only: !include common/ipv6_only.yaml
status_led: !include
file: common/status_led.yaml
vars:
light_id: led_light
external_components:
# speaker media player: skip a failed playlist item (esphome#19862), drop once merged
@@ -90,11 +94,6 @@ light:
red: led_red
green: led_green
blue: led_blue
- platform: status_led
id: led_status
pin:
number: 23
allow_other_uses: true
output:
- platform: ledc
@@ -105,9 +104,7 @@ output:
pin: 25
- platform: ledc
id: led_blue
pin:
number: 23
allow_other_uses: true
pin: 23
i2s_audio:
- id: speaker_bus