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
#ifdefblock 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.hfile to thetasmotafolder in Gitpod. -
Compile the firmware using the Gitpod console:
platformio run -e tasmota-variantname -
Download the compiled
.binfile from thebuild_output/firmwarefolder in Gitpod. -
Install
esptool.pyif 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.