ESP 12F Quickstart - JRInge/Tasmota GitHub Wiki
My way of getting Tasmota going from scratch on an ESP-12F / D1 Mini clone:
-
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. -
Add the new variant into platformio_tasmota_cenv.ini.
-
Load the repo into Gitpod by prefixing the address with
https://gitpod.io/#
-
Add the
secrets.h
file to thetasmota
folder in Gitpod. -
Compile the firmware using the Gitpod console:
platformio run -e tasmota-variantname
-
Download the compiled
.bin
file from thebuild_output/firmware
folder in Gitpod. -
Install
esptool.py
if necessary:sudo apt install esptool
-
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.