1
0
Fork 0

Try wt32-eth01

This commit is contained in:
Malte 2022-12-02 01:22:39 +01:00
parent 5bd83cd18d
commit 7b95f6eba2
5 changed files with 26 additions and 6 deletions

View file

@ -1 +1,5 @@
.esphome/
# Gitignore settings for ESPHome
# This is an example and may include too much for your use-case.
# You can modify this file to suit your needs.
/.esphome/
/secrets.yaml

View file

@ -0,0 +1,5 @@
substitutions:
macsuffix: b27a0c
<<: !include ../includes/wt32-eth01.yaml
<<: !include ../includes/base.yaml

View file

@ -22,9 +22,6 @@ ota:
web_server:
port: 80
# https://esphome.io/components/captive_portal.html
captive_portal:
# https://esphome.io/components/time.html
time:
- platform: sntp
@ -37,5 +34,3 @@ text_sensor:
# https://esphome.io/components/text_sensor/version.html
- platform: version
name: "${macsuffix}_version"
wifi: !include ../../private/esphome-wifi.yaml

View file

@ -1,6 +1,9 @@
esp8266:
board: d1_mini
# https://esphome.io/components/captive_portal.html
captive_portal:
i2c:
# default: sda: GPIO4
# default: scl: GPIO5
@ -23,3 +26,5 @@ output:
pin:
number: GPIO2
inverted: true
wifi: !include ../../private/esphome-wifi.yaml

View file

@ -0,0 +1,11 @@
esp32:
board: esp32dev
variant: esp32
ethernet:
type: LAN8720
mdc_pin: GPIO23
mdio_pin: GPIO18
clk_mode: GPIO0_IN
phy_addr: 1
power_pin: GPIO16