@Spag cloudcutter is not a reliable solution due to many devices patched, we suggest using the UART flashing method, see tutorials playlist here:
https://www.youtube.com/playlist?list=PLzbXEc2ebpH0CZDbczAXT94BuSGrd_GoM
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tam
Home Assistant discovery - add energy counters today/yesterday, add clear date, add friendly names (#1092) (8eaf72e), closes #1092
"pins": {
"9": "LED_n;1",
"15": "WifiLED_n;0",
"17": "Btn;1",
"24": "BridgeFWD;1",
"26": "BridgeREV;1"
},
"command": "backlog startDriver BL0942; startDriver NTP"
Backup name is set to din2.
Starting read backup and flash new!
Now is: Wednesday, June 12, 2024 6:03:47 PM.
Flasher mode: BK7231N
Going to open port: COM10.
Serial port open!
Getting bus... (now, please do reboot by CEN or by power off/on)
Getting bus success!
Going to set baud rate setting (921600)!
Will try to read device flash MID (for unprotect N):
Flash MID loaded: 1560EB
Will now search for Flash def in out database...
Flash def found! For: 1560EB
Flash information: mid: 1560EB, icName: TH25Q_16HB, manufacturer: TH, szMem: 1000000, szSR: 2, cwUnp: 0, cwEnp: 7, cwMsk: 407C, sb: 2, lb: 5, cwdRd: 05-35-FF-FF, cwdWr: 01-FF-FF-FF
Entering SetProtectState(True)...
sr: 34
sr: 34
final sr: 34
msk: 407c
cw: 0, sb: 2, lb: 5
bfd: 0
sr: 0
sr: 0
final sr: 0
msk: 407c
cw: 0, sb: 2, lb: 5
bfd: 0
SetProtectState(True) success!
Going to start reading at offset 0x00...
Reading 0x00... Ok!
......
divadiow wrote:Does this mean something in OpenBeken regarding BL0942 can/should be adjusted?
Quote:can you please explain how I would be able to tell the difference?
TL;DR: “99 % of BK7231N DIN-rail switches flash in <3 min over UART” [Elektroda, silvestro_gatto, post #21173683] “Flashing was quite straightforward” [Elektroda, silvestro_gatto, post #21173683] Use 3.3 V, short CEN to GND, 921 600 baud. Why it matters: fast local firmware = full Home-Assistant control and no Tuya cloud.
• Chipset: BK7231N Wi-Fi MCU + BL0942 power-meter IC [Elektroda, p.kaczmarek2, post #20663290] • Recommended UART flashing speed: 921 600 baud [Elektroda, silvestro_gatto, post #21173683] • Supply for flashing: stable 3.3 V / ≥300 mA (USB-UART alone may reset) [Elektroda, p.kaczmarek2, post #21402384] • Typical retail cost: US $16-20 on AliExpress [AliExpress listing] • Relay type: bi-stable 1-pole, driven by pins P24 (FWD) & P26 (REV) [Elektroda, Thread Template, post #20663290]