This guide is designed to help users of Shelly Plus and Pro ESP32 devices to update their devices from the Mongoose OS firmware to the Tasmota firmware over the air (OTA).
This application provides generally safe updates to devices over the air (OTA).
However, it is important to understand that overwriting the boot loader via an OTA update is a risky operation. If something unexpected fails during the update, it may render the device inoperable until serial flash.
If this happens, you need to know how to flash a new firmware over a wired connection in order to recover the device.
- Your Shelly device must have Mongoose OS firmware version 0.12.0 or higher installed.
- You must have the mgos32-to-tasmota32 firmware http link for your device copied from the table below.
- Connect your Shelly device to your local wifi or LAN with an internet connection.
- Navigate to Settings > Device Settings > Firmware > Custom Firmware and paste the previously prepared http link.
- Click the Upload Firmware button.
- Wait for the device to finish updating.
- Once the update is finished, connect to the device's new Tasmota wifi access point and add the device back to your network. If Shelly OS (Mongoose OS) boots back up after the OTA update, please update (using the OTA link from this repo) again.
- Now you can configure your device. You can find templates for your device here.
- If you want to use the Shelly factory calibration data follow the next steps. If not you can delete
Shelly_data.be
andShelly_data.tapp
from the file system which speeds up (re)boot times.
- Check that the files
shelly.bin
andaux.bin
have been generated in the file system (FS). If not, typeimport Shelly_data
into the Berry Console and hit Return twice. This will save the device-specific data in these two files. - Download
shelly.bin
andaux.bin
in the file system to your PC. - Find calibration data in
shelly.bin
around 0x1000 with a HEX viewer for your OS. - Delete
Shelly_data.be
andShelly_data.tapp
from the file system
- MANDATORY Download ALL files in the file system to your PC.
- Open the Partition Wizard -> Menu Entry. Choose Increase FS to max and click the corresponding button. This will increase the FS and erase anything that is currently present in it.
- Upload the in Step 1. downloaded
Partiton_wizard.tapp
andPartitions_update.be
to the Tasmota FS. Inside the Berry Console, typeimport Partitions_update.be
and hit Return twice. Afterwards, restart the device. - Open the Partition Wizard and start the Safeboot Conversion process. If it is not possible to start due to something is marked in red, then an OTA Tasmota upgrade is needed. Perform the upgrade, and the Safeboot Conversion process can then be started.
- The size of the Partition FS is now larger than the default size. If desired, the default 320kB size can be restored using the Partition Wizard.
- Finally, configure device using templates here.
Device | Link | State |
---|---|---|
PlusHT | http://ota.tasmota.com/tasmota32/shelly/mgos32-to-tasmota32-PlusHT.zip |
|
PlusPlugS | http://ota.tasmota.com/tasmota32/shelly/mgos32-to-tasmota32-PlusPlugS.zip |
✅tested |
PlusPlugIT | http://ota.tasmota.com/tasmota32/shelly/mgos32-to-tasmota32-PlusPlugIT.zip |
|
PlusPlugUS | http://ota.tasmota.com/tasmota32/shelly/mgos32-to-tasmota32-PlusPlugUS.zip |
|
PlusPlugUK | http://ota.tasmota.com/tasmota32/shelly/mgos32-to-tasmota32-PlusPlugUK.zip |
|
PlusI4 | http://ota.tasmota.com/tasmota32/shelly/mgos32-to-tasmota32-PlusI4.zip |
✅tested |
PlusWallDimmer | http://ota.tasmota.com/tasmota32/shelly/mgos32-to-tasmota32-PlusWallDimmer.zip |
|
Plus1PM | http://ota.tasmota.com/tasmota32/shelly/mgos32-to-tasmota32-Plus1PM.zip |
✅tested |
Plus1 | http://ota.tasmota.com/tasmota32/shelly/mgos32-to-tasmota32-Plus1.zip |
✅tested |
Plus2PM | http://ota.tasmota.com/tasmota32/shelly/mgos32-to-tasmota32-Plus2PM.zip |
✅tested |
Pro1 | http://ota.tasmota.com/tasmota32/shelly/mgos32-to-tasmota32-Pro1.zip |
✅tested |
Pro1PM | http://ota.tasmota.com/tasmota32/shelly/mgos32-to-tasmota32-Pro1PM.zip |
|
Pro2 | http://ota.tasmota.com/tasmota32/shelly/mgos32-to-tasmota32-Pro2.zip |
|
Pro2PM | http://ota.tasmota.com/tasmota32/shelly/mgos32-to-tasmota32-Pro2PM.zip |
✅tested |
Pro3 | http://ota.tasmota.com/tasmota32/shelly/mgos32-to-tasmota32-Pro3.zip |
|
Pro4PM | http://ota.tasmota.com/tasmota32/shelly/mgos32-to-tasmota32-Pro4PM.zip |
✅tested |
If your Shelly device is not listed in the templates, please open an issue with a link to the Shelly Knowledge Base.
Or buy the device from my Amazon Wishlist and I will reverse engineer and confirm the device working.
I would like to thank Jason2866 for providing help with the custom Tasmota files.
This repository is released under the GNU General Public License v3.0. Refer to the LICENSE file for more information.
Copyright (C) 2023 Philipp '3D' ten Brink