logo elektroda
logo elektroda
X
logo elektroda
Dostępna jest polska wersja

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

Exploring Gleco Smart Bulb 15W RGB+2700~6500K from AliExpress: CB2L Module, PWM Details

synergy4489elektroda 4737 11
ADVERTISEMENT
  • #1 20763656
    synergy4489elektroda
    Level 4  

    Hello,
    I recently ordered some smart bulbs from AliExpress: https://www.aliexpress.com/item/1005005481268886.html

    The brand is Gleco.
    Smart Bulb 15W RGB+2700~6500K
    AC 85-265V 50/60Hz

    It seems they're pretty straightforward to work with. They have the CB2L module.

    P6 PWM 3
    P7 PWM 2
    P8 PWM 1
    P24 PWM 5
    P26 PWM 4

    Gleco smart bulb lying on a world map, with a keyboard in the background. Gleco smart bulb with visible LED diodes and circuit board. Close-up of the interior of a smart bulb with electronic components.

    I wrote an article on my blog about it:
    https://cheriches.com/smart-home/2023-10-07-the-anatomy-of-a-smart-bulb.html
  • ADVERTISEMENT
  • #2 20763709
    p.kaczmarek2
    Moderator Smart Home
    Thank you, that's a very nice and detailed blog post. Can you also paste here JSON template from OBK Web App?

    Added after 46 [seconds]:

    BTW: You can get GPIO roles automatically that way:
    https://www.youtube.com/watch?v=WunlqIMAdgw&ab_channel=Elektrodacom
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 20763717
    synergy4489elektroda
    Level 4  

    p.kaczmarek2 wrote:
    Can you also paste here JSON template from OBK Web App?


    Of course

    Code: JSON
    Log in, to see the code


    Added after 1 [hours] 14 [minutes]:

    Some photos of the packaging:

    Packaging of Gleco Smart Bulb with setup instructions. Packaging of Gleco Smart Bulb showing features and compatibility. Packaging of Gleco Smart LED Bulb with barcode Packaging of Gleco Smart Bulb 15W RGB smart bulb.
  • #4 20763774
    p.kaczmarek2
    Moderator Smart Home
    I am using similiar bulbs, also on BL602 chipset, and control them in groups via Tasmota Device Groups system:
    https://www.youtube.com/watch?v=e1xcq3OUR5M&ab_channel=Elektrodacom
    Helpful post? Buy me a coffee.
  • #5 20777419
    IronManIronMan
    Level 1  

    I am trying to use tuya-cloudcutter. But couldn't find Gleco in the list of manufacturer names. Any idea how to go about it - select another manufacturer or create a custom device.json, combined.json, profile.json?
  • ADVERTISEMENT
  • #6 20777529
    p.kaczmarek2
    Moderator Smart Home
    Tuya Cloudcutter profile can be created from firmware dump. If you don't have a flash dump, you can use wired method:


    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #7 20858805
    divadiow
    Level 38  
    I have exactly the same bulb. I've managed to unsolder but not yet braved re-soldering.

    my dump and info

    Code: JSON
    Log in, to see the code


    
    Device configuration, as extracted from Tuya: 
    - LED Green (Channel 2) on P7
    - LED Cool (Channel 4) on P26
    - LED Blue (Channel 3) on P6
    - TODOpwmhz
    - LED Red (Channel 1) on P8
    Device seems to be using CB2L module, which is using BK7231N.
    And the Tuya section starts, as usual, at 2023424
    


    Close-up of a circuit board with probes attached.
    CB2L electronic module on fabric background. Close-up of an electronic module with various markings, pin numbers, and connectors on the circuit board. Close-up of a circuit board featuring the BK7231N chip.
    Close-up of a green PCB with markings and electrical traces. Image of a printed circuit board with electronic components on a wooden table.

    I'm following that same video for tips https://www.youtube.com/watch?v=2e1SUQNMrgY
    Attachments:
    • boot.txt (9.23 KB) You must be logged in to download this attachment.
    • readResult_BK7231N_QIO_gleco_oem_bk7231n_light_ty__2023-12-12-21-53-31.bin (2 MB) You must be logged in to download this attachment.
  • #8 20950104
    divadiow
    Level 38  
    finally came back to this bulb. I had soldered it back on and it didn't work, so got annoyed and left it for a couple of months.

    I resoldered it today and removed two capacitors closest to the CB2L to check solder hadn't dribbled everywhere. a good clean, resolder and a cautious power-on saw it connect to my network!

    Screenshot of the OpenBK7231N user interface with various LED lighting control options.

    @synergy4489elektroda where did you get P24 PWM 5 from? If I analyse my bin in BK Easy Flash I get this output
    Device configuration, as extracted from Tuya: 
    - LED Green (Channel 2) on P7
    - LED Cool (Channel 4) on P26
    - LED Blue (Channel 3) on P6
    - PWM Frequency5000
    - LED Red (Channel 1) on P8
    Device seems to be using CB2L module, which is using BK7231N.
    And the Tuya section starts, as usual, at 2023424
    


    I only see 1 other device with a matching template in the device list

    CoRui TUYA WiFi Smart LED light bulb with packaging in the background

    PR to add to device list https://github.com/OpenBekenIOT/webapp/pull/7...mits/3c46208e4ce46c99ac81e6ed620e95ea2e7ca8a7
  • #9 20950124
    p.kaczmarek2
    Moderator Smart Home
    The Tuya Config detector may be sometimes faulty. Maybe in this case it has omitted the missing PWM? Please try anyway. If it;s the device from the first post, then indeed there are warm white and cool white diodes.
    Helpful post? Buy me a coffee.
  • #10 20950128
    divadiow
    Level 38  
    yes, forgot to mention. it is correct with P24 and P26 present. identical device
  • #11 20950178
    p.kaczmarek2
    Moderator Smart Home
    Okay, so that's clear now. Thank you for submitting template, I am very happy with your recent activity! Please keep it on! It's very hard to maintain a large project like OBK just by myself, any help is welcome.

    PS: I am also doing teardowns all the time, but some of them first go to our Polish site, see sample here, but I will enable them for our com site soon as well.

    PS2: Hmm it seems I need to add a space here:
    
    - PWM Frequency5000
    
    Helpful post? Buy me a coffee.

