LILYGO T-ETH-Lite ESP32 not connecting via Ethernet

I updated to the latest ESPHome version and was trying to hook up my “LILYGO T-ETH-Lite ESP32 (POE)” but it is not recognized by the network anymore via Ethernet (wifi works)?

My config:

esphome:
  name: eth2
  friendly_name: eth2

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "(...)"

ota:

ethernet:
  type: RTL8201
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO0_IN
  phy_addr: 0
  power_pin: GPIO12

“latest” is not a version.

What version does it work with? What version does it not work with?

What do your logs tell you?

ESPHome version 2024.5.2 compiled on May 23 2024, 09:52:35

I cannot read the logs when connected via Ethernet, Wifi Works.

You didn’t answer this fully.

I’m having the same issue with both of them that I have. Mine aren’t the POE version though. It looks like I tried to upgrade to 2024.5.x when it disconnected. It was probably upgraded from 2024.3 or 2024.4. I haven’t been able to pull logs but I was able to downgrade one to 2023.12.5 and it works fine on that version. I know it’s pretty vague. Just throwing it out there that I have the same problem in the same hardware

1 Like

Hi @Twillist, yes that was in fact it. Basically confirmed my suspicion because for me it was working before as well.

So I reinstalled ESPHome version 2023.12.5 compiled a basic script:

esphome:
  name: eth-test
  friendly_name: eth-test

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

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

ota:
  password: "..."

ethernet:
  type: RTL8201
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO0_IN
  phy_addr: 0
  power_pin: GPIO12   

… and it works again. Doing the same with a newer version (up to the newest ESPHome version 2024.5.4) the ethernet connection does not work.

I filed an issue with the esphome community. Expect updates here:

Awesome thanks for doing that. Some one on the discord had the same issue and it’s being discussed over there as well

Feel free to copy the link to the GitHub issue into the discord discussion if you are active there.

Will do. I’ll respond back here if anything is figured out

Wow those people in the discord are great. There’s already a fix posted on the GitHub linked above

1 Like

Hello @pixelwave. I’m in the same situation.

I’m working with the last ESPHome, 2025.4.0.

I’ve tried the diferent external components and nothing…
I’ve tried too with and without manual ip and nothing…

Any idea? Thank you very much.

This is my yaml:

esphome:
name: $devicename

esp32:
board: esp32dev
framework:
type: arduino

# Enable logging
logger:
  baud_rate: 0
 
# Enable Home Assistant API
api:
  encryption:
    key: "******"

ota:
  - platform: esphome
    password: "****"

external_components:
  - source: github://esphome/esphome#6836
    components: [ ethernet ]

ethernet:
  type: RTL8201
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO0_IN
  phy_addr: 0
  power_pin: GPIO12

#  manual_ip:
#    static_ip: 192.168.178.111
#    gateway: 192.168.178.1
#    subnet: 255.255.255.0
#    dns1: 192.168.178.1

I am currently only using the new Lilygo T-ETH-ELITE board.

It uses the ETH W5500 component (no external) as the T-ETH-Lite ESP32 S3 and works for months now.

# T-ETH-ELite
ethernet:
  type: W5500
  clk_pin: GPIO48
  mosi_pin: GPIO21
  miso_pin: GPIO47
  cs_pin: GPIO45
  interrupt_pin: GPIO14
  #reset_pin: GPIOXX
1 Like

whats your entire config because this says the pin number are invalid

Entire yaml?

This is one I currently use:

# PC Desk Controller
substitutions:
  # System Definitions
  comment: "Modular ESP32 Controller (LED, Switches & More)"
  device_name: office-desk-controller
  friendly_name: (OFFICE) Desk Controller

  # Controller Variables
    # -> Desk Switch (UP/DOWN)
  RELAY_pin: GPIO15
    # -> LED Output Definitions
      # Desk LED
  LED1_pin: GPIO5
  LED1_num_leds: "62"
  LED1_type: "GRB"
  LED1_variant: "WS2812"
  LED1_name: "Desk LED"
      # Display LED
  LED2_pin: GPIO4
  LED2_num_leds: "34"
  LED2_type: "GRB"
  LED2_variant: "WS2812"
  LED2_name: "Monitor LED"


esphome:
  name: ${device_name}
  friendly_name: ${friendly_name}
  comment: ${comment}

esp32:
  board: esp32-s3-devkitc-1
  framework:
    type: arduino

# Enable logging
logger:

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

ota:
  - platform: esphome
    password: "..."

# T-ETH-ELite
ethernet:
  type: W5500
  clk_pin: GPIO48
  mosi_pin: GPIO21
  miso_pin: GPIO47
  cs_pin: GPIO45
  interrupt_pin: GPIO14
  #reset_pin: GPIOXX

#captive_portal:

light:
  # LED Light Strip 1
  - platform: fastled_clockless
    chipset: $LED1_variant
    pin: $LED1_pin
    num_leds: $LED1_num_leds
    rgb_order: $LED1_type
    name: $LED1_name
    id: light1
    on_turn_on:
      - switch.turn_on: led_relay
    on_turn_off:
      - if:
          condition:
            and:
              - light.is_off: light1
              - light.is_off: light2
          then:
            - switch.turn_off: led_relay
  # LED Light Strip 2
  - platform: fastled_clockless
    chipset: $LED2_variant
    pin: $LED2_pin
    num_leds: $LED2_num_leds
    rgb_order: $LED2_type
    name: $LED2_name
    id: light2
    on_turn_on:
      - switch.turn_on: led_relay
    on_turn_off:
      - if:
          condition:
            and:
              - light.is_off: light1
              - light.is_off: light2
          then:
            - switch.turn_off: led_relay

  #   # Effects
  #   effects:
  #     # Random colors for each LED
  #     - random:
  #         name: "Random Colors"
  #         transition_length: 2s
  #         update_interval: 3s

  #     # Rainbow Effect
  #     - addressable_rainbow:
  #         name: "Rainbow"
  #         speed: 10
  #         width: 50

  #     # Twinkle Effect
  #     - addressable_twinkle:
  #         name: "Twinkle"
  #         twinkle_probability: 5%
  #         progress_interval: 4ms

switch:
  # LED RELAY
  - platform: gpio
    name: "LED Relay"
    pin: $RELAY_pin
    id: led_relay

can work with esp-idf

esp32:
  board: esp32-s3-devkitc-1
  variant: esp32s3
  framework:
    type: esp-idf
    sdkconfig_options:
      CONFIG_ESP32S3_SPIRAM_SUPPORT: y
      CONFIG_SPIRAM_BOOT_INIT: y