I have similar product, but I have an issue with deepsleep, device not waking up from timer. What is the solution to make it working propperly?
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tambbv18121970 wrote:
TL;DR: 15 Q&A, “PowerSave 1” and serial flashing solve the main UNSH SS8839-16A-W BK7231N problems for OpenBeken users: OTA works on Tuya 1.2.1, but firmware 1.3.10 usually needs UART pads, and pinouts vary between P8, P7, P15, and T34 boards. [#20797138]
Why it matters: The same AliExpress 16A Mini Smart Switch listing can ship different PCBs, so copying one template without checking the board can break relay, LED, button, or metering behavior.
| Alternative | Works when | Typical pins or tool | Thread result |
|---|---|---|---|
| tuya-cloudcutter OTA | Tuya 1.2.1, BK7231N, oem_bk7231n_control_switch | Mini Smart Switch profile | OpenBeken 1.15.648 or 1.15.673 flashed without soldering |
| Serial UART flashing | Tuya 1.3.10 or OTA failure | RX, TX, GND, 3.3V; CEN usually optional | Worked after cloudcutter failed |
| ESPHome custom firmware | BK7231N target build | generic-bk7231n-qfn32-tuya |
Uploaded without CEN |
Key insight: Identify the exact PCB before configuring OpenBeken. Devices sold as the same 16A Mini Smart Switch used at least relay pins P8, P7, and P15, plus BL0942 power-monitor variants.
startDriver BL0942. [#20992948]1.2.1 - BK7231N / oem_bk7231n_control_switch and flash OpenBK7231N_UG_1.15.648.bin or later.cloudcutterflash, create a second AP with internet, enter Wi-Fi credentials, then resume cloudcutter.TglChanOnTgl, P8 Rel, P23 Btn, P26 LED, all on channel 0. P7 variant: P6 TglChanOnTgl, P7 Rel, P23 Btn, P26 LED, all on channel 0. The thread confirms both came from the same seller, order, and package. [#20537640]oem_bk7231n_control_switch profile and Mini Smart Switch selection. [#20524167]TglChanOnTgl, P7 Rel, P23 Btn, and P26 LED. After entering startDriver BL0942, measurements appeared on the OpenBeken main page. Add the command in startup if you want it after each reboot. [#20992948]startDriver BL0942. [#20992948]PowerSave 1 because BK7231N switches can otherwise overheat or need repair later.
The recommended startup command is PowerSave 1; use backlog when combining it with other commands. One working T34/BK7231N-style config used backlog PowerSave 1. Another user reported warmth with no load attached and had already placed PowerSave 1 in startup. [#20525130]generic-bk7231n-qfn32-tuya and upload it over UART.
A user first confirmed OpenBK worked, then created an ESPHome project using:
bk72xx:
board: generic-bk7231n-qfn32-tuya
They uploaded successfully without touching CEN. This was on a BK7231N Mini Smart Switch after serial flashing experiments. [#21126030]