2. The temperature of the processor stays the same. Hot! /-60°C
2. The temperature of the processor stays the same. Hot! /-60°C
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamfatalbullethit wrote:p.kaczmarek2 wrote:Do Tuya Config extraction, set BL0937 pins and it will work well.
Thanks for the quick reply, unfortunately I get the following error: "Failed to extract keys"![]()
I tried both, the tuya config and a complete dump. Any ideas?
Edit:
I did flash ESPHome to it and reverted to OpenBeken, not sure if this might cause issues.
I'll flash OpenBeken to another one I've laying around and will extract the config again and report back.
kubanekjiri wrote:
divadiow wrote:That sounds like the USB-TTL can't provide enough current. I wasted hours trying to flash in the early days without external 3.3v
donotos wrote:
Hey.
I just finished flashing my own so thanks for the help provided here.
I wasn't able to flash by powering the T34 with the UART. Every time I disconnected 3v3 it disconnected from USB and killed the flasher app so I had to use an external PSU.
BTW: inverting polarity did not kill the T34!
I had some troubles wiring the chip so here is a small schematic:
tun0 wrote:divadiow wrote:That sounds like the USB-TTL can't provide enough current. I wasted hours trying to flash in the early days without external 3.3v
I kinda agree. But when connected, the socket's blue LED does start blinking. And I can also power ESP8266 boards with it for example. But, guess I'll be ordering yet another USB-TTL just to be sure. Now if only they'd provide actual numbers regarding the power capabilities of the LDO dropdown, etc.
kubanekjiri wrote:)
TL;DR: 4-6 mA idle draw after PowerSave 1 [Elektroda, rufus4, post #21033260]; “use an external 3 V3 supply and flash succeeds first time” [Elektroda, kubanekjiri, post #21334922] Generic LSPA9 smart plugs with T34/BK7231N + BL0937 or BL0942 can be OTA-ready once correct pins are set.
Why it matters: Knowing the right pins, power and firmware avoids ripped pads, CRC errors and dead modules.
• MCU: Tuya T34 (BK7231N), 32-bit 120 MHz Wi-Fi SoC [Elektroda, p.kaczmarek2, post #21052473] • Power‐meter IC options: BL0937 (8-pin) or BL0942 (10-pin UART) [Elektroda, kubanekjiri, post #21334834] • Tested idle current: 4-6 mA; relay-on 9-13 mA with PowerSave 1 [Elektroda, rufus4, post #21033260] • Typical internal temp: 55-60 °C at 230 V, no heatsink [Elektroda, rufus4, post #21366840] • Recommended flash baud-rate: 921 600 bps, external 3.3 V ≥ 300 mA [Elektroda, kubanekjiri, post #21334922]
PowerSave 1 from the console or put it in autoexec.bat. Idle current drops from 8-16 mA to 4-6 mA, relay-on from 16 mA to 11-15 mA [Elektroda, rufus4, post #21033260] Keeping the web UI open prevents sleep, so close browser tabs to maintain savings [Elektroda, p.kaczmarek2, post #21033183]schedule command: schedule add 0 22:00 0; schedule add 0 06:00 1. Rules are stored in flash and run even offline [OpenBeken docs]./otaupload endpoint; upload a BK7231N-compatible ESPHome .rbl. Ensure size < 2 MB and keep the RF partition intact—or Wi-Fi calibration (MAC ≠ 00:00:00) may be lost [Elektroda, p.kaczmarek2, post #21040180]