Close

Flashing, testing email and configuring the device

A project log for ESP32 PoE board - sending emails from Tasmota

Used to much time searching the internet to not document this

dorijanDorijan 03/10/2022 at 23:150 Comments
  1. Use ESP flasher or comparable tool for flashing ESP32 devices
    https://github.com/esphome/esphome-flasher/releases
  2. Use your phone to connect to device by wifi AP set by device "tasmota ..."
  3. You will be redirected to wifi setup page (required even if you only plan to use it over Ethernet later) Use 192.168.4.1 if no auto redirection
  4. Wifi configuration page will provide you with the new IP address that it has received from the network
  5. To test sending emails just go to Consoles>Console and write + enter
    *if using this on some esp8266 or arduino script <> symbols might be required around receivers
    sendmail [smtp.gmail.com:465:gmail.username:16leterspassword:senders.email@gmail.com:receivers.email@gmail.com] test
  6. If successful you might prefer to flesh your device with a bin without extensive email debugging, since Tasmota is already installed you can use OTA update through the web interface
  7. If using Olimex ESP32 PoE Board configure the board and pinout by:
    1. Goig to Configuration > Configure Other menu
    2. Copy the template from https://templates.blakadder.com/olimex_ESP32-POE.html to the template wind
      {"NAME":"Olimex ESP32-PoE","GPIO":[1,1,1,1,1,1,0,0,5536,1,1,1,1,0,5600,0,0,0,0,5568,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,1],"FLAG":0,"BASE":1}
    3. Tick Activate and Save
    4. Restart the device
    5. Ethernet should be working
  8. If you plan on using GPIOs as input in the script make sure the pin that you are planning to use is not reserved by system
    1. Go to Configuration > Configure Template
    2. Go to the GPIO you want to use ( for example on Olimex ESP32 PoE board button is connected to GPIO34 )
    3. Select user from drop down menu

Discussions