Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamQuote:Wrote 119000 bytes to firmware-read.bin
p.kaczmarek2 wrote:what are you using to flash.
backlog startDriver SSDP; PowerSave 1
p.kaczmarek2 wrote:maybe even two sectors. This GUI tool, which I wrote about in #39, did something like this during a read-write test, even boasted in the log:but the flash backup you gave from what I see has one sector deleted.
Erasing sector 69632... ok! Erasing sector 73728... ok!p.kaczmarek2 wrote:Ok, remember to enter the basic commands, such as PowerSave (because I had to repair one weak power supply of the device working without PowerSave) and maybe also the SSDP driver.
In the short startup command:
backlog startDriver SSDP; PowerSave 1
In the future powersave will be automatic but not 100% tested yet.
Question: How to use bistable button? A button that toggles relay when it's changed?
A: Just use a 'ToggleChannelOnToggle' role. The target channel value will be inversed when you toggle the switch. You can also see this detailed description
TL;DR: At roughly 25 PLN ≈ US$5 per unit the Aubess Mini 16 A switch can be locally flashed in <30 s; “That’s a very informative and helpful teardown” [Elektroda, p.kaczmarek2, post #20146026] Add
PowerSave 1for cooler, stable Wi-Fi.
Why it matters: Fast, cloud-free flashing turns a budget Tuya switch into an open, Home-Assistant-ready relay without soldering extra modules.
• Rated load: 16 A, 250 VAC (label on PCB) [Elektroda, Pretoriano, post #20145042] • Wi-Fi MCU: Beken BK7231N, 32-bit @120 MHz [Elektroda, Pretoriano, post #20145042] • Street price: 25 PLN with free EU shipping; some sellers add €0.50 [Elektroda, p.kaczmarek2, #20146026; Pretoriano, #20146067] • UART flashing voltage: 3.3 V; never power from mains during flash [Elektroda, p.kaczmarek2, post #20402821] • Common pinout (rev-A board): P6 LED, P8 Button, P14 S1/S2 toggle, P15 Relay [Elektroda, janek_wro, post #20456035]
bk7231tools or hid_download_py; they retry and verify CRC. BKWriter 1.60 is “always discouraged, as it is very unstable” [Elektroda, kuba2k2, post #20278416]uartprogram backup.bin 0x200000.ToggleChannelOnToggle; this makes a bistable wall switch act as expected [Elektroda, p.kaczmarek2, post #20479272]startDriver BL0942, reboot, then calibrate with VoltageSet, CurrentSet, PowerSet. Home-Assistant auto-discovers the three sensors [Elektroda, p.kaczmarek2, #20387920; #20389587].PowerSave 1 lowers PSU stress; one user had to repair a failed supply that lacked it [Elektroda, p.kaczmarek2, post #20475470] Device Group multicast still works because Wi-Fi remains active between sleeps [Elektroda, p.kaczmarek2, post #20475470].bin; you can write it back with the same UART tool [Elektroda, p.kaczmarek2, post #20455470]