logo elektroda
logo elektroda
X
logo elektroda

Limit Maximum Brightness on Action LCS A100 E27 with OBK Firmware

gehaxelt 249 2
ADVERTISEMENT
  • #1 21435727
    gehaxelt
    Level 6  
    Hi there,

    I could not find an answer with the search or on the internet: I have one of the Action LCS A100 E27 cold/warm lightbulbs and have flashed OBK on it. The LEDs are controllable directly with PWM on two pins - that works well so far.

    My questions are:

    1) How can I limit the _maximum_ current / brightness of the LEDs? At 100% brightness, the OBK bulbs appear brighter (and hotter) than the original bulbs, so I would like to limit the maximum brightness.

    2) A good tradeoff seems to be at 50%. Is there a way to map the web UI's brightness control [0,100] to a brightness bracket of [0,50]?

    Thanks
  • ADVERTISEMENT
  • #2 21446030
    turbotechiesystems
    Level 2  
    >>21435727

    I am trying to find the answer to this as well as I have some LEDs that get super hot at 100% since they don't have a heatsink and have burnt out. I have been researching this and it seems like it will be possible by adding a startup command to limit the min and max brightness of the LEDs. Looks like you can use the gamma correction feature by issuing the following commands in the log section of the webapp. If they work then you can add them to your startup commands.
    led_gammaCtrl cal 1.0 1.0 1.0 will set the gamma correction for each of the RGB channels from 1.0-3.0. Reset to default using led_gammaCtrl cal with no values.
    led_gammaCtrl brtMinRGB 0.0 default = 0.1 will set min brightness for the RGB channels. brtMaxRGB should set the maximum.
    led_gammaCtrl brtMinCW 0.0 default = 0.1 will set min brightness for the CW channel. brtMaxCW should set the maximum.
    Here is the link to the information I got this from. Haven't been able to test it yet though as I need another light as the last one burnt up from getting too hot. https://www.elektroda.com/rtvforum/find.php?q=led_gammaCtrl
  • Helpful post
    #3 21487544
    turbotechiesystems
    Level 2  
    >>21446030
    Well I thought this would work but apparently brtMaxCW is not a valid subcommand for led_gammaCtrl. This sucks as you can set the minimum but not the maximum. I am going to add an issue on GitHub to see if the max option can be added as it is needed. ESPHome has this option when I switched out the BL602 controller on my light bulbs for some D1-Mini's. Really would be nice if someone could port ESPHome to these proprietary controllers.
ADVERTISEMENT