Open fredericmorin opened 7 months ago
I have the same issue. This is a Tuya WR4 using the generic-rtl8710bn-2mb-468k board type as per the LibreTiny website.
UART log shows the following:
I can get one OTA through to the device, but subsequent OTAs all return the MD5 error. To repeat the test, I can reflash the unit via UART, then perform one successful OTA. After that, all subsequent OTAs have the MD5 error.
Hi, I've got the same error over here. Tested with four devices and different board configurations, like generic, wr2, T102_V1.1,... Same behavior after ota update. The devices end up in a bootloop until the safety mode is triggered. Then I can transmit a new firmware ota and everything starts all over again...
Strange thing: if I wait really long time (sometimes several hours) the device manages to boot completely and works as intended.
Also here same error
The problem
The second OTA upload fails.
Starting with a fresh mains unplug/plug of the device, I can push a new esphome fw OTA upload. After that, every other OTA attempt fails with a
MD5 Check Failed
error.Power cycling the device resolve the issue and allow for another OTA upload to complete sucessfully.
Same behavior is observed from both pip installed esphome and HA addon.
I was able to reproduce this issue without re-compiling the firmware. I ran
esphome upload
twice, without runningesphome compile
.Which version of ESPHome has the issue?
2023.11.4
What type of installation are you using?
pip
Which version of Home Assistant has the issue?
No response
What platform are you using?
RTL87XX
Board
BEELITE smart switch
Component causing the issue
OTA
Example YAML snippet
Anything in the logs that might be useful for us?
RTL8710BN uart2 tx log output:
esphome upload logs:
Additional information
Version info: