Sonoff Basic R4 Not Connecting To WiFi After ESPHome Flash

Have you tried flashing with the “minimal” code as per this post?