logo elektroda
logo elektroda
X
logo elektroda

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

p.kaczmarek2 5574 28
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • [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
    Helpful post? Buy me a coffee.
    About Author
    p.kaczmarek2
    Moderator Smart Home
    Offline 
    p.kaczmarek2 wrote 11842 posts with rating 9941, helped 566 times. Been with us since 2014 year.
  • ADVERTISEMENT
  • #2 20377440
    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
  • ADVERTISEMENT
  • #3 20396810
    jeffjantz
    Level 6  
    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 20396882
    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/topic3950763.html#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
    Helpful post? Buy me a coffee.
  • #5 20398487
    jeffjantz
    Level 6  
    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/topic3950763.html#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 20398501
    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
    Helpful post? Buy me a coffee.
  • #7 20398516
    jeffjantz
    Level 6  
    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 20400420
    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
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #9 20404077
    jeffjantz
    Level 6  
    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 20414347
    jeffjantz
    Level 6  
    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 20414372
    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
    Helpful post? Buy me a coffee.
  • #12 20528591
    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 20534618
    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 20582264
    jeffjantz
    Level 6  
    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 20582271
    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.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #16 20582307
    jeffjantz
    Level 6  
    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?
  • #17 20582328
    p.kaczmarek2
    Moderator Smart Home
    There have been some work done on more advanced gamma control but i do not know the theory behind it. It was submited by a contributor.
    https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/led_gamma_control.md
    Let me know if you can make something out of it.
    Helpful post? Buy me a coffee.
  • #18 20582353
    jeffjantz
    Level 6  
    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 20582405
    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.
    Helpful post? Buy me a coffee.
  • #20 20583692
    jeffjantz
    Level 6  
    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.
  • #21 20646270
    robdunn88
    Level 1  
    >>20534618

    I'm having the same issue, did you end up finding how to get cool/warm white working? I have the GLD130HA also on ESPHome and switching to the whites just appears to turn the bulb off.

    I had originally started with the Open Beken firmware where whites were working with the above config, just the blue and green colors were switched. Not sure if that helps

    Added after 33 [minutes]:

    >>20534618

    I figured this one out! For me is was the cw_current value that needed to be passed:

    sm2135:
      clock_pin: P24
      data_pin: P26
      cw_current: 30mA


    I have been playing around with the value, but so far from 15mA and above the whites work. There is a warning on the espHome page stating "Setting to high currents (either RGB, CW or both) could damage your bulb." So I have not wanted to push it too high.

    Thanks for your input as I had nothing working until i found your yaml!
  • #22 20646339
    p.kaczmarek2
    Moderator Smart Home
    You should use OpenBeken automatic online (wireless) config extraction to get that solved more quickly:


    Helpful post? Buy me a coffee.
  • #23 20699221
    lyonzy
    Level 2  
    If it's useful to anyone here I used the pins from the I002944 above as a starting point to work out the ones for the G95 bulb:

    https://www.kmart.com.au/product/mirabella-genio-wi-fi-dimmable-12w-g95-led-bulb-42905806/

    Packaging of Mirabella Genio 12W G95 LED bulb with a phone app.

    
    P7 - LED Warm
    P8 - LED Cool
    P26 - LED Red
    P24 - LED Green
    P6 - LED Blue 
    


    For ESPHome:
    
    light:
      - platform: rgbww
        name: "Light"
        red: output_red
        green: output_green
        blue: output_blue
        cold_white: output_cold_white
        warm_white: output_warm_white
        cold_white_color_temperature: 6536 K # guess
        warm_white_color_temperature: 2000 K # guess
        color_interlock: true
    
    output:
      - platform: ledc
        id: output_red
        pin: GPIO26
        max_power: 80%
      - platform: ledc
        id: output_green
        pin: GPIO24
        max_power: 80%
      - platform: ledc
        id: output_blue
        pin: GPIO6
        max_power: 80%
      - platform: ledc
        id: output_cold_white
        pin: GPIO8
        max_power: 80%
      - platform: ledc
        id: output_warm_white
        pin: GPIO7
        max_power: 80%
    



    (edit: I was able to flash with tuya-cloudcutter without opening them, using this profile: mirabella-genio-i003332-fancy-round-5w-rgbct-bulb)
  • #24 20699265
    p.kaczmarek2
    Moderator Smart Home
    Thanks, here's JSON for that one:
    Code: JSON
    Log in, to see the code

    do you know this device model name?
    Helpful post? Buy me a coffee.
  • #25 20703134
    lyonzy
    Level 2  
    Not sure it really has one. I know it comes in E27 and B22 though so maybe that could suffice? This was the E27 one, I assume B22 would be the same config.
  • #27 20777875
    p.kaczmarek2
    Moderator Smart Home
    Ok, added, thanks:
    https://github.com/OpenBekenIOT/webapp/commit/29832406aca69c3af05577766f9e969150b9427c
    Please submit any other devices you have. We're going to get 500 entries on our list soon!
    Helpful post? Buy me a coffee.
  • #28 20778599
    jeffjantz
    Level 6  
    hey @p.kaczmarek2, I've got a strange problem with RGB color picker control with a few of these Mirabella Genio downlights;
    In the Web App > Tools > LED Control, all the primary channels function as expected, ie: 100% red, 100% green, all work etc

    However when I pick any LED RGB color from the Main Page, the output RGB color is way off - ie: purple goes blue, orange goes white, etc
    Cool and Warm channels work fine, brightness control work fine.

    Light in question has a BK7231N chip,
    - BP5758D_DAT on P7
    - BP5758D_CLK on P8
    - LED remap is 0 1 2 4 3

    Thanks
  • #29 20778700
    p.kaczmarek2
    Moderator Smart Home
    Hello @jeffjantz , does the same problem happen when you control with HA?
    Maybe you need to use that advanced colors calibration feature submitted by our contributor?
    https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/led_gamma_control.md
    Does it happen for all your devices, or only those few?
    Helpful post? Buy me a coffee.

Topic summary

The discussion revolves around the Arlec GLD130P3HA/GLD130HA smart lamps available at Bunnings Australia, which utilize the BK7231T chip and WB2L module. Users share experiences with flashing firmware, specifically OpenBK and tuya-cloudcutter, and configuring pin assignments for RGB and white channels. Issues with color accuracy and brightness control are noted, particularly with the Mirabella Genio series, including models I002944 and I003247. Solutions involve adjusting PWM pin assignments and utilizing advanced gamma control for color calibration. Users also discuss the importance of correct pin configurations for optimal functionality and share links to relevant resources and firmware documentation.
Summary generated by the language model.
ADVERTISEMENT