esp32-poe-int ethernet config ESPHOME

esphome:
name: esp32
platform: ESP32
board: esp32-poe-iso

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

# Optional manual IP
manual_ip:
static_ip: 10.0.10.240
gateway: 10.0.10.254
subnet: 255.255.255.0
dns1: 10.0.10.253

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:

binary_sensor:
– platform: gpio
name: “Pin GPIO3”
pin: GPIO3

– platform: gpio
name: “Pin GPIO2”
pin: GPIO2

Close Menu