Flash Shelly Plug S via "Tasmota-Hack" OTA

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
der_tobi_as13
New user
Posts: 5
Joined: 05 Nov 2022, 14:49

Flash Shelly Plug S via "Tasmota-Hack" OTA

#1 Post by der_tobi_as13 » 05 Nov 2022, 15:04

Hi all!

Is it possible to flash hard_shelly_PLUG_S_2M256 to a Shelly Plug S OTA over a Tasmota-minimal flash?

There is a tutorial https://smarthomeyourself.de/wiki/sonst ... e-flashen/ which allows flashing ESP-Home over tasmota-minimal via browser.

Unsuccessfully tried to flash a nodeMCU in PlatformIO with "Upload Flisesystem Image OTA" option...

Code: Select all

*** [uploadfsota] Error 2

User avatar
Ath
Normal user
Posts: 3519
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Flash Shelly Plug S via "Tasmota-Hack" OTA

#2 Post by Ath » 05 Nov 2022, 15:13

If you have the unit connected via USB Serial, you can also use the flasher tool that is included in the Release zip file you downloaded from Github.
For ESP8266 it should be possible to use either the ESPEasy flasher, or the Espressif flash download tool.
/Ton (PayPal.me)

der_tobi_as13
New user
Posts: 5
Joined: 05 Nov 2022, 14:49

Re: Flash Shelly Plug S via "Tasmota-Hack" OTA

#3 Post by der_tobi_as13 » 05 Nov 2022, 15:28

Thanks!

But i really would like to flash the Shelly Plug S OTA (Browser or some other option).

Otherwise i have to break it open and the warranty is void.

TD-er
Core team member
Posts: 8754
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Flash Shelly Plug S via "Tasmota-Hack" OTA

#4 Post by TD-er » 05 Nov 2022, 15:33

filesystem OTA is not uploading the 'sketch', but a filesystem.
You need to upload the firmware.
I have no idea what checks Tasmota have built in, nor whether they have an UDP OTA service running.

der_tobi_as13
New user
Posts: 5
Joined: 05 Nov 2022, 14:49

Re: Flash Shelly Plug S via "Tasmota-Hack" OTA

#5 Post by der_tobi_as13 » 05 Nov 2022, 16:02

So there is no way to upload the firmware via PlatformIO?

Since it is possible to upload tasmota to a Shelly (original) via a http command like :
http://SHELLY_IP_ADDRESS/ota?url=http://dl.dasker.eu/firmware/mg2tasmota-Shelly25.zip

i thought i could alter it like http://SHELLY_IP_ADDRESS/ota?url=http://MY_OWN_PHP_SERVER/ESP_Easy_mega_20220809_hard_Shelly_PLUG_S_2M256.bin

but since the tasmota file is .zip file im not so sure that this will work ..... :oops:

TD-er
Core team member
Posts: 8754
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Flash Shelly Plug S via "Tasmota-Hack" OTA

#6 Post by TD-er » 05 Nov 2022, 16:13

Hmm handing an URL to opload does look like the firmware is actually parsing this and performing a fetch directly from the HTTP server.
But like I said, I have no idea what Tasmota does with these downloads.
For example it is possible it will also fetch some file (or maybe it is included in the zip) stating the checksum and without it, it may not even start updating?

der_tobi_as13
New user
Posts: 5
Joined: 05 Nov 2022, 14:49

Re: Flash Shelly Plug S via "Tasmota-Hack" OTA

#7 Post by der_tobi_as13 » 05 Nov 2022, 16:29

okay thanks! so it isn't that simple ;)

when i have the device i will try to flash tasmota, than tasmota-minimal an than it should be possible to upload a (larger) espeasy.bin file. :?

Haldi_2
Normal user
Posts: 53
Joined: 24 Aug 2020, 18:10

Re: Flash Shelly Plug S via "Tasmota-Hack" OTA

#8 Post by Haldi_2 » 08 Nov 2022, 19:44

You're doing it Wrong!

Do it exactly as it says and flash Tasmota.
When you have Tasmota Running you can simply "update" Tasmota to a ESPeasy build via "Firmware Upgrade" button in the WebUI.

That worked on the last Shelly Switch i had.

der_tobi_as13
New user
Posts: 5
Joined: 05 Nov 2022, 14:49

Re: Flash Shelly Plug S via "Tasmota-Hack" OTA

#9 Post by der_tobi_as13 » 11 Nov 2022, 14:48

Thanks!

It worked!!!

directly flashing espeasy after tasmota did not work:

Steps to get it to work:
  • flash tasmota --> http://SHELLY_IP_ADDRESS/ota?url=http://dl.dasker.eu/firmware/mg2tasmota-Shelly25.zip
  • then flash minimal-tasmota --> http://ota.tasmota.com/tasmota/release/ ... mal.bin.gz
  • reboot.
  • after that choose esp_easy_mega_********_hard_Shelly_PLUG_S_2M256.bin.gz (.bin was still too large)

Post Reply

Who is online

Users browsing this forum: No registered users and 102 guests