To ESPHome with Tasmota ESP32 partition layout?

I’d like to migrate an ESP32-based device from Tasmota 14.6 to ESPHome, preferably without disassembling it.

However, I found this notice:
https://esphome.io/guides/migrate_sonoff_tasmota.html#incompatible-versions

WARNING! Migrating via OTA on ESP32, from Tasmota v12 (with boot partition) and up is currently not possible! Trying it could soft-brick your device!

Is there a way around the limitation? Is it not possible with Tasmota to rewrite the entire flash, not just one partition? Or if just writes one partition, couldn’t it be a small “repartitioner”?

Yeah, try this

I am having the same question. Does anyone have a step-by-step guide on how to use the linked PR (or any other method)?

I am trying to migrate a Nous A6T outdoor plug to ESPHome. It can’t be opened for manual flashing.

1 Like

I figured it out. For anyone else needing it, I wrote it down in my blog: Flashing ESPHome from Tasmota on ESP32 [splitbrain.org]

2 Likes


it worked to convert to esphome, it connects and show esphome web, but fails to upload new skech via home asistant esphome bulder:(

I’ve found a workaround the auth error - use an older version of ESPHome: https://community.home-assistant.io/t/unable-to-upload-images-on-shelly-pm-mini-gen3-unexpected-response-from-esp-0x04/957846

After that you can use ESPHome builder in HA without issues.

Thanks to @splitbrain for the blog post, really useful