FAQ
TL;DR: Flag 11 drops LED PWM from 1 kHz to 600 Hz (−40 %) [Elektroda, gajosu15, post #20193940]; “simply with the USB-TTL it worked” [Elektroda, gajosu15, post #20198075] Flash Taloya 24 W ceiling light’s BK7231T via hid_download_py, set five PWM pins, and enjoy Tasmota-style control.
Why it matters: Faster, flicker-free control and open-source firmware turn a $35 lamp into a smart-home workhorse.
Quick Facts
• Rated power: 24 W, ≈2,100 lm output [Amazon Listing].
• Street price: US $34.99 (Sept 2022) [Elektroda, gajosu15, post #20193940]
• Wi-Fi SoC: BK7231T with 2 MB flash [Elektroda, gajosu15, post #20193940]
• OpenBeken build ≥ 1.12.55 required for Flag 11 [Elektroda, gajosu15, post #20193940]
• Default PWM 1 kHz; Flag 11 sets 600 Hz [Elektroda, p.kaczmarek2, post #20196144]
What chips sit on the Taloya YL300-24W-AI-WEMG main board?
The control board hosts a BK7231T Wi-Fi SoC, a DIP-8 AC-DC converter, and SOIC-8 LED drivers; photos confirm marked PSR BJT driver and LY-MCU pair [Elektroda, gajosu15, post #20216455]
Which GPIOs must be configured as PWM in OpenBeken?
Set: PWM0=Pin6, PWM1=Pin7, PWM2=Pin8, PWM3=Pin24, PWM4=Pin26. This 5-channel map matches the factory layout [Elektroda, gajosu15, post #20193940]
How do I flash the BK7231T under Windows?
Use hid_download_py. Connect TX, RX, GND and VCC (3.3 V) to the USB-TTL adaptor, hold BOOT low, then upload the OpenBeken binary [Elektroda, gajosu15, post #20193940]
Is the adaptor’s 3.3 V rail safe for powering the lamp PCB?
No; current is limited. "I’d rather use an external 3.3 V LDO" warns the project maintainer [Elektroda, p.kaczmarek2, post #20196144] Insufficient current may cause boot loops.
Why enable Flag 11 after flashing?
Flag 11 lowers PWM frequency to 600 Hz, removing visible flicker and restoring full dim range [Elektroda, gajosu15, post #20193940]
Which OpenBeken version includes Flag 11?
Version 1.12.55 or newer exposes Flag 11 in Configure → General [Elektroda, gajosu15, post #20193940]
How bright is the Taloya 24 W ceiling light?
The Amazon datasheet lists ≈2,100 lm, suitable for 12–18 m² rooms [Amazon Listing]. That’s 87 lm/W, 6 % above the ENERGY STAR baseline.
Can I contribute the pin template to the community?
Is an OTA method being researched?
A full 2 MB dump aids the Tuya-cloudcutter OTA project; providing your readout speeds development [Elektroda, p.kaczmarek2, post #20200358]
Could I restore the stock Tuya firmware later?
If you saved the 2 MB image before flashing, you can write it back with hid_download_py; otherwise it’s gone [Elektroda, gajosu15, post #20201335]
What edge case caused flashing to fail for some users?
Using the USB-TTL’s limited 3.17 V supply sometimes brown-outs the BK7231T, aborting uploads [Elektroda, gajosu15, post #20198075]
Quick 3-step flashing recipe?
- Disassemble lamp; expose RX, TX, GND, VCC, BOOT pads.
- Power with stable 3.3 V, short BOOT to GND, run hid_download_py upload.
- Reboot, set PWM pins, enable Flag 11 — done.[Elektroda, gajosu15, post #20193940]
Comments
That's a very nice device with a beefy board, I haven't seen that one before. Would you also be able to specify the name of chips in DIP8 and SOIC packages there? I'm just curious. It's good to know... [Read more]
Hello, I already have the light installed, but I ordered another 2 more since they were at a good price, as soon as I flash them I will upload photos of the chips Thanks for the suggestion, yes, simply... [Read more]
Have you considered doing a full 2MB flash read (preferably after pairing with a dummy SSID) for tuya-cloudcutter project? They are looking for device dumps to make devices programmable by OTA, without... [Read more]
I did a stock firmware read before flashing [Read more]
I already had time to flash the other 2 lights, here I leave you images of the chips https://obrazki.elektroda.pl/8722447800_1664644600_thumb.jpg https://obrazki.elektroda.pl/9331175300_1664644608_thumb.jpg... [Read more]
Thank you for your work, this post helped me flash a Taloya clone. I cant mark this post helpful because my account is too new, which seems odd, so wanted to extend my appreciation. [Read more]
Thanks for this post. Just finished conversion of the 15.8" version of this light. Once I opened it, I found a BK7231N CB3S inside. Here are the pins I found that successfully controlled the flashed module... [Read more]