Files
hassos_config/esphome/cfg_experimental/t-eth-lite-poe.yaml
2024-04-10 14:49:07 +02:00

48 lines
991 B
YAML

substitutions:
device_name: "t-eth-lite-poe"
friendly_name: "t-eth-lite-poe"
comment: "esp32-S3"
location: "zolder"
api_password: !secret T-eth-poe-lite_api
ip: !secret T-eth-poe-lite_ip
ota_password: !secret ota_password
wifi_ssid: !secret wifi_ssid
wifi_password: !secret wifi_password
gateway: !secret ip_gateway
subnet: !secret ip_subnet
packages:
board: !include boards/esp32-S3.yaml
device_base: !include common/common.yaml
# status: !include templates/status.yaml
ota: !include common/ota.yaml
logger: !include templates/logger.yaml
external_components:
- source: github://fightforlife/esphome-components
components: [ ethernet ]
refresh: 0s
spi:
clk_pin: 10
mosi_pin: 12
miso_pin: 11
ethernet:
type: W5500
cs_pin: 9
clk_pin: 10
mosi_pin: 12
miso_pin: 11
interrupt_pin: 13
clock_speed: 25
manual_ip:
static_ip: ${ip}
gateway: ${gateway}
subnet: ${subnet}
dns1: 192.169.2.15
dns2: 1.1.1.1