FAQ
TL;DR: 30 W ceiling lamp delivers 2250 lm and “That’s a very nice lamp” [Elektroda, p.kaczmarek2, post #20357002] OpenBK runs on CB3S and WB3S variants; IR codes, MQTT and default states configurable in minutes.
Why it matters: Gain local, privacy-friendly control of a bright, affordable smart fixture.
Quick Facts
- Power draw: 30 W, 230 V AC [Elektroda, p.kaczmarek2, post #20357002]
- Output: 3150 lm (source), 2250 lm (effective) [Elektroda, p.kaczmarek2, post #20357002]
- Colour range: 3000 – 6500 K CCT [Elektroda, p.kaczmarek2, post #20357002]
- Lifespan: Approx. 20 000 h [Elektroda, p.kaczmarek2, post #20357002]
- Typical street price: US $90-175 depending on retailer/date [Elektroda, sabe89, post #20357448]
Which wireless chips are used and are both flashable?
Models sold in 2022-24 were seen with CB3S (BK7321N) and WB3S (BK7231T) modules. Both accept OpenBK via UART once boot pins are shorted and 3V3 power applied [Elektroda, roguezet, post #20980824]
What pin template works for the CB3S version?
Set pins as follows: P6 PWM5, P8 PWM4, P9 PWM1, P14 IRRecv, P24 PWM2, P26 PWM3 [Elektroda, sabe89, post #20355770]
What pin template works for the WB3S (BK7231T) board?
Use the JSON mapping published by Matthias: P6→PWM5, P8→PWM4, P9→PWM1, P14→IRRecv, P24→PWM2, P26→PWM3 [Elektroda, roguezet, post #20980824]
How do I back up the factory firmware before flashing?
- Connect USB-TTL to RX/TX and 3V3.
- Use bkwriter.exe or esptool-fork to read full 0x0-0x1FFFFF range.
- Save the 2 MB image for recovery [Elektroda, p.kaczmarek2, post #20397838]
How can I forward IR commands to Home Assistant or Loxone?
Assign P14 to IRRecv, then add script lines such as addEventHandler2 IR_NEC 0x80 0x1 led_enableAll 0
. Publish IrReceived.Data
to your MQTT broker; HA or Loxone can parse the topic [Elektroda, p.kaczmarek2, post #20357002]
MQTT topics for dimmer and colour temperature?
Send cmnd/LightName/led_dimmer <0-100>
for brightness and cmnd/LightName/led_temperature <2300-6500>
for CCT. OpenBK parses the payload instantly [Elektroda, roguezet, post #20980824]
How do I define a default power-on state?
Create /autoexec.bat
in LittleFS or use StartupCommand
. Example: backlog led_basecolor_rgb 255 200 160; led_enableAll 1
to wake in warm-white at 100 % [Elektroda, p.kaczmarek2, post #20983472]
Known issue: some IR buttons duplicate—what’s the fix?
Certain OEM remotes merge UP/RIGHT and DOWN/LEFT codes, causing repeated actions. Replacing the handset or filtering by the third “repeat” byte (addEventHandler3
) eliminates collisions [Elektroda, alexandrgredasov, post #20419996]
What brightness can I expect in a 15 m² room?
At 2250 lm effective output, a single unit delivers about 150 lx, matching general living-room guidance of 100-150 lx [CIE, 2020]. Two lamps reach 300 lx, suitable for tasks—confirmed by user tests [Elektroda, alexandrgredasov, post #20419996]
Is the lamp waterproof?
No. Housing is rated IP20—finger safe only. Do not install in bathrooms or outdoors [Elektroda, p.kaczmarek2, post #20357002]
Edge-case: what if flashing fails and the lamp stays dark?
Hold boot pin low, re-flash the saved 2 MB image, and power-cycle. Hardware PWM pins ensure LEDs power up once firmware is restored, so permanent brick risk is low [Elektroda, p.kaczmarek2, post #20397838]
Quick 3-step procedure to capture all IR codes?
- Open serial console at 115200 baud.
- Press each remote button; note
IrReceived.Data
output.
- Store values in a spreadsheet and share on forum [Elektroda, p.kaczmarek2, post #20357465]
Comments
Thank you for submitting pin configuration. That's a very nice lamp. I see you have an IR pin set. Does that lamp come with IR receiver? Have you managed to configure IR? You can just forward the IR... [Read more]
Hi p.kaczmarek2, you can see the ir receiver at the right bottom corner close to the CB3s chip. I bought the lights last year for about 90$ each. Actually I use the ir with mqtt add_dimmer and add_temperature... [Read more]
Hmmm if you provide a full list of IR codes from that remote, it might be helpful for future users. [Read more]
I have the same lamp with wb3s chip. Is it possible to flash that as well and use the same template? I think the only dofference is that the light leds are warm and yours are cold. Also, how were your... [Read more]
@roguezet It is hard to tell if the configuration will be the same, but BK7231 has only 6 PWM pins so there are not many options to choose from. PWM IO PWM0 P6 PWM1 P7 PWM2 P8 PWM3... [Read more]
https://obrazki.elektroda.pl/3441340400_1674318587_thumb.jpg https://obrazki.elektroda.pl/3288778800_1674318586_thumb.jpg https://obrazki.elektroda.pl/4303915100_1674318588_thumb.jpg It really... [Read more]
Hmm okay so please do fiirst a full 2MB flash read (if you can), for the firmware backup, and then flash OBK and try to configure it. I will help if any issue arises. [Read more]
Hello. My IR receiver accepts codes of this type: IR_NEC 0x80 0x1 0 IR_NEC 0x80 0x1 1 IR_NEC 0x80 0x1E 0 IR_NEC 0x80 0x1E 1 If I insert my code into this line addEventHandler 2 IR_NEC 0x80 0x1... [Read more]
OBK is in rapid development so some things are added on the fly. You can look on our youtube channel for more guides, also check our docs and commands list. I can add a command for your requirement today,... [Read more]
Hello, thank you for the answer and for your work in general! Upon closer examination, I found out that the last digit is not part of the code. At least it can be 0 and 1 at different times on the same... [Read more]
I don't think it's a bad remote. I think it may have a sub codes. Can you help me with testing that? [Read more]
Of course, I will help in any way I can. But I made sure that this remote control works that way, it has these buttons duplicated (I checked on Tuya's native firmware) Added after 54 : But if this... [Read more]
So Tuya native firmware also sees both buttons as duplicated? [Read more]
on native firmware (tuya), my remote duplicates actions when you press up/right, and down/left. Also, when you press ON, the lamp turns on and off alternately. The same when pressing OFF. Etc [Read more]
I got all working. So with 41386-30sh with BK7231T it also works. The Pin mapping is a bit different though: "pins": { "6": "PWM;5", "8": "PWM;4", "9": "PWM;1", "14": "IRRecv;0", ... [Read more]
Wake up state can be easily set with startup command or autoexec.bat in LittleFS. You can put any supported command there, here's the commands list: https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/commands.md So,... [Read more]