Topic summary

✨ The discussion revolves around the Gleco Smart Bulb 15W RGB+2700~6500K, which features the CB2L module and operates on AC 85-265V. Users share insights on configuring the bulb, including a JSON template for the OBK Web App, detailing its PWM pin assignments. Some participants discuss their experiences with similar bulbs using the BL602 chipset and Tasmota Device Groups. Issues with using Tuya Cloudcutter for device configuration are raised, with suggestions for creating custom profiles. Users also share their experiences with soldering and troubleshooting the bulb, including successful network connections after repairs. The conversation highlights the technical specifications and community support for smart bulb modifications.

FAQ

TL;DR: 15W Gleco RGB+CCT bulbs run a CB2L module—“They have the CB2L module.”—with PWM on P6/P7/P8/P24/P26 for easy OBK setup. [Elektroda, synergy4489elektroda, post #20763656]

Why it matters: This FAQ helps tinkerers, OpenBeken/Tasmota users, and buyers map pins, flash safely, and fix detection or soldering issues.

Quick Facts

What hardware is inside the Gleco 15W smart bulb?

It uses a CB2L Wi‑Fi module running the BK7231N SoC. An OpenBeken Web App JSON template was shared, confirming vendor, board, chip, and PWM pin roles. This makes configuration straightforward after flashing. You can import the template to speed setup. [Elektroda, synergy4489elektroda, post #20763717]

What are the PWM pin assignments on the CB2L for this bulb?

The reported mapping is: P6 → PWM3, P7 → PWM2, P8 → PWM1, P24 → PWM5, and P26 → PWM4. This covers RGB plus two CCT channels. Use these roles when creating the OpenBeken template or manual GPIO mapping. [Elektroda, synergy4489elektroda, post #20763656]

Which pins drive RGB and which drive CCT on this model?

Tuya config analysis indicates RGB on P8 (Red), P7 (Green), and P6 (Blue). It shows Cool White on P26 (Channel 4). A second white channel is present in the template for dual CCT control. [Elektroda, divadiow, post #20858805]

Why does my tool show only four PWM channels instead of five?

The Tuya config detector can miss one PWM channel on this bulb. “Tuya Config detector may be sometimes faulty.” If it’s this model, it has both warm and cool white diodes. Manually add the missing PWM channel in your template. [Elektroda, p.kaczmarek2, post #20950124]

What PWM frequency does the Gleco bulb use?

Analysis of the Tuya configuration shows a PWM frequency of 5000 Hz. This high frequency reduces visible flicker and improves dimming smoothness. Set your controller accordingly if customizing drivers. [Elektroda, divadiow, post #20950104]

Is there an OpenBeken JSON template for quick setup?

Yes. A JSON template lists: vendor Gleco, board CB2L, chip BK7231N, and pin roles for all five PWM channels. Import it into the OBK Web App, then adjust any cosmetic fields, like image links or keywords. [Elektroda, synergy4489elektroda, post #20763717]

Tuya-Cloudcutter doesn’t list Gleco. How do I flash it?

Create a Cloudcutter profile from a firmware dump. If you lack a dump, use the wired flashing method demonstrated by the maintainer. This path avoids waiting for a pre‑made profile. [Elektroda, p.kaczmarek2, post #20777529]

How do I set the bulb to auto power on with defaults in OpenBeken?

Use autoexec.bat.
  1. Create or edit autoexec.bat in the filesystem.
  2. Add: Power ON; backlog led_temperature 320; Dimmer 100; led_enableAll 1.
  3. Save, then reboot the device to apply at each startup. [Elektroda, sergiopoverony, post #21005682]

Does this bulb support both warm and cool white channels?

Yes, the device includes both warm and cool white diodes alongside RGB. As one expert noted, “there are warm white and cool white diodes.” Configure both PWM channels to unlock full tunable white control. [Elektroda, p.kaczmarek2, post #20950124]

Can I group-control these bulbs with Tasmota?

Yes. The maintainer reports using similar bulbs with Tasmota Device Groups. “Control them in groups via Tasmota Device Groups system.” This enables synchronized on/off and color scenes. OpenBeken devices can interoperate at the MQTT level. [Elektroda, p.kaczmarek2, post #20763774]

What if the bulb doesn’t work after resoldering the CB2L module?

One user fixed connectivity by removing two capacitors near CB2L, cleaning, and carefully resoldering. After a cautious power‑on, the bulb joined the network. Check for solder bridges and residue if your board stays unresponsive. [Elektroda, divadiow, post #20950104]

What firmware color mode does the Tuya config report?

The configuration reports cmod set to rgbcw. That means three RGB channels plus two independent white channels for tunable CCT. Map all five PWM outputs to use full functionality. [Elektroda, divadiow, post #20858805]

What are the default brightness limits in the Tuya configuration?

The dump shows brightmin at 10 and brightmax at 100. This implies a 10% minimum brightness and 100% maximum before any custom tuning. Adjust in your firmware UI if you prefer a lower floor. [Elektroda, divadiow, post #20858805]

Where does the Tuya data block start in the flash dump?

The Tuya section starts at address 2,023,424 in the shared dump. Use this offset when parsing or validating configuration structures during profile creation. It helps tooling locate DP and PWM config. [Elektroda, divadiow, post #20950104]

How can I auto-detect GPIO roles instead of mapping manually?

Use the OBK Web App’s guided detection flow linked by the maintainer. “You can get GPIO roles automatically that way.” This accelerates setup and reduces mapping mistakes. Verify results against your device’s behavior. [Elektroda, p.kaczmarek2, post #20763709]
ADVERTISEMENT