User Tools

Site Tools


tasmotabuild

This is an old revision of the document!


Build Tasmota from Scratch on linux

Cli only / (no vscode needed)

Look here but install python3-pip instead of python-pip on ubuntu >=20 https://tasmota.github.io/docs/PlatformIO-CLI/#download-the-tasmota-source-code

Put this at the end of tasmota/user_config_override.h. Fill in passwords and MQTT Server.

// !!! Remember that your changes GOES AT THE BOTTOM OF THIS FILE right before the last #endif !!!
*/


#undef  CFG_HOLDER
#define CFG_HOLDER        4723                  // [Reset 1] Change this value to load SECTION1 configuration parameters to flash

#define MODULE                 SONOFF_BASIC      // [Module] Select default module from tasmota_template.h

#undef MQTT_FULLTOPIC 
#define MQTT_FULLTOPIC         "%prefix%/%topic%/" // [FullTopic] Subscribe and Publish full topic name - Legacy topic
#undef MQTT_TOPIC
#define MQTT_TOPIC             "SONOFF/%06X"   // [Topic] unique MQTT device topic including (part of) device MAC address

// -- Setup your own Wifi settings  ---------------
#undef  STA_SSID1
#define STA_SSID1         "stystowlan2"             // [Ssid1] Wifi SSID

#undef  STA_PASS1
#define STA_PASS1         ""     // [Password1] Wifi password

// -- Setup your own Wifi settings  ---------------
#undef  STA_SSID2
#define STA_SSID2         "homebasket3"             // [Ssid1] Wifi SSID

#undef  STA_PASS2
#define STA_PASS2         ""     // [Password1] Wifi password

// -- Setup your own MQTT settings  ---------------
#undef  MQTT_HOST
#define MQTT_HOST         "192.168.0.18" // [MqttHost]


tasmotabuild.1638817355.txt.gz · Last modified: 2022/08/09 15:20 (external edit)