How do you safely flash OpenBeken onto a TOMZN TOMPD-63-LW with a WB3S or CBU module, including backup, UART wiring, and handling the TuyaMCU connection?
Yes—make a full backup first, then flash over UART with the TuyaMCU isolated. 1. Connect 3.3 V, GND, TX1, RX1 to the WB3S or CBU pads and read a 2 MB backup. 2. Keep the mains side isolated and disable the secondary MCU, usually by reset or temporarily breaking its UART path. 3. Flash OpenBeken, reboot, then restore from backup if needed. On the WB3S unit, this worked with
bk7231flasher_1.1.1 and OpenBK7231T_UA_1.17.221.bin. [#20697176]
Comments
I guess it's a TuyaMCU device, so it will work without any problem. Do you know how to do UART data capture in a safe manner? This device is mains powered, so doing capture may be dangerous. We could... [Read more]
@crash1912 Can you take a better picture, maybe of the bottom board? And if possible, maybe include the markings from the LCD controller? [Read more]
Thanks for answering, I'm new to this, I have a moment of mental garbage with a lot of information, openbk, tasmota, esphome... but I'm advancing little by little. I don't know how to do UART data capture... [Read more]
What is under capacitor here: https://obrazki.elektroda.pl/3855322500_1692046358_thumb.jpg This is WB3S bot: https://obrazki.elektroda.pl/9001953900_1692046409_thumb.jpg (Bottom view, not... [Read more]
@crash1912 There is a similar post you can read - https://www.elektroda.com/rtvforum/viewtopic.php?p=20686225#20686225 Also, you can check this post on how to do UART capture safely - https://www.elektroda.com/rtvforum/viewtopic.php?p=20667319#20667319 And... [Read more]
You may be right. I can see UART traces there. They go through resistors. https://obrazki.elektroda.pl/6372361200_1692049934_thumb.jpg That would mean that one would have to desolder them to temporary... [Read more]
With a multimeter, I can't find continuity between TX1, RX1, and any other board connection pin, only VDD and GND. I think I'll need to solder wires on TX1 and RX1... Under the capacitor, I can see: HC89F0541... [Read more]
Well, no surprises here, considering that it clearly looks like TX1 and RX1 go through resistors to MCU: https://obrazki.elektroda.pl/7348413800_1692098093_thumb.jpg It's TuyaMCU. https://obrazki.elektroda.pl/6677601000_1692098172_thumb.jpg... [Read more]
You are right, without a bridge between pin 22 and GND, you cannot read/write anything. Using a little mini hook, I can create a bridge without soldering. For TX/RX, I held male pins to the board using... [Read more]
2MB flash can contain your SSID if you paired it. Please post if you can, if not, please post only Tuya JSON. See how to extract JSON: This will tell us which baud rate is your device using. [Read more]
The device is new, never used, does not contain any personal data configured for me. If it contains anything, it is from the factory (any device key or anything, I don't know). I have attached a backup... [Read more]
That's good enough. Well done. So baud rate is the default, slow-speed one. Okay, so let's start with this autoexec.bat: // start TuyaMCU driver startDriver TuyaMCU // always force 0x04 WiFi state... [Read more]
Ok now driver is already loaded: https://obrazki.elektroda.pl/6551659400_1692293974_thumb.jpg Yes, i can toggle relay from physical button. In the recording tab, the data is very abundant, these... [Read more]
There isn't much in the logs, but they seem to suggest that dpID 16 is a boolean, it may be a relay. So, now autoexec.bat should look like: // start TuyaMCU driver startDriver TuyaMCU // always... [Read more]
Correct, DP16 is a power switch relay! and using configuration from EAMPDW-TY63 now can see more data! but some is wrong... OverVoltage, UnderVoltage, Current and Leakage values appears 0, but OverVoltage... [Read more]
How does your current web app log looks like? Which dpIDs are working? You've jumped quickly to very advanced config and I am not sure if it's entirely correct. Have you tried to use tuyaMcu_sendQueryState... [Read more]
Ok, well I think so too, I've gone too fast :) tuyaMcu_sendQueryState force refresh arbitrary? this looks good!! I like this!! Works great!! ¿Can refresh each 5~10s automatically? ok, now let's... [Read more]
Repeating event can be used to do some action periodically: // NOTE: addRepeatingEvent [RepeatTime] [RepeatCount] // code below will forever toggle relay every 15 seconds addRepeatingEvent... [Read more]
Repeating event is wonderful, i added "addRepeatingEvent 10 -1 tuyaMcu_sendQueryState" and works amazing. Possible stupid question: if channels are like variable and dpID's are same as constant... [Read more]