ESP 12F Quickstart - JRInge/Tasmota GitHub Wiki

My way of getting Tasmota going from scratch on an ESP-12F / D1 Mini clone:

  1. Add suitable configuration options to tasmota/user_config_override.h, using the definitions in tasmota/my_user_config.h as a basis. For a new device variant, this should go in an #ifdef block for a new FIRMWARE_ flag.

  2. Add the new variant into platformio_tasmota_cenv.ini.

  3. Load the repo into Gitpod by prefixing the address with https://gitpod.io/#

  4. Add the secrets.h file to the tasmota folder in Gitpod.

  5. Compile the firmware using the Gitpod console: platformio run -e tasmota-variantname

  6. Download the compiled .bin file from the build_output/firmware folder in Gitpod.

  7. Install esptool.py if necessary: sudo apt install esptool

  8. Plug in the ESP32 to a USB port and flash the new firmware as follows:

    esptool write_flash -fm dout 0x0 tasmota-variantname.bin

Check that tasmota-variantname.bin is the correct firmware file. Once the device is rest, Tasmota should be loaded ready for configuration.