As a test I tried uploading a ESPhome image over serial with board: d1_mini_pro selected
After the upload I couldnt get a response from the Shelly.
I uploaded a Shelly restore image over serial and its still dead.
Hello, thanks for the tip, I was able to return to the original firmware with all my shelly 1, and shelly 1Pm (I point out that you have to use the minimal pocket and not the light to have the space to then install the MGOS firmware.
However, I was unable to restore my Shelly Plus S sockets.
I freeze at the final stage. Installed MGOS firmware, but then when I try to install .zip shelly I get this error:
Hi I have a Shelly 1 flashed with ESPHome, but can’t connect to it (its offline). WHich are my options? I can continue woth ESPhome, instead of flashing back Shelly firmware (it seems difficult), but how to connect to Shelly1/esphome??
Warning: Flashing wrong firmware could brick your device.
Just in case anyone stumbled here intending to rollback a Shelly Gen2 (Esp32 based - plus series) device. The above logic might not work as it seems to be for ESP8266. Further Shelly does not seem to be providing Gen 2 devices firmware on their website yet.
So firstly, you need to get the firmware. For this I used the below project which provides links to latest firmware:
And lastly, after attaching the USB serial adapter to Shelly hardware with GPIO0 set to Ground (ready for flashing) executed below command:
mos flash --esp-baud-rate 921600 Plus1PM.zip
That’s it the device booted with shelly firmware restored. I doubt that my power meter calibration, etc was restored. So in case you have not yet flashed original firmware, it would be best to take backup of the original firmware with all calibration files using the same mos tool before you venture into updating original Shelly firmware to tasmota or esphome.
Note: Change the filename to whats suitable for your device.
I have a bunch of Shelly 1’s on eBay. I tried to flash then to tasmoda and then ESPHome. I couldn’t figure out the flashing, so maybe one of you guys would like them. I hate to throw them out. Enjoy
indeed i stumbled in this thread, having a Shelly Gen2 “1pm plus” tasmota device and want to revert to stock firmware. i also have a second “1pm plus” still running at stock firmware for comparing both OS. So i wonder how you did the mentioned backup with mos tool, i did not find a corresponding parameter? i thought taking a backup of the stock device and restoring it on the tasmota one would be a good option or is there an option to re-calibrate a stock shelly device as you can to with tasmota?