Revert to Tasmota using OTA

Hi, I’ve started to use esphome some weeks ago and it seems pretty nice.
But it has a huge problem: failure during updates. It’s not my first time that after the upload of some new configuration, sonoff device become unreachable (also after manual reboot). I have to manually flash the firmware using a serial connection. This procedure is not always feasible, so I’d like to come back to tasmota on most critical devices.

Does esphome offers any way to upload a generic firmware? (like tasmota)

Thank you,
Marco

if you had enabled the web server in esphome firmware you can try upload the sonoff binary

1 Like

Thank you very much, I’ve seen about existence of web server, but I didn’t think to look inside about OTA uploader. Now I have to look about size of firmware with this option enabled.

Thank you,
Marco

I would start with sonoff minimal version.
Let us know if it works :wink:

Yes, I’m curious as well. I’d like to convert a Martin Jerry dimmer that is working on Tasmota, and would like to fall back just in case I get in over my head (Im just figuring out ESPHome…)

1 Like

I just went from Tasmota > ESPHome > Tasmota minimal > Tasmota without a problem even the old Tasmota settings are in place.

At first i didn’t had the webserver enabled in ESPHome yaml so I just enabled it and uploaded the new yaml OTA. Than in the web interface i uploaded the minimal version. and than the full version.

2 Likes

I might be having the same issue. I uploaded the ESPHome binary from Tasmota and appear to have bricked my device… Any way to revive this without having to open it back up and solder the serial connection back on?

2 Likes

Hello! here is a video showing how to do it https://youtu.be/CC4KSmw9rGk

1 Like

hey @Zanbee I’m currently running Tasmota on a Blitzwolf SHP5 and was wondering on doing the other way round and trying out ESPHome for the first time on it.
Any pointers on how to go from a flashed Tasmota decive to ESPHome?

Hey @Depechie I used ESPHome to generate a bin file and uploaded this to the Tasmotized device following the steps written on the ESPHome guide. https://esphome.io/guides/migrate_sonoff_tasmota.html

1 Like

Thanks for the link, did not see that one!!

Hi, I have power board that I’ve flashed with an ESP-Home binary. It shows up on the ESP Home configuration page no problem, but it doesn’t control the power sockets (they just remain on).

Can I try Tasmota instead? I have the OTA update available on the device web page, but I am not sure which file I should use for the OTA Update.

I’m assuming I need some sort of Tasmota basic file, so I can load a template into it.

This is the template I would like to use if that matters…

Thanks.

Yes you can use tasmota, and there are instructions above for changing a esphome device to a tasmota device.

Or of course you could fix your esphome config. There is a similar model here https://esphome-configs.io/devices/mirabella-genio-i002340_plug/ and fundamentally it should be no different to https://esphome-configs.io/devices/brilliant-smart-powerboard/ or https://esphome-configs.io/devices/arlec-pb89ha_plug/ . You just have to allow for the different GPIO pins assignments.

1 Like

Thanks nick, I did get it working with ESP home in the end. Works very well for anyone considering purchasing and flashing.

Can you write it up on esphome-configs.io please?

Its a bit of a story, but I ended up using the same configuration published on esphone-configs.io.

DO NOT DO THIS. Tasmota’s documentation says not to start with minimal – only when upgrading.

I had ESPHome on a Sonoff POW 2 but wanted to go back to Tasmota. So I configured the web interface on ESPHome, then proceeded to load “Tasmota minimal.bin”.

I restarted and ended up with a device in AP mode, that I can connect to (192.168.4.1). But I don’t get anything served on port 80.

Somebody claimed they could get it to flash using CURL (see here) but it didn’t work for me. I ended up opening the device again and flashing via the serial pins.

3 Likes

You can migrate from esphome to tasmota with tasmota-lite.bin firmware.

3 Likes

If you get an Update Failed: ERROR[4]: Not Enough Space make sure you use the tasmota-lite.bin.gz not just the .bin.

Maybe you are running out of space? :thinking:

Maybe you want to try the compressed/smaller binary? :face_with_monocle: