feat: Allow limiting LED brightness

Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
This commit is contained in:
2025-12-27 15:16:27 +01:00
parent 355a8bd345
commit 4c85683fcb
4 changed files with 18 additions and 9 deletions

View File

@@ -357,7 +357,8 @@
'root.TAG_TIMEOUT_SECS': 'Tag removal timeout (seconds)',
'root.TAGMODE': 'Tag mode',
'root.LED_COUNT': 'Length of WS2182 (Neopixel) LED chain',
'root.VOLUME_MAX': 'Maximum volume (0-255)'
'root.VOLUME_MAX': 'Maximum volume (0-255)',
'root.LED_MAX': 'Maximum LED brightness (0-255)'
};
const config_input_override = {
'root.TAGMODE': {
@@ -399,6 +400,9 @@
},
'root.VOLUME_MAX': {
'input-type': 'number'
},
'root.LED_MAX': {
'input-type': 'number'
}
};