I just wondered out of interest, I’ve got some sonoff 4ch pro’s that I used to use with esphome a while ago but I disconnected them and deleted them from esphome. Since they are already flashed with esphome, is it possible to reconnect them without having to physically connect to them with header pins again.
So to clarify I deleted the integration for these devices, I deleted them from esphome too and I don’t have the code I flashed them with anymore. But is it possible to connect to them and ota flash them with new code, without having to use the header pins again?
There’s probably some more advanced method to connect them where you provide a wifi hotspot with the old credentials but you’re best bet is probably to just use the hardwired connection to re-flash them.
If you know the old credentials, you could change your current network/create a new wireless network (if your APs support that) with the old credentials, connect them, reflash with the new wireless credentials, and revert everything back.