mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
22 lines
410 B
YAML
22 lines
410 B
YAML
ethernet:
|
|
id: eth
|
|
type: LAN8720
|
|
mdc_pin: GPIO23
|
|
mdio_pin: GPIO18
|
|
clk:
|
|
pin: GPIO17
|
|
mode: CLK_OUT
|
|
power_pin: GPIO5
|
|
phy_addr: 0
|
|
|
|
use_address: ${devicename}.local
|
|
|
|
manual_ip:
|
|
static_ip: ${static_ip}
|
|
gateway: !secret iot_default_gateway
|
|
subnet: !secret iot_subnet_mask
|
|
dns1: !secret iot_default_dns1
|
|
|
|
packages:
|
|
text_sensor: !include text_sensor/ethernet_info.config.yaml
|