Massively update all the Sonoff-Tasmota was originally the profirst home automation with TasmoAdmin

2 minutes of reading
Guide purposes
  • Update i propri components Sonoff updated Sonoff-Tasmota to the latest firmware version available, all simultaneously and over-the-air
  • Difficulty level: medium low
Concepts dealt with:
  • firmware compilation
  • web interface usage
Software components used:
Prerequisites
Physical devices used:
GUIDE more indicated for:

All environments

Notes and disclaimer
  • qualsiasi modifica all'impianto elettrico dev'essere progettata ed effettuata da personale qualificato;
  • any changes implemented in probefore is a propersonal responsibility as well as a profirst risk and danger (the contents of the present page are purely educational);
  • any changes implemented in proprior to a device it voids the guarantee, quality approvals and certifications.

Abstract

The Update Searchnamento of family members ITEAD Sonoff Smart Home previously reprogrammed with firmware Sonoff-Tasmota it's a task quite simple: it is in fact sufficient to recompile the firmware, go to the web interface of the devices and, through the procedura OTA (over-the-air), prosee (in two steps) at the mostnameby using the firmware previously filled out.

It is a procedura as said rather simple, which however it gets complicated when the components Sonoff in profirst home automation begin to be more than one. At this point it is necessary to repeat the procedura (which, as mentioned, involves two steps, the first using a compiled "base", the second "complete") for each of the components present in home automation.

To avoid this tedious repetition of actions that are always the same, we are against it TasmoAdmin, a web tool that allows us to update (as well as manage) all the components Sonoff-Tasmota present in home automation in one fell swoop.

Firmware compilation

First step is to compile the new firmware version. To perform the greaternameWith the OTA of the firmware it is necessary to have both a "minimal" and a "full" compiled. Start with the download of the latest version of Sonoff-Tasmota, unzip the zip and access it through the development environment which is usually used (a guide to the programmation using ATOM is available here).


Identify, In the file "/sonoff/user_config.h"The variables"#define STA_SSID1"And "#define STA_PASS1"And set in those two fields the SSID was originally the proman Wi-Fi and the relative password. Be careful not to make mistakes, or after the riprogrammar i / i Sonoff they will no longer be back online forcing you to a riprophysical grammation of the devices, with all that entails (disassembly, etc.).

Set time, on “platformio.ini"

“env_default = sonoff-minimal”

then compile and save the file "firmware.bin"Generated by compilation (usually located below the path" /pioenvs /sonoff-minimal"Inside the folder where the firmware has been decompressed).

Now edit again "platformio.ini"Setting:

“env_default = sonoff”

and compile again, this time collecting the file "firmware.bin"Generated this time in the path" /pioenvs /sonoff"

Now we will therefore have a "firmware.bin"Relating to the completed"minimal"And one relating to"Full"

Update Searchnamemassively

Then log on to the proinstance TasmoAdmin via browser, then select the menu item "Devices/Update”:

TasmoAdmin - updatenamemassive step 1

Set the IP address of TasmoAdmin itself (the address used to connect it) and its port on the "OTA Server IP" entry.

Under "MINIMAL Firmware" click "Browse" and select the relevant "firmware.bin" file to the completed "minimal”Previously prolearned; to that "FULL Firmware", select that "Full"

Then click on "Next".

TasmoAdmin - updatenamemassive step 2

If everything went well the web interface will indicate "Minimal Firmware: Upload successfull!" and "Full Firmware: Upload successfull!"

Select time where / i Sonoff of the update list using the check marks on the left; Once the choice is complete, click on "Start Update”.

La procedura from here it will be completely automatic, which will end when the log screen appears appburned so many "Update done!"How many will have been i Sonoff selected for mostnamento.

TasmoAdmin - updatenamemassive step 3

Returning to the list of Sonoff, you will notice the firmware version updated to the latest version.


ITEAD Sonoff BasicATTENZIONE: remember that there is on our FORUM community an ad hoc section dedicated to Sonoff (and more generally to devices ESP8266), for any doubt, question, information on the specific merit of these components.

Please comment below