Tasmota ‐ Flash Tasmota to ESP32 Module with USB to Serial Adapter - a-maze-1ng/MISC GitHub Wiki
Turn printer on/off with a ESP32 + Relay
Tasmota Firmware Download
for ESP8266
https://ota.tasmota.com/tasmota/
for ESP32
https://ota.tasmota.com/tasmota32/release/
Flash Tasmota to ESP32 module with USB to serial adapter
- install python
- check if python is installed -> open cmd prompt as admin
python --version- check if pip is installed
pip --verion- install esptool see https://tasmota.github.io/docs/Getting-Started/
python -m pip install esptool- attach USB to serial adapter to ESP32 module and the PC, check in windows device manager which COM port the serial adapter is
- backup firmware
python -m esptool --port COM3 read_flash 0x00000 0x100000 fwbackup2.bin- delete flash storage of the ESP32 module
python -m esptool --port COM3 erase_flash- download tasmota.bin from tasmota website, add to the system32 directory. tasmota32.factory.bin for the first time flash should be used!
python -m esptool --port COM3 write_flash 0x0 tasmota32.factory.bin- after flash is finished, disconnect ESP32 module. The normal tasmota GUI should appear.