I don’t know if this is the best forum to post this in. If there is a more appropriate one please let me know and I will move this there.
I have been trying to set up a Shelly 1 with Tasmota for the past couple of weeks. I have been flashing the Tasmota sonoff.bin file to the shelly as outlined in this video: https://www.youtube.com/watch?v=KMiP9Ku71To
The problem is I never get a stable product out of it. Sometimes I flash and I can’t even connect with Termite. Other times I flash and I can connect with Termite, then the web interface, but after a few hours the shelly reboots with an exception and eventually does this enough times that it just locks up and dies.
This morning the new flavor is I flash and I get what I think is an endless bootloop/connecting to AP.
The log file showing what happened yesterday when the shelly eventually rebooted enough to lock up is below:
There might be someone that comes along to help you but it may be better if you go to the tasmota support on github and post it there.
I haven’t tried to put tasmota on a Shelly so I don’t really know any of the pitfalls associated with that hardware.
It’s a little late but just for future reference you don’t need to flash tasmota onto a new Shelly since the factory firmware supports local MQTT control now.
I used Atom with Platformio to flash Tasmota on my Shelly1’s. Used the Source Code 6.3 from the releases page to compile.
The Shelly1 is working very good, had no problems so far.
Maybe you used the dev branch of Tasmota Code?
Yeah haha, I know the factory firmware supports MQTT control. Sadly, I started messing with flashing Tasmota on the Shelly before they did that update. Don’t have a lot of time to experiment with this stuff so it gets drug out over a lot of time lol.
So I tried what you suggested. Greatly appreciate the suggestion! I downloaded atom, and installed the platformio addon/extension/whatever it is.
I redownloaded the source code file for Tasmota-6.3.0 just to make sure I had a fresh one. I selected sonoff.bin in platformio.ini and changed the COM port to the right one for me. And I added my wifi details to my_user_config.h.
Saved all that and hit upload in the PlatformIO drop down and it failed. Please see the output after all of the compiling steps below:
I also tried uploading Tasmota-master in the same way, and that one successfully uploaded. However, when I went to the serial monitor the shelly looked to be in a bootloop.
00:00:00 Project shelly Sonoff (Topic sonoff, Fallback DVES_8AB9FC, GroupTopic sonoffs) Version 6.3.0-2_3_0
00:00:00 WIF: WifiManager active for 3 minutes
00:00:00 HTP: Web server active on sonoff-6652 with IP address 192.168.4.1
ets Jan 8 2013,rst cause:4, boot mode:(3,7)
wdt reset
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v3fff3988
~ld
Don’t really understand why it is using the wifi manager, I gave it the ssid and password for my wifi in “my_user_config.h”
Then it gives me the gibberish above again followed by this:
Originally, sort of. When I first plugged it in and saw the output on the serial monitor I got my phone out and looked for the wifi to connect to it. I tried connecting a few times, but before my phone could fully connect the shelly reboots and I lose it.
I tried plugging it in again, and now it seems to be dead. No output on the serial monitor at all and no wifi on my phone to connect to. I do in fact have everything plugged in like I should this time also. haha
Sounds like this Shelly1 really has an issue. I’d suggest posting the Stack Trace over at the Tasmota Github Page, maybe the Shelly can be rescued somehow (reset 1 ?)
Hi!
I have exactly the same problem - out of 4 Shelly 1’s, I got one working, the other 3 are doing exactly as yours. All of those 3 booted Tasmota initially as they should, I was able to configure WiFi and MQTT, but after a short while they went dead and monitoring with the Termite I can see what seems to be a bootloop. The 4th one has been holding up for a week (fingers crossed that it stays this way).
Flashing Shelly is so easy (Flash ESP easy) that I do not understand what can go wrong…
Kaido
I only have the one, but yeah, I’ve pretty much given up on it. I like the Shelly 1 better because it is safer, and a little easier to setup for flashing, but at this point I think I’m going to stick to the sonoffs. Definitely let me know if you ever figure out what the problem is though.