Compiling the right software.
Settings for TasmoCompiler were:
Minimal packages required to have web console, Ethernet and email working are:
- ESP32 Generic
- Berry scripting
- MQTT over TLS
- Web Interface
- tasmota32-ethernet-wEmailDebugging.bin has this configuration and email debugging enabled, for someone that needs to debug their email script
- tasmota32-ethernet-email.bin is without debugging for email bu has several addition modules added:
Air/gas sensors, Bluetooth, Home Assistant, IR support, Light sensors, MQTT over TLS, Script, Temp/Hum sensors, Timers, Web interface, WS2812 Leds
Custom parameters were:
#define USE_ESP32MAIL
#define DEBUG_EMAIL_PORT // this is the magic bullet for all those {"Sendmail":"Wrong parameters"}
#define EMAIL_SERVER "smtp.gmail.com"
#define EMAIL_PORT 465
#define EMAIL_USER "gmail.username"
#define EMAIL_PASSWORD "16leterpassword" // generated by gmail as application specific password
#define EMAIL_FROM "senders.email@gmail.com"
#define USE_ETHERNET
// Olimex ESP32-PoE
#define ETH_TYPE 0 // [EthType] 0 = ETH_PHY_LAN8720, 1 = ETH_PHY_TLK110, 2 = ETH_PHY_IP101
#define ETH_ADDRESS 0 // [EthAddress] 0 = PHY0 .. 31 = PHY31
#define ETH_CLKMODE 3 // [EthClockMode] 0 = ETH_CLOCK_GPIO0_IN, 1 = ETH_CLOCK_GPIO0_OUT, 2 = ETH_CLOCK_GPIO16_OUT, 3 = ETH_CLOCK_GPIO17_OUT
Version used was: Tasmota v11.0.0 English