20260326
This commit is contained in:
25
esphome/interfaces/eth_W5500.yaml
Normal file
25
esphome/interfaces/eth_W5500.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
ethernet:
|
||||
type: w5500
|
||||
clk_pin: ${pin_eth_clk}
|
||||
mosi_pin: ${pin_eth_mosi}
|
||||
miso_pin: ${pin_eth_miso}
|
||||
cs_pin: ${pin_eth_cs}
|
||||
interrupt_pin: ${pin_eth_irq}
|
||||
reset_pin: ${pin_eth_rst}
|
||||
#clock_speed: 30 # optional defaults to 30
|
||||
|
||||
# manual_ip:
|
||||
# static_ip: ${ip}
|
||||
# gateway: ${gateway}
|
||||
# subnet: ${subnet}
|
||||
# dns1: ${dns1}
|
||||
# dns2: ${dns2}
|
||||
|
||||
text_sensor:
|
||||
- platform: ethernet_info
|
||||
ip_address:
|
||||
name: IP Address
|
||||
dns_address:
|
||||
name: DNS Address
|
||||
mac_address:
|
||||
name: MAC Address
|
||||
Reference in New Issue
Block a user