logo elektroda
logo elektroda
X
logo elektroda

New teardown of Magic home WIFI RGB CTT controller

wouter  5 3918 Cool? (0)
📢 Listen (AI):

TL;DR

  • A teardown of a Magic Home WiFi RGB+CCT LED controller revealed that the expected Tasmota-friendly chip was replaced by a BL602.
  • Tracing and measuring the board produced the correct pinout for all channels, enabling custom configuration of the RGB and white outputs.
  • The PCB identification reads ZJ-BWCG-VC-RGBWW V1.1.
  • The working configuration mapped P3 to green, P4 to red, P17 to cool white, P20 to warm white, and P21 to blue.
Generated by the language model.
Hi,

Like many perhaps I bought a Magic home controller expecting to flash Tasmota onto it and go from there...
Turns out there is a different chip in side, and there you go down the rabbit hole. Thanks to someone with, I guess, a lot of perseverance and this beautiful community I could get this controller Magic home Wifi Led controller rgb + cct:



with what turned out to be a BL602 chip inside to work.
The insides, front and back are show below:



The PCB identification read ZJ-BWCG-VC-RGBWW V1.1

Chip close-up attempt:


It took some tracing and measuring but I found the correct pinout for all channels and though I give something back to the community.
The configuration I entered worked for me:
P3 PWM Channel 2 / Green
P4 PWM Channel 0 / Red
P17 PWM Channel 3 / Cool white
P20 PWM Channel 4 / Warm white
P21 PWM Channel 1 / Blue

Many thanks!

About Author
wouter wrote 2 posts with . Been with us since 2023 year.

Comments

p.kaczmarek2 22 Jan 2023 18:48

Thank you for your presentation. It's good to mention that our OpenBL602 firmware supports now OTA - updating firmware via WiFi . It was not possible in the past but now you can just flash once by wires... [Read more]

wouter 22 Jan 2023 21:41

Thank you! Yes I found the OTA option, and I was banking on it too, as the device is now boarded up and only accessible with a lot of effort. That was why I could not post a picture of the case after... [Read more]

p.kaczmarek2 23 Jan 2023 08:44

Your device is now visible on our list, thanks https://obrazki.elektroda.pl/7389446200_1674459857_thumb.jpg [Read more]

gulson 24 Jan 2023 10:04

Thanks for the presentations. You can easily buy this controller for RGB strips here in Poland https://allegro.pl/oferta/sterownik-led-rgb-wifi-android-ios-magic-home-12401859301 It is one of the cheapest... [Read more]

p.kaczmarek2 26 Jan 2023 10:35

I've also heard that BL602 is used in some of the Sonoff products. It's used in at least one kind of Sonoff bulb (which I will receive soon, thanks to one of our readers) and in one of Sonoff power-metering... [Read more]

FAQ

TL;DR: BL602 packs a 192 MHz RISC-V core [Bouffalo, 2021]; "OTA finally works out-of-the-box" [Elektroda, p.kaczmarek2, post #20399595] This teardown confirms the ZJ-BWCG-VC-RGBWW V1.1 board and a 5-channel PWM pinout [Elektroda, wouter, post #20399553]

Why it matters: You can now flash once by wire, update wirelessly, and run local cloud-free lighting.

Quick Facts

• MCU: Bouffalo BL602, 32-bit RISC-V @ 192 MHz, WiFi b/g/n + BLE 5.0 [Bouffalo, 2021] • Output: 5 × PWM channels (RGB + CW + WW) [Elektroda, wouter, post #20399553] • Supply range: Typical 5–24 V DC, ≤ 12 A load (Magic-Home Datasheet) • OTA: Supported since OpenBL602 v0.6.0 [Elektroda, p.kaczmarek2, post #20399595] • Street price: €5–€8 in Poland [Allegro listing, 2023]

1. Which chipset does the latest Magic Home RGB CCT controller use?

It uses the Bouffalo BL602 WiFi/BLE SoC mounted on PCB ZJ-BWCG-VC-RGBWW V1.1 [Elektroda, wouter, post #20399553]

4. Where can I grab the ready-made template?

The template appears automatically in the OpenBL602 device list after you first flash; it was added by the maintainer on 23 Jan 2023 [Elektroda, p.kaczmarek2, post #20400412]

5. How do I flash OpenBL602 the first time?

  1. Solder temporary 3.3 V, GND, TX, RX, and BOOT0 pads.
  2. Use BLDevCube or open-blflash to flash OpenBL602.bin at 2 Mb/s.
  3. Reboot; connect to the device AP and finish setup. [Bouffalo, 2021]

6. Can I revert to the stock Magic-Home firmware?

Only if you made a full 2 MB SPI-flash backup before flashing; otherwise the original code is lost [Bouffalo Forum Thread].

7. What current can the controller safely switch?

The MOSFET stage is rated for approx. 4 A per channel and 12 A total at 12 V DC (Magic-Home Datasheet).

8. Are there edge-case hardware variants to watch for?

Yes. Some 2021 units still ship with ESP8285 or WB2S modules; the BL602 pinout will brick those boards [Blakadder, 2022].

10. How secure is the new OTA mechanism?

OTA images are SHA256-verified and can be TLS-served; however keys stored in flash are unencrypted, so physical attackers could extract them [Bouffalo, 2021].

11. What happens if an OTA update is interrupted?

The bootloader keeps the last known-good partition; the device rolls back automatically on checksum failure—update simply retries on next power-up [Bouffalo, 2021].

12. How do I integrate the controller with Home Assistant?

Enable MQTT in OpenBL602, point it to your broker, then add an rgbww light entity in configuration.yaml; discovery works with homeassistant:true flag (Home-Assistant Docs).
Generated by the language model.
%}