Open nschurando opened 1 month ago
You will need to select a led_vu display mode with LMS (or extras menu). This requires the latest SqueezeESP addon. Battery status currently only works in VU Meter Modes.
Operation outside of LMS may not work
Thanks for getting back to me. If I understand correctly, the led_vu requires LMS. Would it be acceptable if I proposed a PR that offers basic support of a led strip to display battery level even with LMS disabled?
Have a look at the set_GPIO LED output. I have not used it, but I think it was developed for the MUSE to display battery status with a single LED.
Thank you, I'll take a look.
Hi,
It appears unclear to me what the expected behavior of the led strip should be. I tied a WS2812B strip to GPIO27 which shows up as yellow when in recovery mode, suggesting the wiring is correct. Looking at the documentation I expected to the led strip to indicate the battery status when no music is playing, and eventually act as a vu meter when music is playing. But, appart when in recovery mode, the led strip stays off. Is this normal behavior?
I should add that I believe I have correctly configured the battery measurement, as looking into the
/status.json
page, theVoltage
value matches the one of my one-cell battery.I am running the I2S-4MFlash-1681 version flashed with the online installer. I am using a custom board, with LMS disabled (as I am relying on Bluetooth and Spotify instead). My nvs config is as follows:
Thank you in advance,
Regards,
Nicolas