No Cool/Warm white with SM2135EH

We recently picked up a couple of Arlec GLD364HA E14 bulbs containing a CBLC5 chip and SM2135EH RGB controller.

The bulb consists of multiple LEDs for each colour, both rgb and cw.

I updated ESPHome to latest version a couple of days ago noting that support for the 2135EH had been added, and I disabled ‘separate modes’ per the ESPHome documentation on the 2135 driver.

When the bulbs are running OpenBK, all colours work including CW/WW, however once flashed with ESPHome, white stops working altogether and I’m not sure why. Below is a YAML snippet, wondering what I could be doing wrong or if this is simply a bug? TIA.

sm2135:
  data_pin: PWM4
  clock_pin: PWM5
  separate_modes: false

# Individual outputs
output:
  - platform: sm2135
    id: output_green
    channel: 0
    max_power: 0.8
  - platform: sm2135
    id: output_blue
    channel: 1
    max_power: 0.8
  - platform: sm2135
    id: output_red
    channel: 2
    max_power: 0.8
  - platform: sm2135
    id: output_white
    channel: 3
    max_power: 0.8
  - platform: sm2135
    id: output_warmwhite
    channel: 4
    max_power: 0.8
    
light:
  - platform: rgbww
    name: 'arlec-e142-rgbw-1'
    id: 'arlec_e142_rgbw1'
    red: output_red
    green: output_green
    blue: output_blue
    warm_white: output_warmwhite
    cold_white: output_white
    warm_white_color_temperature: 2700 K
    cold_white_color_temperature: 6500 K
    color_interlock: true

Sorry cant help but just adding that i brought a Arlec GLD381HA GU10 RGBW and am having the same issue - it uses a CBLC9 which needed to be flashed over serial. I can get RGB working but not the WW/CW, config is the same as yours and have also tried using RGBCT and separating into RGB + W.

Good to know I’m not doing anything silly! I’ve just opened an issue on the GIthub page, will see what we get back.

Bit of a late response but I have just had similar with some Calex bulbs and figured out a fix for myself. Reading the SM2135 spec sheet I noticed the CW current defaults to 30mA and RBG to 20mA. In ESPHome it defaults both to 20mA.

I’ll add a comment to the github issue too in case anyone misses this comment.

Setting it up like this worked for me:

sm2135:
  data_pin: PWM4
  clock_pin: PWM5
  separate_modes: false
  cw_current: 30mA
2 Likes

My friend, you are a champion! Updated my config and blam, it works. Thankyou!!

1 Like

Thank you! This worked for me as well on a MiMoodz 85077 bulb, which has an TYCL2 V1.0.2 board in it.