18
5 Steps to Flash ESP8266 with Tasmota in 2021
In this very short tutorial, I will show you how I flashed an ESP8266 with Tasmota.
- ESP Flasher: github repo, and download the appropriate version of ESP Flasher (no need to install)
- Tasmota: tasmota.bin.gz
Plug the ESP8266's USB to your computer, while pressing the Flash button
![](https://res.cloudinary.com/practicaldev/image/fetch/s--wEa9pNxr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0n5lp6nrt2sgxj1sz1gw.jpg)
- Reload the Serial Port until you see your USB plug appearing
- Browse the firmware Tasmota we downloaded in Step 1
- Launch ESP-Flasher
![](https://res.cloudinary.com/practicaldev/image/fetch/s--8GmUa82F--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rsm7ro981ytzsyu44q47.png)
This process can take up to 30sec. Once done, unplug, and replug the ESP8266 module to your computer or any other source of power.
- Once relaunched, you should see a Tasmota_XXX WiFi appearing in your networks.
- Connect your computer to the Tasmota WiFi
- Connect your WiFi (SSID + Password)
- Click Ok
- Let the component restart
- Configure MQTT Broker accordingly (host + port + login + password)
18