I am now configuring Anwio A19 bulbs which have an sm2135 led driver. I can’t seem to figure out the correct pins for clock+data, despite knowing that the bulbs have a wb3l board.
These are bulbs from Amazon that I flashed using tuya-cloudcutter (tuya v2.9.16). After not getting anywhere with the configuration I cracked one open to confirm the board is a wl3b and it has an sm2135EH chip. I can share pictures, if requested.
Initially, I tried using pwm, but no leds turned on whatsoever (this was before I figured out there was an sm2135 chip).
Here are the sm2135 configs I have tried:
# 1
sm2135:
data_pin: P16
clock_pin: P14
separate_modes: false
# 2
sm2135:
data_pin: P21
clock_pin: P20
separate_modes: false
# 3
sm2135:
data_pin: P1
clock_pin: P0
separate_modes: false
This is the output and light config:
output:
- platform: sm2135
id: output_red
channel: 0
# max_power: 0.8
- platform: sm2135
id: output_green
channel: 1
# max_power: 0.8
- platform: sm2135
id: output_blue
channel: 2
# max_power: 0.8
- platform: sm2135
id: output_white_brightness
channel: 3
# max_power: 0.8
- platform: sm2135
id: output_white_temp
channel: 4
# max_power: 0.8
light:
- platform: rgbct
name: Light
id: ${device}
color_interlock: True
red: output_red
green: output_green
blue: output_blue
color_temperature: output_white_temp
white_brightness: output_white_brightness
cold_white_color_temperature: 6200 K
warm_white_color_temperature: 2000 K
Additionally I’ve tried specifying the current for the rgb and white with no luck. I didn’t try it will all pin combinations, to be fair.
How can I figure out for certain which pins to use? Anything else I could try?
Thanks for any help!