Concepts dealt with:
Software components used:
Physical devices used:
GUIDE more indicated for:
Notes and disclaimer
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.
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"
Then log on to the proinstance TasmoAdmin via browser, then select the menu item "Devices/Update”:
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".
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.
Returning to the list of Sonoff, you will notice the firmware version updated to the latest version.
|ATTENZIONE: 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.|