You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d12a496
Browse filesBrowse the repository at this point in the historyBrowse files
feat: state-driven status control-LEDs (keylock/repeat/bluetooth)
The optional control LEDs (NUM_CONTROL_LEDS, soldered to the end of the
existing NeoPixel data line) could only show a fixed color. Each control
LED now gets a per-slot function, configurable in the web LED settings and
persisted in NVS:
- Static : legacy fixed color from controlColors
- KeyLock : red while physical controls are locked
- Repeat : green=track, blue=playlist, purple=both
- Bluetooth: violet=waiting, blue=connected (only in BT modes)
- Off : always off
Colors are written at full scale; the global FastLED master brightness
keeps them in sync with night mode, so legacy static control LEDs behave
exactly as before. Defaults to Static for every slot (backward compatible).
A master switch mutes all control LEDs (e.g. at night): bindable command
121 (CMD_TOGGLE_CONTROL_LEDS) and the MQTT command/state-topic
control_leds (ON/OFF) incl. Home Assistant discovery switch.
Web interface: per-slot function dropdown next to the color picker (color
only enabled for Static) plus a "Control LEDs enabled" toggle; i18n for
de/en/fr. README updated.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,6 +131,7 @@ neon logo that doubles as the SVG favicon ([`7be5254`](../../commit/7be5254)):
131
131
| Home Assistant **MQTT discovery**: on connect the device auto-registers all entities under one HA device — track/status/firmware/software/WiFi (+ battery) sensors, volume & LED-brightness numbers, lock & ambient-light switches, equalizer select, and transport/update/shutdown buttons |[`db73db1`](../../commit/db73db1)|
132
132
| Consolidated **Settings** tab (UniFi-style): WiFi, MQTT, FTP and Bluetooth settings merged with the general settings into one top tab with centered horizontal sub-tabs (General / Buttons / WiFi / MQTT / FTP / Bluetooth), the button-assignment config moved into its own **Buttons** sub-tab, plus an FTP start/stop button in the control tab; also fixes the sleep-timer dropdown staying open on outside-click and the desktop control-tab volume slider rendering at zero width |[`8b01876`](../../commit/8b01876)|
133
133
| Battery-backed **RTC** (DS3231): optional `RTC_ENABLE` adds a real-time clock on the external I²C bus so the time stays correct without WiFi/NTP. The RTC stores UTC and seeds the system clock at boot (before WiFi is up); NTP remains the master and disciplines the RTC on every sync and hourly. Current time (and DS3231 die-temperature) shown in the info dialog, published via the MQTT state-topic `rtc` (+ Home Assistant discovery), and the RTC can be re-disciplined from system time via the bindable command **155** (button/RFID modifier) |[`bf90f66`](../../commit/bf90f66)|
134
+
|**Status control-LEDs**: the optional control LEDs (`NUM_CONTROL_LEDS`, soldered to the end of the same NeoPixel data line — no extra GPIO) can now mirror a runtime state instead of just showing a static color. Each control LED gets a per-slot function in the LED settings — **Static** (legacy fixed color), **Key lock** (red while controls are locked), **Repeat mode** (green = track, blue = playlist, purple = both), **Bluetooth** (violet = waiting, blue = connected) or **Off**. A master switch mutes all control LEDs (e.g. at night), toggleable via the bindable command **121** (button/RFID modifier) and the MQTT command/state-topic `control_leds` (`ON`/`OFF`, + Home Assistant discovery switch) |[`6712ae1`](../../commit/6712ae1)|
0 commit comments