[BK7231N] Cree 5-Button Scene Controller
Hey all -
Submitting a teardown of the "Cree Connected Max Smart In-Wall Scene Controller".
Amazon link: https://www.amazon.com/dp/B09JFTR3XF?psc=1&ref=ppx_yo2ov_dt_b_product_details
Teardown:
It's a pretty simple device, with a rather frustrating disassembly (no screws, all plastic snap fit - felt tricky to crack it open).
Multiple layers of plastic, one control board (five surface mount buttons, one LED, and Tuya CBU Wifi Module), and one power board.
Having disassembled and reassembled now, this one required a bit of finesse - the plastic pieces are tricky to clip together, while holding all the internal parts in place (they don't really snap in, internally). If you're just flashing this, there is no need to disassemble the back power module - just separate the beige inner piece from the middle white plastic layer. That will make reassembling things much easier.
Tuya CBU Module (BK7231N)
Datasheet: https://developer.tuya.com/en/docs/iot/cbu-module-datasheet?id=Ka07pykl5dk4u
Flashing:
Flashing is pretty straight forward (ignore my hideous soldering - was rushing this one!)
Usual connections, no Tuya MCU to have to interrupt. Simple backup and flash using BKWriter. I found that a quick short to the CEN pin was quite reliable to get it into programming mode.
OpenBeken Config:
Bonus Photos:

Submitting a teardown of the "Cree Connected Max Smart In-Wall Scene Controller".
Amazon link: https://www.amazon.com/dp/B09JFTR3XF?psc=1&ref=ppx_yo2ov_dt_b_product_details


Teardown:
It's a pretty simple device, with a rather frustrating disassembly (no screws, all plastic snap fit - felt tricky to crack it open).
Multiple layers of plastic, one control board (five surface mount buttons, one LED, and Tuya CBU Wifi Module), and one power board.
Having disassembled and reassembled now, this one required a bit of finesse - the plastic pieces are tricky to clip together, while holding all the internal parts in place (they don't really snap in, internally). If you're just flashing this, there is no need to disassemble the back power module - just separate the beige inner piece from the middle white plastic layer. That will make reassembling things much easier.

Tuya CBU Module (BK7231N)
Datasheet: https://developer.tuya.com/en/docs/iot/cbu-module-datasheet?id=Ka07pykl5dk4u






Flashing:
Flashing is pretty straight forward (ignore my hideous soldering - was rushing this one!)
Usual connections, no Tuya MCU to have to interrupt. Simple backup and flash using BKWriter. I found that a quick short to the CEN pin was quite reliable to get it into programming mode.

OpenBeken Config:
{
"vendor": "Cree",
"bDetailed": "0",
"name": "Cree 5-Button Wifi Scene Controller",
"model": "CMACC-CMSC-UNV-WH",
"chip": "BK7231N",
"board": "TODO",
"keywords": [
"TODO",
"TODO",
"TODO"
],
"pins": {
"14": "Btn;4",
"15": "Btn;5",
"20": "Btn;1",
"22": "Btn;2",
"28": "Btn;3"
},
"image": "https://obrazki.elektroda.pl/YOUR_IMAGE.jpg",
"wiki": "https://www.elektroda.com/rtvforum/topic3961578.html"
}
Bonus Photos:






Comments
Hoping for some guidance / help here… So I’ve got the device flashed, pins configured, and wired up. The button changes show up in the logs (in Web App), but since they’re not a usual relay/pwm/light,... [Read more]
Right, i think you still need to create a script that publish the key press to mqtt Example: //publish button actions to mqtt for button 1 (pin 14) addEventHandler OnClick 14 publish button... [Read more]
Thanks @ferbulous Just curious - is there a comprehensive list of event handlers (or commands generally)? I added the following to a new "autoexec.bat". //publish button actions to mqtt for button... [Read more]
It’s listed here https://github.com/openshwprojects/OpenBK7231T_App/commit/b4569d32e1d0c829d076f019cef1e39a11819658 [Read more]
I’ve been away from this little project for a bit. A short update / ask for help… The above configuration is all working, I can see the MQTT messages change when the buttons are pressed. But I cannot... [Read more]
https://github.com/OpenBekenIOT/webapp/pull/91 [Read more]