LSC Smart Ceiling Light RGBCW - CB2S (BK7231N)
TL;DR
- LSC Smart Ceiling Light RGBCW uses a Tuya CB2S with BK7231N, making it a candidate for local firmware flashing.
- Opening the dome is easy: twist off the cap, remove three screws, and access the programming pins at the bottom without desoldering.
- Flashing with a CP2102 and OpenBK7231T_app worked easily, and afterward only PWM pin mapping plus a Tasmota MQTT setup were needed.
- The lamp cost around 15 euro at Action, article number 3007213, but macOS flashing failed with the hid_download_py script for BK7231N.
A Tuya CB2S is used which is supported for a long time already by the OpenBK7231T_app firmware. So flashing the device with my trustworthy CP2102 was a breeze.
Note: I usually use macOS to flash my devices but for some reason I can't get de hid_download_py Python script to work on my MacBook when flashing BK7231N.
Opening it up is easy, as many similar 'dome' lights, just twist the cap. Inside you'll find 3 screws:
After you unbolt the screws the white cap will come loose easily. No glue or some other adhesives are used.
The pins we use to flash the device are located at the bottom. No need to desolder anything to reach them or to flash it successfully.
After you flashed the BK7231N as any other. No additional configuration is needed. You only have to set the PWM pins like this:
For Tasmota I use this configuration (maybe needs a little tweaking, but seems to work just fine):
- platform: mqtt
name: "Plafond"
rgb_command_template: "{{ '%02x%02x%02x' | format(red, green, blue)}}"
rgb_state_topic: "lsc-clg-rgbcw/led_basecolor_rgb/get"
rgb_command_topic: "cmnd/lsc-clg-rgbcw/led_basecolor_rgb"
rgb_value_template: "{{ value[0:2]|int(base=16) }},{{ value[2:4]|int(base=16) }},{{ value[4:6]|int(base=16) }}"
command_topic: "cmnd/lsc-clg-rgbcw/led_enableAll"
state_topic: "lsc-clg-rgbcw/led_enableAll/get"
availability_topic: "lsc-clg-rgbcw/connected"
payload_on: 1
payload_off: 0
brightness_command_topic: "cmnd/lsc-clg-rgbcw/led_dimmer"
brightness_scale: 100
brightness_state_topic: "lsc-clg-rgbcw/led_dimmer/get"
brightness_value_template: "{{value}}"
color_temp_command_topic: "cmnd/lsc-clg-rgbcw/led_temperature"
color_temp_state_topic: "lsc-clg-rgbcw/led_temperature/get"
retain: trueAnd another Tuya device is cut form their cloud and under our command
Happy flashing!!
Comments
Good job, it seems like a very nice lamp, I wonder how bright it is. We also have an Action store at Poland, I bought some WiFi LED bulbs there very cheaply (even for 20 zł, about 5$, each), but I haven't... [Read more]
RGB colours are not very bright, in other words... disappointing. But CW colours are very bright. Good value for money overall. [Read more]
Nice, I picked up one today. Can you explain how to flash the firmware? I'm having a hard time getting the firmware on it (using Beken Writer) [Read more]
Use hid_dowload tool https://github.com/OpenBekenIOT/hid_download_py Also, try the cloudcutter with generic firmware profile, it might work for this T device [Read more]
Some extra information for future reference or use... European Product Registry for Energy Labelling COMMISSION DELEGATED REGULATION (EU) 2019/2015 with regard to energy labelling of light sources ... [Read more]
Just in case it helps someone else: The GUI Flash tool consistently failed for me with a read error after successfully "getting the bus" and identifying the flash chip. It fails even if I skip the read... [Read more]