How many hardware revisions of the Anko Sunset Lamp exist?
Two confirmed. The newer board hosts a bare BK7231N SoC, while an earlier revision integrates a WB3S (BK7231T) module [Elektroda, sillychip, post #21162167]
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tam
binary_sensor:
- platform: gpio
name: Button
pin:
number: P20
mode:
input: true
pullup: true
inverted: true
output:
- platform: ledc
id: output_red
pin: P6
- platform: ledc
id: output_green
pin: P7
- platform: ledc
id: output_blue
pin: P8
light:
- platform: rgb
id: light_rgb
name: Light
red: output_red
green: output_green
blue: output_blue
TL;DR: The 5 V Anko Sunset Lamp exposes 3 PWM colour channels plus 1 button pin, and "flashing was hit and miss" during initial attempts [Elektroda, lyonzy, post #20711166] LTChipTool + CEN-to-GND delivers a working OpenBK/ESPHome build for BK7231N or WB3S variants.
Why it matters: Quick pin maps and flashing tips save time and prevent board damage.
Comments
Thanks for posting this! I've got two separate Anko sunset lights flashed now and they're working perfectly! Out of the two I flashed, one was an older revision with a WB3S inside (BK7231T) instead... [Read more]
Hi, could you post the firmware dump here or by creating an issue on tuyacloudcutter repo - then it may be possible to flash this lamp via OTA in the future. [Read more]
Sure thing, is it fine if I hex edit out my WiFi credentials from the dump before uploading? I opened it up in HxD and confirmed I could see my credentials in there. [Read more]
Not sure about this, as it might change the checksums and then the tools for creating cloudcutter profile might fail. But that's only my guess, go ahead and post it without the credentials and we'll see... [Read more]
Here's the file, hoping just replacing the SSID and password chars with bogus data should be fine. If it doesn't work let me know and I'll try get a fresh copy by flashing the original firmware back to... [Read more]
flashed fine for me to a WB3S. V:BK7231S_1.0.5 CPSR:000000D3 R0:1F6FFE41 R1:2223F356 R2:F9ABF3BE R3:7B3DEA2C R4:7F5E3AB8 R13:EFAE59FF R14(LR):07E73BEF ST:14968466 J 0x10000 prvHeapInit-start... [Read more]
Nice, thanks for checking that out! Although I just realised something: that light was behaving very oddly last night after I uploaded the dump, doing stuff like flickering and turning off. Could that... [Read more]
negative, this would not be possible. A coincidence. [Read more]
Thanks for confirming, I thought as much, but I just wanted to make sure. Edit: found the reason it was misbehaving, it was only because the USB extension cable it was plugged into wasn't making the... [Read more]
Mine worked via OTA with cloudcutter: Selected Device Slug: tuya-generic-ih001-led-controller-single-color Selected Profile: oem-bk7231n-strip-ty-2.0.0-sdk-2.3.1-40.00 Selected Firmware: OpenBeken-v1.17.262_bk7231n.ug.bin I... [Read more]