Tasmota is an alternative firmware for ESP boards that provides a wealth of handy features, and [Mat] has written up a guide to flashing with far greater ease by using Tasmotizer. Among other things, ...
I haven’t tried with Tasmota, but ESPHome works really nicely if you wanted to give that a try if you’re not tied to Tasmota, I imagine the Bluetooth Proxy would ...