sle118 / squeezelite-esp32

ESP32 Music streaming based on Squeezelite, with support for multi-room sync, AirPlay, Bluetooth, Hardware buttons, display and more
1.27k stars 115 forks source link

Battery voltage indication broken #332

Closed CornelisJ closed 1 year ago

CornelisJ commented 1 year ago

Describe the bug

After updating the firmware of my ESP Muse Luxe to version 2.1616-16, the battery voltage indication is broken. The status LED on the Muse is always red, and the voltage reported in the LMS Player Information is 0V. After reverting to firmware version 1607, the status LED becomes green again, and the voltage reported by LMS is 4.15V.

Preliminary Information

Firmware Version: 2.1616, 16-bit Plugin Version: v0.501

Hardware Details

ESP Muse Luxe

sle118 commented 1 year ago

When posting a bug, please follow the provided template. We're missing logs and NVS at a bare minimum

RASPIAUDIO commented 1 year ago

Hello dear Squeezelite team! let me try to document this one : -Logs attachednvs_config_squeezelite-deef4_1697203858060json.txt -NVS esp-web-tools-logs.txt

Led WS2812 stays red whatever the battery level, probably something related to the ACD on pin GPIO33 or the conversion of the raw value ?

Battery indicator is working fine with earlier version firmware version 1607.

Thanks again for this great project Kind regards, Olivier

sle118 commented 1 year ago

I have identified an issue that was mistakenly introduced in my last commit. I'll release a fix later today

sle118 commented 1 year ago

Please install the most recent release to address this

CornelisJ commented 1 year ago

I can confirm that battery voltage indication is OK again with firmware release 2.1619. Thank you very much for the quick repair!