How I installed ESPHome on the wt32-eth01

Two remarks:

Use this at the beginning of your Yaml config:

esphome:
  name: 'XxXxXxX'
  platformio_options:
    upload_speed: 115200

esp32:
  board: 'wt32-eth01'

Second, after flashing the firmware using 3.3v, use 5v to power it up for operational use.

A ā€œCopy & Pasteā€ config to get started:

esphome:
  name: 'WT32ETH01'
  platformio_options:
    upload_speed: 115200

esp32:
  board: 'wt32-eth01'

#Enable Logging
logger:
  level: 'DEBUG'
  
ethernet:
  type: 'LAN8720'
  mdc_pin: 'GPIO23'
  mdio_pin: 'GPIO18'
  clk_mode: 'GPIO0_IN'
  phy_addr: 1
  power_pin: 'GPIO16'
  
web_server:
  port: 80

api:
  
ota:
   id: '_idWT32ETH01OTA'
   safe_mode: true
   password: !secret scrt_ota_passwd
   port: !secret scrt_ota_port
   
#i2c:
#  - id: '_idI2C0'
#    sda: 33
#    scl: 32
#    scan: true
#    frequency: 100kHz

Thank you! I had no clue on how to make connection. This helped me a lot!

how do you power these after flashing, the ones I see on aliexpress do not look to have usb port for power?

I assume use the 5v and ground pins?

Exactly. Or 3.3V and GND - check the manual.

never gotten a manual before.

Then I suggest you use your favorite search engine and type the words ā€œwt32-eth01 manualā€. You will be surprised how easy it is to locate the user manual.

1 Like

Not sure if this will help anyone else, but I noticed that OTAā€™s can fail silently when you are using GPIO 12. Instead, the OTA update says it has succeeded, but on boot you will see the last compiled datetime has not changed. You will also notice that the upload takes less time (e.g. <1s vs ~3s). There will be no errors.

As per the docs, GPIO 12 is used during boot to determine the Flash voltage. That may be a red herring.

I have noted an issue about silent OTA failures with ESPHome, so please go comment if you are affected too:
WT32-ETH01 ESPHome OTA update fails silently Ā· Issue #5259 Ā· esphome/issues (github.com)

Manā€¦ I still canā€™t get it to work.
Iā€™m able to flash and when starting up the ESP32, there is activity on the LAN port.

No sign of the device on my router though.

The device is still powered through the USB to TTL by the %V and GND. Is this not correct?

Hereā€™s my ESPHome config, just in case

esphome:
  name: ethergloop
  friendly_name: ethergloop    
  platformio_options:
    upload_speed: 115200

esp32:
  board: 'wt32-eth01'

# Enable logging
logger:
  level: 'DEBUG'

ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO0_IN
  phy_addr: 1
  power_pin: GPIO16  

web_server:
  port: 80

# Enable Home Assistant API
api:
  encryption:
    key: "xyz"

ota:
  password: "xyz"

Can anyone think of anything Iā€™m doing wrong?

Thanks

Depends on the current it can supply. Are you using 3.3V oder 5V? The 3.3V regulators on the TTL converters that I use do not provide enough power to run the board. Usually, I attach a USB breakout board to the 5V and GND pins and power it via a cell phone charger.

Thanks for your reply. Iā€™m using the 5V pin of the USB to TLL adapter to power it.
I have a micro USB to dupont adapter coming in the mail at some point.
Iā€™ll try off a cellphone charger then.

Then I added a device, chose to skip the wifi step and edited the .yaml to this:

How do you skip the wifi step ? All I see is this

The post refers to the ESPHome Dashboard, not to Home Assistant. You are trying to connect to an existing ESPHome node from Home Assistant, it doesnā€™t matter whether itā€™s WiFi or LAN in this screen.

You have to type IP address that routerā€™s DHCP has given to the module. You can find it in the routerā€™s menu, in the address reservation page.
My mistake. I should have read the message and the picture better.

1 Like

Just to update you all.
There is a next generation of this WT32-ETH01 available which has a POE hat.
You can find it here
https://www.aliexpress.com/item/1005006063778363.html?gatewayAdapt=glo2nld

2 Likes

Bought a couple of wt32-eth01 on aliexpress and I keep getting this error:
A fatal error occurred: This chip is ESP32-C3 not ESP32. Wrong --chip argument?
Is it possible these are knockoffs? They are definitely not the new WT32-ETH01-EVO so Iā€™m not really sure where to go from hereā€¦ I canā€™t enable ethernet on the esp32-c3 stack because I get pin out of range errors on config validationā€¦ any ideas?

Which PCB markings are there? The eth01 has a version number printed. Or maybe you could post a picture of the board?

There is a ESP32-C3 based version called the ETH01-EVO that has a DM9051NP SPI ethernet chip. There is also a POE module for this board.

At this time there is no ESPHome support but there is a feature request so maybe add an I want this too.

2 Likes

Sorry, hereā€™s a pic:


It looks identical to the ones I see onlineā€”hence thinking itā€™s not the EVO (and thereā€™s no evidence of POE on this board)

One more piece of info is that Iā€™m programming it using an old Arduino (I pulled the ic off). I donā€™t think that makes a difference, especially since it does flash c3 images just fine.

Back: