# \[SOLVED\] Sonoff Tasmota firmware issues

**URL:** <https://community.openhab.org/t/solved-sonoff-tasmota-firmware-issues/64838>\
**Category:** Beginners\
**Created:** [January 19, 2019, 8:50pm UTC](https://community.openhab.org/t/solved-sonoff-tasmota-firmware-issues/64838 "2019-01-19T20:50:33Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![matt\_shepherd](https://community.openhab.org/user_avatar/community.openhab.org/matt_shepherd/32/51541_2.png) [@matt\_shepherd](https://community.openhab.org/u/matt_shepherd)\
**Post date:** [January 19, 2019, 8:50pm UTC](https://community.openhab.org/t/solved-sonoff-tasmota-firmware-issues/64838/1 "2019-01-19T20:50:34Z")

</div>

Hi guys,

I’ve got quite a few sonoff basics that were quite happy until I decided to update them all via OTA. Now they’re having mqtt connection issues, I’ve looked on github for known issues but I can’t quite figure it out? I’ve erased them via esptool and refreshed them with the latest Tasmota, they seem ok at first but after a few days they start dropping mqtt connection. I know I probably should be posting this on github but I thought I’d try here first.

An advice would be appreciated

---

<div class="post-metadata">

**Author:** ![Gad\_Ofir](https://community.openhab.org/user_avatar/community.openhab.org/gad_ofir/32/19861_2.png) [@Gad\_Ofir](https://community.openhab.org/u/Gad_Ofir)\
**Post date:** [January 19, 2019, 9:07pm UTC](https://community.openhab.org/t/solved-sonoff-tasmota-firmware-issues/64838/2 "2019-01-19T21:07:58Z")

</div>

you will get better help in github.. as this is OH fourm

but i can give you my two cents of wisdom…  
try a diffrent way of flash…

i heard of pepole puting blank sketch and then the thasmota friamwre , some how the ESP will remmber the settings i had that issue with ESPeasy but not with thsomta , its somthing that we are doing wrong  
but if you want to work around it try the above

also you can flash with \* Atom platfrmio or somthing like that!  
good luck

---

<div class="post-metadata">

**Author:** ![opus](https://community.openhab.org/user_avatar/community.openhab.org/opus/32/55801_2.png) [@opus](https://community.openhab.org/u/opus)\
**Post date:** [January 19, 2019, 9:22pm UTC](https://community.openhab.org/t/solved-sonoff-tasmota-firmware-issues/64838/3 "2019-01-19T21:22:08Z")

</div>

I saw the same and reverted back to the version 6.3.0. Now running smooth again.

---

<div class="post-metadata">

**Author:** ![matt\_shepherd](https://community.openhab.org/user_avatar/community.openhab.org/matt_shepherd/32/51541_2.png) [@matt\_shepherd](https://community.openhab.org/u/matt_shepherd)\
**Post date:** [January 19, 2019, 9:46pm UTC](https://community.openhab.org/t/solved-sonoff-tasmota-firmware-issues/64838/4 "2019-01-19T21:46:21Z")

</div>

Did you erase the previous flash before reverting back to 6.3? Also some of my older sonoffs were on 5.12 and then I upgraded to 6.4 and I read that you have to migrate? I’m not too sure what that means but I’m guessing jumping firmware may be the issue?

---

<div class="post-metadata">

**Author:** ![vzorglub](https://community.openhab.org/user_avatar/community.openhab.org/vzorglub/32/17166_2.png) [@vzorglub](https://community.openhab.org/u/vzorglub)\
**Post date:** [January 20, 2019, 8:33am UTC](https://community.openhab.org/t/solved-sonoff-tasmota-firmware-issues/64838/5 "2019-01-20T08:33:58Z")

</div>

I haven’t updated my sonoffs since 5.4. If they work with all the functions I want for use with OH. Why update?

---

<div class="post-metadata">

**Author:** ![Dibbler42](https://community.openhab.org/user_avatar/community.openhab.org/dibbler42/32/56084_2.png) [@Dibbler42](https://community.openhab.org/u/Dibbler42)\
**Post date:** [January 20, 2019, 8:36am UTC](https://community.openhab.org/t/solved-sonoff-tasmota-firmware-issues/64838/6 "2019-01-20T08:36:17Z")

</div>

Thanks for that info, i have problems too, but until now not the time to look in that in more deatil. Just to give some more Information. I am using version 6.4.1

---

<div class="post-metadata">

**Author:** ![H102](https://community.openhab.org/user_avatar/community.openhab.org/h102/32/25595_2.png) [@H102](https://community.openhab.org/u/H102)\
**Post date:** [January 20, 2019, 1:50pm UTC](https://community.openhab.org/t/solved-sonoff-tasmota-firmware-issues/64838/7 "2019-01-20T13:50:54Z")

</div>

If using a sonoff basic you might want to look at troubleshooting “Running out of Memory” found here.

> **[GitHub - arendst/Tasmota: Alternative firmware for ESP8266 and ESP32 based...](https://github.com/arendst/Tasmota)**
>
> Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at

I agree with Vincent, if you have everything working on an older version stick with it. Most of the latest updates are for esp’s with 4 times the memory, all the bells and whistles, and not the greatest thing (In my opinion) for a sonoff basic.

---

<div class="post-metadata">

**Author:** ![Confectrician](https://community.openhab.org/user_avatar/community.openhab.org/confectrician/32/105046_2.png) [@Confectrician](https://community.openhab.org/u/Confectrician)\
**Post date:** [January 20, 2019, 2:05pm UTC](https://community.openhab.org/t/solved-sonoff-tasmota-firmware-issues/64838/8 "2019-01-20T14:05:49Z")

</div>

I had problems too with the 6.4.1 and didn’t have time to investigate the behavior yet.  
A Downgrade to a lower 6.x.x brought me stability for now.

---

<div class="post-metadata">

**Author:** ![vzorglub](https://community.openhab.org/user_avatar/community.openhab.org/vzorglub/32/17166_2.png) [@vzorglub](https://community.openhab.org/u/vzorglub)\
**Post date:** [January 20, 2019, 2:13pm UTC](https://community.openhab.org/t/solved-sonoff-tasmota-firmware-issues/64838/9 "2019-01-20T14:13:48Z")

</div>

Also, every time you re-flash you loose a flash cycle and there are only a limited of flashes before the memory get corrupted permanently.  
It’s also good practice to turn off all the logging in the sonoff console.

 ![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/d/3/d31d71610d7a2af4f91af8995c0e1510b97c2a4e.png)

---

<div class="post-metadata">

**Author:** ![matt\_shepherd](https://community.openhab.org/user_avatar/community.openhab.org/matt_shepherd/32/51541_2.png) [@matt\_shepherd](https://community.openhab.org/u/matt_shepherd)\
**Post date:** [January 20, 2019, 2:20pm UTC](https://community.openhab.org/t/solved-sonoff-tasmota-firmware-issues/64838/10 "2019-01-20T14:20:05Z")

</div>

If it’s not broken don’t fix it. I was messing with the items and rules from OH on GitHub that updated them all at the same time via OTA…then they all fell over on 6.4. Now I’m struggling to downgrade them successfully.

---

<div class="post-metadata">

**Author:** ![H102](https://community.openhab.org/user_avatar/community.openhab.org/h102/32/25595_2.png) [@H102](https://community.openhab.org/u/H102)\
**Post date:** [January 20, 2019, 2:30pm UTC](https://community.openhab.org/t/solved-sonoff-tasmota-firmware-issues/64838/11 "2019-01-20T14:30:07Z")

</div>

If your trying to down grade OTA you need to use the minimal version first. After it’s installed then pick the firmware version you want.

If you can access the devices without having to dig them out I would erase (with esp tool) and flash manually. I use version 5.14 on sonoff basic with no issues but pick what works best for your needs.

> [@Gad\_Ofir](#):
>
> also you can flash with \* Atom platfrmio or somthing like that!

👍 Best way to flash IMHO. Very easy to comment out the stuff you don’t need and reduce the flash size for some of the 6.x versions.

---

<div class="post-metadata">

**Author:** ![matt\_shepherd](https://community.openhab.org/user_avatar/community.openhab.org/matt_shepherd/32/51541_2.png) [@matt\_shepherd](https://community.openhab.org/u/matt_shepherd)\
**Post date:** [January 20, 2019, 6:07pm UTC](https://community.openhab.org/t/solved-sonoff-tasmota-firmware-issues/64838/12 "2019-01-20T18:07:03Z")

</div>

That’s perfect, cheers fella.

---

<div class="post-metadata">

**Author:** ![H102](https://community.openhab.org/user_avatar/community.openhab.org/h102/32/25595_2.png) [@H102](https://community.openhab.org/u/H102)\
**Post date:** [January 20, 2019, 6:15pm UTC](https://community.openhab.org/t/solved-sonoff-tasmota-firmware-issues/64838/13 "2019-01-20T18:15:29Z")

</div>

> [@matt\_shepherd](#):
>
> That’s perfect, cheers fella.

Glad you got it working.👍

Please click the square box on the post that provided the solution and edit the title to start with [Solved].

Thanks
