One of my sonoff minis with Esphome blew a capacitor so i replaced it with another pre-flashed device, planning to flash in the original firmware of the damaged one.
So the “new” device creates a captive portal, but cant flash the firmware into it OTA because it resets the connection (tried over an android phone). My second attempt was to connect it to the wifi and try OTA from the web interface, but I can’t access the device over the web. it responds to ping, but no web interface comes up and the esphome dashboard also can’t see it…
Currently i don’t have the possibility to connect it to to an USB-TTL adaptor nor cut the power to it to reset it, so i need to resolve this somehow over the network…
after a repeated attempts somehow i was able to connect to the device via web and push an OTA update with the original config. i think the firmware version was something like 2023.7 or similar. probably the initial OTA flash from the phone failed because it was in the “new” format and I am not sure since what version its supported