Elektroda.com
Elektroda.com
X

[WB2L/BK7231T] Arlec GLD130P3HA/GLD130HA from Bunnings Australia

p.kaczmarek2 2115 19
This content has been translated flag-pl » flag-en View the original version here.
  • [WB2L/BK7231T] Arlec GLD130P3HA/GLD130HA from Bunnings Australia
    Here is information about the interior, WiFi module and configuration of RGBCW Arlec lamps from the Bunnings store in Australia. They are powered from 220V, offer 1050lm and B22 mount. They are implemented on BK7231T. I put them here at the request of the user OpenBeken from Github, I did not physically own this product myself.
    The lamp model is GLD130P3HA / GLD130HA, you can buy it, among others in a three-pack in many online stores.
    This is what it looks like after removing the dome:
    [WB2L/BK7231T] Arlec GLD130P3HA/GLD130HA from Bunnings Australia
    The process of getting inside is similar to Feit OM60/RGB/CA/AG/3 and other products.
    The problem appears inside, there is a WB2L module whose programming pads are on its bottom and touch the mother PCB:
    [WB2L/BK7231T] Arlec GLD130P3HA/GLD130HA from Bunnings Australia
    This module is designed for LEDs, its pins are basically power and PWM:
    Pin No. Symbol I/O type functions
    1 PWM2 I/O Hardware PWM pin, which is connected to the P8/BT_ACTIVE/PWM2 (Pin24)
    2 PWM1 I/O Hardware PWM pin, which is connected to the P7/WIFI_ACTIVE/PWM1 (Pin23)
    3 PWM0 I/O Hardware PWM pin, which is connectedto the P6/CLK13M/PWM0 (Pin22)
    4 PWM5 I/O Hardware PWM pin, which is connected to the P26/IRDA/PWM5 (Pin15)
    5 PWM4 I/O Hardware PWM pin, which is connected to the P24/LPO_CLK/PWM4 (Pin16)
    6 GND P groundpin
    7 3V3 P Power supply pin (3.3V)

    You can upload the firmware, for example, using the method from our video. The video covers the removal of the module with a cheap soldering iron and the soldering with wires to its RX, TX, VDD and GND pads.



    It's just that this product uses the SM2135 and not the usual PWM driver
    Configuration OpenBeken SM2135 includes:
    - P24 is CLK
    - P26 is DAT
    - color mapping: SM2135_map 1,2,0,4,3
    P24 and P26 are set here (Config->Configure Module):
    [WB2L/BK7231T] Arlec GLD130P3HA/GLD130HA from Bunnings Australia
    We enter the mapping command either in autoexec.bat or in short startup command, in Options:
    [WB2L/BK7231T] Arlec GLD130P3HA/GLD130HA from Bunnings Australia
    In addition, the configuration looks similar to other products.
    Depending on the version of SM2135 used in the product, you may also consider using this flag:
    [WB2L/BK7231T] Arlec GLD130P3HA/GLD130HA from Bunnings Australia
    That's it for this device. I don't have more information, because, as I wrote, I only put its configuration here at the user's request.
    If anyone has a similar or similar product, let me know.

    Cool? Ranking DIY
    About Author
    p.kaczmarek2
    Moderator Smart Home
    Offline 
    p.kaczmarek2 wrote 4836 posts with rating 5167, helped 235 times. Been with us since 2014 year.
  • #2
    dsz99
    Level 1  
    Hi, If someone came to this topic. I got a tuya compatible RGBCW lamp "LED Planet" - Smart LED 10W 3000-7000+RGB BIvolt. with the same BK7231T and WB2L without any led driver (like: SM2135 above). To work , follow the same instructions (thanks @p.kaczmarek2 !!! ) and here the pins settings:

    This is required cuz it uses 2 PWM channels, one for brightness other for LED Temperature, need to combine both to work CW

    PS.: Still under tests ... maybe change it if I notice any problem.

    [WB2L/BK7231T] Arlec GLD130P3HA/GLD130HA from Bunnings Australia

    [WB2L/BK7231T] Arlec GLD130P3HA/GLD130HA from Bunnings Australia
  • #3
    jeffjantz
    Level 5  
    Hi,
    I have a Mirabella Genio 9W E27 800Lumen RGB + CCT Bulb - Part I003293,

    Initially flashed with tuya_cloudcutter profile: 'Grid Connect GLD132HA Bulb' profile

    I attempted to OTA flash the first one with OpenBK, firmware UG_1.15.258, and suspected it was bricked post flash - as once powered up, it never illuminated again - figuring it'd bricked it, it was ripped apart.
    Found it has a WBLC5 - BK7231TQN32 chip inside.

    Managed to OTA flash the second bulb first with OpenBK UG_1.15.346 - based on identified firmware: 2.9.15
    though as mentioned it never illuminates once powered on - however I can connect to the OpenBK web interface on this second bulb, and can successfully navigate through Config.


    Forgive my ignorance,
    I suspect the bulb isn't illuminating because there are no pin assignments allocated by default..?

    Is it a matter of just guessing/picking pin assignments until *something* triggers the bulb on - or do I need specific pin assignments - otherwise risk potential failure..?

    Thanks
  • #4
    p.kaczmarek2
    Moderator Smart Home
    @dsz99 can you post a photo of the packaging or more information where that RGBCW lamp LED Planet - Smart LED 10W 3000-7000+RGB BIvolt can be b ought?
    @jeffjantz of course you need to set the correct pins, you could just take off the dome and at least peek inside to see if it's an "I2C" driver or something else.
    Or maybe just try starting with PWMs, there are only 6 possible PWM channels, so maybe you just could set channels 1 2 3 4 5 randomly and just see if it works, and if you get wrong indices, rearrange it, etc...
    See this post with PWM table and explanation how to setup bulb:
    https://www.elektroda.com/rtvforum/viewtopic.php?p=20395408#20395408

    @jeffjantz can you also attach a Mirabella bulb packaging photo and information where it was bought? we will add it to our templates database once the config is ready
  • #5
    jeffjantz
    Level 5  
    p.kaczmarek2 wrote:
    @jeffjantz of course you need to set the correct pins, you could just take off the dome and at least peek inside to see if it's an "I2C" driver or something else.
    Or maybe just try starting with PWMs, there are only 6 possible PWM channels, so maybe you just could set channels 1 2 3 4 5 randomly and just see if it works, and if you get wrong indices, rearrange it, etc...
    See this post with PWM table and explanation how to setup bulb:
    https://www.elektroda.com/rtvforum/viewtopic.php?p=20395408#20395408

    @jeffjantz can you also attach a Mirabella bulb packaging photo and information where it was bought? we will add it to our templates database once the config is ready


    Hi p.kaczmarek2,
    turns out the bulb is SM2135 controlled - P24: SM2135DAT & P26: SM2135CLK did the trick after a reboot.
    While some of the RGB colours are ever so slightly off - the bulb is controllable both via RBG, dimming and colour temp control.

    The bulb packaging looks like this - their available from Bunnings as well:
    https://templates.blakadder.com/mirabella_genio_I003293.html

    Is there a startup command required to toggle the bulb on by default once power is applied?


    Thanks
  • #6
    p.kaczmarek2
    Moderator Smart Home
    You can do anything you want to bulb in "Short startup command" field, for example:
    
    backlog led_basecolor_rgb FF0000; led_enableAll 1
    

    See full commands doc:
    https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/commands.md
    Also see colour calibration procedure:
    https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/led_gamma_control.md

    PS: When linking to external site, please repost image in case that link expires. Thanks!
    [WB2L/BK7231T] Arlec GLD130P3HA/GLD130HA from Bunnings Australia
  • #7
    jeffjantz
    Level 5  
    p.kaczmarek2 wrote:
    You can do anything you want to bulb in "Short startup command" field, for example:
    
    backlog led_basecolor_rgb FF0000; led_enableAll 1
    

    [/url]


    Thanks, this command has resolved the startup issue.


    I have another bulb,
    Mirabella Genio 9W E27 800Lumen RGB + CCT Bulb - Part I002944,
    comes in single plastic packaging - https://www.mirabellagenio.com.au/product-range/mirabella-genio-wifi-dimmable-9w-led-globe/

    Firmware v1.2.16, it looks to have a BK7231N chip instead, and is PWM controlled.
    Managed to flash it with tuya-cloudcutter and then OTA OpenBK firmware UG_1.15.346.

    Still trying to determine all PWM pins assignments however
    Sorry I am unable to upload images.

    Thanks
  • #8
    p.kaczmarek2
    Moderator Smart Home
    Hey, how it's the pins configuration going, I would like to complete the Mirabella entry for our templates list.
    [WB2L/BK7231T] Arlec GLD130P3HA/GLD130HA from Bunnings Australia
    [WB2L/BK7231T] Arlec GLD130P3HA/GLD130HA from Bunnings Australia
  • #9
    jeffjantz
    Level 5  
    p.kaczmarek2 wrote:
    Hey, how it's the pins configuration going, I would like to complete the Mirabella entry for our templates list.]


    Hi,
    Not a whole lot of progress on the I002944 bulb - I don't know enough about the assignments to really know whether I'm making progress or not..
    Currently the dimming/brightness works correctly down to about 15% on the slider - where the bulb turns off below about 15%,
    The RBG colour picker results in sporadic colors,
    The Cool/Warm Slider moves the bulb from pure white @ default 6500K - to bright red as soon as its toggled, along with ALSO dimming it the further toward 2000K you go..

    For what its worth, currently:
    P6 - PWM1
    P7 - PWM2
    P8 - PWM3
    P9 - PWM4
    P24 - PWM5
    P26 - PWM0

    *EDIT*: With nothing else assigned - these pins correct both dimming/brightness and Cool/Warm Temperature
    P6 - PWM2
    P7 - PWM1


    I've thrown so many random pin assignments against it that I can't remember whether any showed progress..
    I may have some more updates in the coming days if I manage to narrow something down - unless you have any tips @p.kaczmarek2 ?


    In the interim I picked up some Mirabella Downlights and promptly bricked one accidentally selecting the wrong BK7231T firmware;
    However I did manage to flash one of them on firmware: v1.2.16

    Mirabella Genio 9W 700Lumen RGB + CCT Downlight - Part I003247,
    comes dual box packaging - https://www.mirabellagenio.com.au/product-ran...lla-genio-wi-fi-dimmable-9w-downlight-2-pack/

    Also flashed with tuya-cloudcutter and then OTA OpenBK firmware UG_1.15.346 - Chip: BK7231N - CB2L;
    However currently less progress than the I002944 bulb - without cutting the housing open (its entirely sealed unlike prior revisions) I can only guess chip and pin assignments at this point,
    neither PWM nor SM2135 or SM2235 assignments have worked so far, the light doesn't even illuminate.

    There was mention here for the similar single-packaged version, that "Set Option37 24" setting is required?
    Is that applicable to this firmware?
    https://templates.blakadder.com/mirabella_genio_I002741.html


    Thanks
  • #10
    jeffjantz
    Level 5  
    jeffjantz wrote:

    Mirabella Genio 9W 750Lumen 2700K~6500K RGB + CCT Downlight - Part I003247,
    comes dual box packaging - https://www.mirabellagenio.com.au/product-ran...lla-genio-wi-fi-dimmable-9w-downlight-2-pack/

    Also flashed with tuya-cloudcutter and then OTA OpenBK firmware UG_1.15.346 - Chip: BK7231N - CB2L;
    https://templates.blakadder.com/mirabella_genio_I002741.html

    Thanks


    Hi @p.kaczmarek2 - finally determined pin configuration on:
    Mirabella Genio 9W 700Lumen RGB + CCT Downlight - Part I003247

    P7 - BP5758D_DAT
    P8 - BP5758D_CLK

    Brightness/Dimming, RBG Colors and Cool/Warm/White all work as expected - no extra OpenBK flags required.


    Also confirmed the same settings work for the following:
    Mirabella Genio 9W 750Lumen, 2700K~6500K RGB + CCT Downlight - Part I004544,
    Comes as quad bundle, box packaging - https://www.bunnings.com.au/mirabella-9w-750l...mart-wi-fi-dimmable-downlight-4-pack_p0361945

    Flashed with tuya-cloudcutter and then OTA OpenBK firmware UG_1.15.346 - Chip: BK7231N,
    P7 - BP5758D_DAT
    P8 - BP5758D_CLK

    Thanks
  • #11
    p.kaczmarek2
    Moderator Smart Home
    Thanks! I will add following entries to the list. Just let me add images to your notes.

    jeffjantz wrote:

    https://www.mirabellagenio.com.au/product-ran...lla-genio-wi-fi-dimmable-9w-downlight-2-pack/
    Mirabella Genio 9W 700Lumen RGB + CCT Downlight - Part I003247
    [WB2L/BK7231T] Arlec GLD130P3HA/GLD130HA from Bunnings Australia
    P7 - BP5758D_DAT
    P8 - BP5758D_CLK




    jeffjantz wrote:

    Also confirmed the same settings work for the following:
    Mirabella Genio 9W 750Lumen, 2700K~6500K RGB + CCT Downlight - Part I004544,
    Comes as quad bundle, box packaging - https://www.bunnings.com.au/mirabella-9w-750l...mart-wi-fi-dimmable-downlight-4-pack_p0361945
    [WB2L/BK7231T] Arlec GLD130P3HA/GLD130HA from Bunnings Australia
    [WB2L/BK7231T] Arlec GLD130P3HA/GLD130HA from Bunnings Australia
    Flashed with tuya-cloudcutter and then OTA OpenBK firmware UG_1.15.346 - Chip: BK7231N,
    P7 - BP5758D_DAT
    P8 - BP5758D_CLK
  • #12
    sillyfrog
    Level 5  
    >>20414347

    To flash the Mirabella Genio 9W 750Lumen, 2700K~6500K RGB + CCT Downlight (I004544) with tuya-cloudcutter, I used the I003332 Fancy Round 5W RGBCT Bulb profile (Device Slug: mirabella-genio-i003332-fancy-round-5w-rgbct-bulb). The I002741 Downlight profile does not work.
  • #13
    hacker1024_
    Level 1  
    I've been trying to get the GLD130HA working with esphome, but I'm having issues with the white channels. RGB works fine, but if I try to switch to white mode, nothing happens - it keeps showing the last color. The brightness slider then stops working. Does anyone know what could be going on here? I tried controlling just one white output directly to no success.

    Code: yaml
    Log in, to see the code
  • #14
    jeffjantz
    Level 5  
    sillyfrog wrote:
    >>20414347

    To flash the Mirabella Genio 9W 750Lumen, 2700K~6500K RGB + CCT Downlight (I004544) with tuya-cloudcutter, I used the I003332 Fancy Round 5W RGBCT Bulb profile (Device Slug: mirabella-genio-i003332-fancy-round-5w-rgbct-bulb). The I002741 Downlight profile does not work.


    Hi @sillyfrog
    I've just flashed another 4x I004544 downlights, all with the 'mirabella-genio-i003332-fancy-round-5w-rgbct-bulb' template.
    These were on firmware v1.2.16 - CB2L chips - BK7231N modules.

    As long as the firmware and BK module matches, it seems the flash works regardless of the template - if the pins were incorrect in the respective template, they can be reassigned from "Configure Module" once the OpenBeken firmware is flashed.

    I did get caught out by the 'OpenBeken' Access Point that the firmware loads once it has finished flashing though, it drops the existing Wifi connection (if previously flashed with tuya-cloudcutter) and starts up its own Access Point you need to connect to after the OpenBK flash.


    Hi @p.kaczmarek2
    FYI - Confirming the following is also compatible with OpenBK;

    Mirabella Genio WiFi LED 3 meter strip lighting - Part I002579,
    comes in single plastic packaging - https://www.mirabellagenio.com.au/product-ran...irabella-genio-wi-fi-led-3-metre-strip-light/

    Firmware v1.1.16, contains a W3BS BK7231T chip, flashed with tuya-cloudcutter and CCtr OpenBK firmware UG_1.17.114.

    Still yet to work out all the pins - only determined PWM white with brightness control so far:
    P6 - PWM 2
  • #15
    p.kaczmarek2
    Moderator Smart Home
    @jeffjantz but we can automatically extract GPIO.

    Go to Web App, open Flash tab, press "Download Tuya Config", and then drag and drop it over config tab on this tool:
    https://github.com/openshwprojects/BK7231GUIFlashTool

    Added after 38 [seconds]:

    or just post the downloaded file here, It should have 72KB size or so. I can decode it for you.

    This method was introduced few days ago and works for most of the devices.
  • #16
    jeffjantz
    Level 5  
    Oh yeah, ok cool

    Extracted config from binary says:
    LED Cool (Channel 4) on P6
    LED Blue (Channel 3) on P26
    LED Red (Channel 1) on P9
    LED Green (Channel 2) on P24

    I've set these but RGB colours look at bit off still,
    is it likely there are some flags required?
  • #18
    jeffjantz
    Level 5  
    Sorry - correction, the primary RGB LED's are ok - blue, green, red
    The secondary white LED's work also,
    as does brightness control on both RGB and white;

    However the Cool/Warm channel doesn't work - sliding back toward Warm just reduces the brightness of the white channel..
  • #19
    p.kaczmarek2
    Moderator Smart Home
    Wait, so it's a RGBW device, not RGBCW? So you want... white temperature emulation? I haven't noticed that in your previous post you have listed 4 channels, not 5.

    Well, we have indeed a flag for that, it's called white emulation or something like that. Try it.
  • #20
    jeffjantz
    Level 5  
    p.kaczmarek2 wrote:
    Hey, how it's the pins configuration going, I would like to complete the Mirabella entry for our templates list.
    [WB2L/BK7231T] Arlec GLD130P3HA/GLD130HA from Bunnings Australia
    [WB2L/BK7231T] Arlec GLD130P3HA/GLD130HA from Bunnings Australia


    Hey @p.kaczmarek2 ,
    RE: Pin assignments for Mirabella Genio 9W E27 800Lumen RGB + CCT Bulb - Part I002944 from January;

    As per tuya dump, pins are:
    P6 - PWM5 - LED Warm
    P7 - PWM4 - LED Cool
    P8 - PWM1 - LED Red
    P24 - PWM2 - LED Green
    P26 - PWM3 - LED Blue

    RGB brightness levels are definitely lower than the SM2135 controlled I003247 bulb - but maybe that's just the controller in the I002944.