Skip to content

SYLVANIA RGBW Color Filament bulbs: fix SM2135_Current - #299

Draft
ryan-ronnander wants to merge 1 commit into
OpenBekenIOT:mainfrom
ryan-ronnander:sylvania-filament-sm2135-current
Draft

ryan-ronnander wants to merge 1 commit into
OpenBekenIOT:mainfrom
ryan-ronnander:sylvania-filament-sm2135-current

Conversation

@ryan-ronnander

@ryan-ronnander ryan-ronnander commented Sep 27, 2026 •

Copy link
Copy Markdown

I made a mistake translating the stock Tuya LED currents to OpenBeken in #295. SM2135_Current takes register codes rather than mA, and its first argument lands on the white group, so stock's 20 mA RGB / 40 mA white is SM2135_Current 6 2, not 20 40.

Measured on the A19 behind a Sonoff S31, full brightness:

State Stock Tuya 20 40 (current) 6 2 (this PR)
Filament white 6.58 W 5.27 W 6.70 W
Pure red 3.81 W 2.92 W 3.73 W

I've gone back and edited the JSON in the original forum post to match.

Marking this as a draft: openshwprojects/OpenBK7231T_App#2243 adds led_colorBlendLimit for color mode power on these bulbs, and I'd like to add it to these entries in the same PR once it's released.

- SM2135_Current takes register codes rather than mA, and OpenBeken
  packs its first argument into the nibble the chip reads for the
  white group, so stock's 20 mA RGB and 40 mA white is `6 2`
- `20 40` ran all three bulbs about 20% below stock brightness; `6 2`
  matches the stock power readings

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant