Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issues with Ethernet connection
#1
I have just received the KC868-M16-V2.1 board with PoE module.

I am able to power the board ok with PoE. however I am unable to get ESPHome to connect via Ethernet.

ESPHome config is

Code:
ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO17_OUT
  phy_addr: 0


I have also added static IP as follows:

Code:
ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO17_OUT
  phy_addr: 0

  manual_ip:
    static_ip: 192.168.85.24
    gateway: 192.168.85.1
    subnet: 255.255.255.0
    dns1: 192.168.85.1


Getting errors about IP when using DHCP
Code:
[16:51:12][I][ethernet:248]: Starting ethernet connection
[16:51:12][W][component:157]: Component ethernet set Warning flag: waiting for IP configuration

When using StaticIP it looks promising
Code:
[16:51:12][I][ethernet:259]: Connected via Ethernet!
[16:51:12][C][ethernet:515]:   IP Address: 192.168.85.24
[16:51:12][C][ethernet:516]:   Hostname: 'energy-monitor'
[16:51:12][C][ethernet:517]:   Subnet: 255.255.255.0
[16:51:12][C][ethernet:518]:   Gateway: 192.168.85.1
[16:51:12][C][ethernet:523]:   DNS1: 192.168.85.1
[16:51:12][C][ethernet:524]:   DNS2: 0.0.0.0
[16:51:12][C][ethernet:536]:   MAC Address: E4:65:B8:6A:91:FC
[16:51:12][C][ethernet:537]:   Is Full Duplex: YES
[16:51:12][C][ethernet:538]:   Link Speed: 100

However it is unable to be seen on the network at all.

I have tried different cables and ports on my network switch.
Reply


Messages In This Thread
Issues with Ethernet connection - by michaelonmac - 04-15-2025, 07:05 AM
RE: Issues with Ethernet connection - by admin - 04-15-2025, 08:20 AM
RE: Issues with Ethernet connection - by admin - 04-16-2025, 05:25 AM
RE: Issues with Ethernet connection - by admin - 04-16-2025, 10:12 AM
RE: Issues with Ethernet connection - by admin - 04-16-2025, 10:16 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)