logo elektroda
logo elektroda
X
logo elektroda

B05-BL-A60 Sonoff Teardown

Thom4Fun 
Because of the, from Sonoff advertised, API, I ordered from Appla.cy the B05-BL-A60 bulbs.


Each one has a price of around 11€. Take care, I am talking here about the B05-BL-A60 NOT the B05-B-A60 which has a different chip, different led driver and no API!

Surprised of the energy class F, I tested the API which is more or less useless if you have a need of some more devices and if you don’t want to struggle with different ID's for each single device.

After opening the bulb, you will find the LED plate with an BP5758 LED Driver. THE BP5758 seams to be an I2C Tuya Driver. Removing the LED Plate, you will find the power supply and the WIFI components:



After disassembling, all the necessary pins are easily accessible.

3.3V
Ground
TX
RX
Boot.

There is an easy description on how to flash it, on:
https://www.elektroda.com/rtvforum/topic3889041.html
More difficulty’s I had to find the proper software to flash the chip. Finally found the tools inside the SDK.
https://github.com/openshwprojects/OpenBK7231T_App
Find the SDK folder for BL602 and have a look into tools...

The firmware do not support the BP5758 yet, but the work is in progress. When I flash the next chip, I will be prepared and will enrich this teardown with more links, better pictures and a step by step description.

About Author
Thom4Fun wrote 4 posts with rating 7 . Been with us since 2022 year.

Comments

p.kaczmarek2 02 Nov 2022 19:26

Thank you for teardown. The BP5758D driver is supported, but was not enabled for BL602. I have enabled it so you can test now again. I have also improved some things and did several bugfixes for that... [Read more]

ACCel 03 Nov 2022 08:26

And what is this API for? Is it local or normally via cloud? [Read more]

protectivedad 08 Nov 2022 01:24

The documentation at: https://sonoff.tech/sonoff-diy-developer-documentation-b02-bl-b05-bl-http-api/ Tells me there is an ota_flash command but it says the largest bin is only 508KB. I'm not familiar... [Read more]

Thom4Fun 08 Nov 2022 11:44

Hi. The API can be used only local. First, you have to bring the device into the DIY mode. Then, you can use a RESTfull API. But the API is not very useful. You have to know the ID of the device, which... [Read more]

Thom4Fun 09 Nov 2022 16:45

Hello. Sorry for the delay, I have some healty problems and have to be back to the hospital on Friday. But I give the new version a try on a brand new device, and with luck. The gui shows the LED... [Read more]

protectivedad 09 Nov 2022 22:49

Actually the deviceid is not required. Use curl and point to the url away you go. I'm using openhab with http and exec binding. Works well for turn on, off and setting any of the preprogrammed modes. When... [Read more]

Thom4Fun 10 Nov 2022 08:06

Thank you for the code. But in any way you use a Chinese firmware where you never know what’s happen without sniffing the network traffic at any time, you have to register to the cloud to get the... [Read more]

Zain00 09 Jan 2023 19:37

My bulb won't light up. I put BP5758D_CLK on Pin 2 and channel to 1 And BP5758D_DTA on Pin 21 and channel to 2 I need help please . [Read more]

p.kaczmarek2 09 Jan 2023 20:33

@Zain00 , to make sure, is your bulb using BL602? [Read more]

Zain00 09 Jan 2023 20:45

This is my bulb https://obrazki.elektroda.pl/9749965600_1673293428_thumb.jpg https://obrazki.elektroda.pl/7788231200_1673293430_thumb.jpg https://obrazki.elektroda.pl/6066274800_1673293428_thumb.jpg... [Read more]

Zain00 10 Jan 2023 17:56

New Update: I reflashed the chip and somehow it works now. But I noticed that the brightness has decreased, also the I can dim it further down now with openbeken than what I could with the original f... [Read more]

p.kaczmarek2 10 Jan 2023 18:13

@Zain00 can you show a screenshot from main HTTP page showing version and build date? Our contributor @rogere66 recently submitted a patch that greatly increased lighting quality and introduced gamma... [Read more]

Zain00 10 Jan 2023 18:16

@p.kaczmarek2 https://obrazki.elektroda.pl/9500877000_1673370992_thumb.jpg [Read more]

p.kaczmarek2 10 Jan 2023 18:49

Can you try doing this process? https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/led_gamma_control.md Or does it yields "unknown command"? You have yesterdays build, but at the moment... [Read more]

Zain00 10 Jan 2023 20:18

It does give me "NOT found", and I used OpenBL602_1.15.301.bin. I did try "BP5758D_Current 0001111" command and I think it's working now. Also, as @thom4Fun said the RGP colors are not accurate [Read more]

p.kaczmarek2 10 Jan 2023 22:13

It seems your build didn't include that, but don't worry, it's not necessary: https://github.com/openshwprojects/OpenBK7231T_App/issues/599 I think it doesn't support binary notation, only hexadecimal... [Read more]

Zain00 11 Jan 2023 08:21

Thank you, yes I mean RGB. Can I update over the air with BL602 chips ? I read before that it's not available One other issue I'm facing, I enabled Flag 12 so the state of the bulb is saved when powred... [Read more]

p.kaczmarek2 12 Jan 2023 17:44

Fully working OTA was not present in BL602 SDK we used so it's not yet done. It's on TODO list but BL602 is not as frequent as other platforms. Regarding blue bug - it's not expected, I will try to... [Read more]

Zain00 12 Jan 2023 17:48

That what I did for now using the command "backlog led_dimmer 100; led_temperature 500; led_enableAll 1" and disabling Flag 12 [Read more]

%}