In the city where I live we have "Re-Use" shops alongside standard recycling centres (aka tips, dumps, household waste disposal facilities). These re-use centres are packed with donations and finds that would otherwise have gone into the general waste or recycled. Of course there's some stuff for sale that should probably have been binned, but a lot is fairly decent.
This Re-Use centre in particular has 6 drawers of light bulbs.
and at £1 for 4 bulbs, £0.25p each, there's potential to find some interesting smart bulbs in amongst the boring fluorescent or incandescent mix for a bargain price
I found my 4. There didn't appear to be any more worth having.
1 Ikea Tradfri E27 LED2003G1
1 Ener-J Smart WiFi A60 SHA5262 9w
1 unmarked E27/A60 with PIR dome
1 unbranded 10w RGBWW BLE+2.4G




I started with the generic RGBWW BLE+2.4G













This is Zengge device with YiChip YC1166 MCU at its heart on a module marked
BY4-M5 V1.1
.
YC1166 Yichip Microelectronics (Hangzhou) Co., Ltd.
Radio:
Bluetooth 5.0 BR/EDR/BLE
Also described as supporting proprietary 2.4 GHz operation
2.4 GHz ISM band, single-ended RFIO
Advertised data rates: 250 kbps, 1 Mbps, 2 Mbps, 3 Mbps
BLE sensitivity quoted around -95 dBm
TX power quoted up to +9 dBm
CPU / architecture:
Dual-core digital architecture
Application core: ARM Cortex-M0, up to 48 MHz
Link-management core: 32-bit custom/RISC core
M0 memory listed as 16 KB Data RAM + 16 KB cache / code RAM
Link core memory listed as 80 KB ROM, 64 Kbit OTP, 8 KB patch RAM and 8 KB data RAM
Flash / storage:
Internal QSPI-connected 4 Mbit/512 KB internal flash
On the LED disc we have an SM2135EH - a 5-channel intelligent dimming LED constant current driver for low power LEDs. The DAT/CLK pads on the rear of the bulb's main PCB unfortunately go to the SM2135H and don't appear to be for use in programming the YC1166, which seems to use some proprietry single-wire protocol. Yichip bluetooth MCUs are programmed through the dedicated ICE/IO31 pin.
I've not found much about this ICE pin apart from that a Yichip programmer has appeared on Ali Express before
https://www.digitalworldz.co.uk/threads/yichip-programming.477322/post-2786057
To my surprise IO31 had a debug log out at 921600 baud:
interesting, "PPlus_SUCCESS" is seen in PHY
code.
For the bulb's operation, pairing mode seem to be achievable with rapid on-off-on-off-on-off action, but even then it was pretty hit-and-miss.
Only the "Zengge" named app of all the Zengge-made apps seemed to pick it up. It would stop responding after a couple of on/offs.

nRF Connect
other markings:
ZJ-PWH-RGBWW-L2 V1.1
CH-323L-009A
ZJ-LB-BWPWH-RGBWW-L1
I'll work through the others next and post further updates as and when I can
Comments
second bulb. let's get this potentially non-smart one out of the way. and .. it's a basic PIR LED bulb :( https://obrazki.elektroda.pl/6867927100_1778006288_thumb.jpg https://obrazki.elektroda.pl/4925990200_1778006289_thumb.jpg... [Read more]
Very interesting, we don't have such place in my city. So, since YC1166 is Bluetooth chip, can our OBK BT ESP gateway see it? Was WB3L bulb already paired before? [Read more]
good question. I didn't check. I should play with btproxy release because I'm a little unclear of its setup/use, what its limitations are etc. yes the previous owner's AP SSID and password are... [Read more]
I'm curious to see what you''find there! For those prices, it seems like a great deal. Do they have other smart devices, too? [Read more]
yes. bulbs seemed particularly cheap at that centre. Probably they needed to make them an attractive price so they aren't kept around for long, and the smart ones were just thrown in with the less interesting... [Read more]
This way you can get WiFi modules cheaper with whole bulb than buying a WiFi module separately. Cool, did you find anything more interesting? [Read more]
Negative. One sad tray of standard bulbs today. Hardly any electronics. Disappointing. [Read more]
The TRÅDFRI LED2003G10 (Zigbee, E27 globe, 1055lm, 9.5W, white spectrum) was a pain to get into. I had to get brutal and the externals of the device suffered for it. https://obrazki.elektroda.pl/4331128500_1778255391_thumb.jpg... [Read more]
1 find today in amongst all these bulbs https://obrazki.elektroda.pl/3809610700_1778344540_bigthumb.jpg A Teckin SB50 - ESP8266EX 1mb RGBW E27 bulb https://obrazki.elektroda.pl/1868892700_1778344583_thumb.jpg... [Read more]
I didn't know there are EFR32MG21-based Zigbee chips! That's a very interesting read. I did some EFR32 experiments in the past, or... I think it was EFM32ZG222F32 . -> https://www.elektroda.pl/rtvforum/topic3861433.html Regarding... [Read more]
I think it's because they're initialised one by one and not in a group at once testing https://github.com/openshwprojects/OpenBK7231T_App/compare/main...divadiow:OpenBK7231T_App:8266_pwm#diff-8d6dbc8137c71c27180a169e3af3756ac03e60a57480fd07d81efeab410c3d2eR453 ... [Read more]
To be sure, I can still change PWM roles at runtime? Is there live-rebuild? [Read more]
yes and yes. let me prove/demonstrate in a couple of hours Added after 5 [hours] 34 [minutes]: hmm not quite. changing PWM assignments will flash LEDs on save. Changes are effective but the flashing... [Read more]
If it's just single LED flash on config save, then there is no issue, I guess? No one changes the device config during normal runtime/usage [Read more]
depends how many PWM changes are being saved at once. it's also different for template import, which sets each individually. I think it's fine, and to be honest, maybe not many people will be looking to... [Read more]
yeh, not going to pursue that further. it's already better now. It'll just have flashing LEDs on initial config if there are multiple PWMs being set. new branch, back to main fixes so multi-PWM works.... [Read more]
Can we merge ESP8266 PWM fix? EFR, with R, probably stands for Radio? [Read more]
I'm petty happy with it. It's probably not perfect but it's functonal. Are you happy with the code? https://github.com/openshwprojects/OpenBK7231T_App/pull/2107 [Read more]
no break-throughs with the ICE protocol, but pulling apart the Zengge app XAPK reveals 4 OTA firmware blobs for Yichip bluetooth devices assets/5A_0052_2A_00.hex assets/ota/53_0033_20_00.hex assets/ota/53_0035_08_01.hex assets/ota/56_00AD_41_00.hex... [Read more]