WLED icon indicating copy to clipboard operation
WLED copied to clipboard

Estimated Current only calculated when brightness limiter is enabled

Open Plawasan opened this issue 3 years ago • 3 comments

What happened?

The estimated current value is only populated in the GUI/data exposed to HA when brightness limiter is enabled in LED settings. Since this value can be used to power consumption calculation, it would make sense (to me at least) to always calculate this value regardless of brightness limiter setting. I realize that as a workaround I can define a high enough value of the brightness limiter however that seems like an unnecessary workaround. Thanks!

To Reproduce Bug

Disable brightness limiter in LED preferences

Expected Behavior

Estimated current is provided regardless of brightness limiter settings

Install Method

Binary from WLED.me

What version of WLED?

WLED 0.13.0-b6 (build 2112080)

Which microcontroller/board are you seeing the problem on?

ESP32

Relevant log/trace output

No response

Anything else?

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

Plawasan avatar Jan 23 '22 15:01 Plawasan

Hey! This issue has been open for quite some time without any new comments now. It will be closed automatically in a week if no further activity occurs. Thank you for using WLED!

stale[bot] avatar Jul 10 '22 22:07 stale[bot]

Still valid

Plawasan avatar Jul 11 '22 05:07 Plawasan

Current estimation is (and will be) calculated only when the limiter is enabled as it adds substantial CPU overhead on large LED installs. It also makes no sense to calculate the current as it is only an estimate and not actual consumption. Its primary function is to help you overcome underpowered PSUs or thin wires used for powering LEDs.

blazoncek avatar Jul 11 '22 05:07 blazoncek

So it seems that it's not a bug, but intended behaviour. Closing.

softhack007 avatar Jan 12 '23 19:01 softhack007