logo elektroda
logo elektroda
X
logo elektroda

[BK7231T] Globe Electric (GB34869) PAR20 WiFi Smart bulb - Discussion Topic

baudneo 
Hi, I am researching before I go cracking open 1 of my 6 bulbs.

I had originally tried controlling these through HASS using Tuya Local library. The problem with these bulbs is that after a short duration of time, the bulbs go unresponsive and require using the mobile app and Bluetooth to 'wake' the bulbs up before they start accepting commands again. I can't implement a way to wake the bulbs using BLE and HASS while they are running their original firmware, so here I am.

I've read up and watched several videos but, from the FCC internal photos, the daughter board is quite different than all the examples I have seen. I am just wondering if this type of board has already been flashed by any users here or if anyone can help me ascertain how to flash the chip.

Here is a photo of the board:
Close-up of a circuit board with BK7231TQN32 chip.

and here is the FCC URL for the bulb.

TIA!


Added after 2 [hours] 2 [minutes]:

Here are some more pics, this is apparently a newer revision as it uses the 7231N chip. I first tried tuya-cloudcutter but they don't have make/model or firmware version that this bulb has, the bulb has 1.5.21 firmware (tuya protocol 3.5). So, I am left with flashing via serial. The last picture is of the led board and has pinouts for the header on the PSU board.

- Gnd
- 20v
- V+
- 3.3V
- CLK
- SDA

The 2nd last pic is the PSU PCB (to help ascertain what's what). I am wondering how I would connect this to my usb serial adapter?

Thanks!

Circuit board of a light bulb with visible electronic components.
Close-up of a small electronic circuit board with visible traces and markings.
Electronic board with a chip and quartz oscillator on a wooden background.


Close-up of a circuit board with a chip and capacitor in a light bulb.


Close-up of an LED bulb circuit board showing tracks and components.
LED lighting module on a PCB with labeled connectors and electronic components.

The board has it as an rgw+tw (sm2135e) and it has a 26000 crystal oscillator on the daughter board that is not present in the FCC internal pics.

If there is anymore information I can give, plz let me know!

Thanks!

Added after 5 [hours] 5 [minutes]:

So, I managed to get it flashed but now am tryign to figure out how to configure it properly. I did not need to desolder the daughter board but, it was good practice.

I imported the JSON that the GPIO detector supplied adn I can toggle the light and change its RGB color. Its brightness is very low, the RGB colors need tuning and the white temperture slider turns the bulb off. I will comb through the docs to see if I can figure out how to get it working better.

Happy that this project exists!

About Author
baudneo
baudneo wrote 17 posts with rating 5 , helped 1 times. Been with us since 2023 year.

Comments

p.kaczmarek2 03 Sep 2023 13:49

Thank you for the presentation, can you attach 2MB firmware dump or at least Tuya config partition? It looks like you need to adjust the RGB/CW current, maybe also enable SM2135 alternate mode flag.... [Read more]

baudneo 03 Sep 2023 19:26

I backedup the fw before i wrote to it but, the tuya-cloudcutter profile_builder.py script errors out when building a profile. I also have the .bin file from reading tuya config @ 0x1EE000. Tuya Cloudcutter... [Read more]

baudneo 03 Sep 2023 22:59

Well, this really really sucks. I flashed my 2nd/6 bulb and it all went well. Upon reassembly, it does not work. I used the "change OBK settings for flash write" and added my SSID/PW, MQTT broker info... [Read more]

p.kaczmarek2 03 Sep 2023 23:08

If you have made adjustments to the config, please also post the final template from the Web App, or at least make sure to include it in the final teardown. That's where all the settings and flags are. If... [Read more]

baudneo 04 Sep 2023 16:51

The 5 power off/on trick did it! I had a typo in SSID. I will create a new post with the teardown and pertinent settings. Thank you! I will be sending some support your way! [Read more]

p.kaczmarek2 04 Sep 2023 17:23

Thank you, all support funds go towards the development of new features, tutorials and devices. Just look at our list, we're heading towards 400 entries soon: https://openbekeniot.github.io/webapp/devicesList.html Many... [Read more]

baudneo 04 Sep 2023 18:26

I added a teardown, not sure how to get the device added to the device list. There are 3 versions of this bulb, so v1/v2 may be different for the flashing part. https://www.elektroda.com/rtvforum/vie... [Read more]

p.kaczmarek2 04 Sep 2023 19:01

I am usually adding device to teardowns list myself, but first I need JSON. The devices list database is here: https://github.com/OpenBekenIOT/webapp/blob/gh-pages/devices.json If you want to do the... [Read more]

baudneo 04 Sep 2023 20:48

I have one last question, I think it is specific to MQTT light entity possibly or maybe I need to add an MQTT flag. In HASS, I have a helper group that contains 3 OBK lights. If I change the group to... [Read more]

p.kaczmarek2 05 Sep 2023 17:45

What do you mean exactly by "turn off", do you mean disconnect power from the bulbs, so WiFi is also down, or do you mean just disable LEDs via OBK? I don't remember this issue. It should keep the color.... [Read more]

baudneo 06 Sep 2023 17:36

Hi, by turn off I ment I toggled the bulb off using home assistant entity switch. I did set the power off remember state flag. [Read more]

p.kaczmarek2 06 Sep 2023 17:42

That's strange. Does manually sending just a simple led_enableAll 1 (or with 0) via MQTT also changes the colors? I am asking because HA might be sending some more data along with that. [Read more]