For a rookie a DIY startup tutorial would be great… but google doesn’t have it yet.
Still fighting to connect via ethernet…
Please post your code properly.
‘Does not work’ is unhelpful.
Solved the ethernet, connenction and receive data from sensor looking at ESP log.
In HA lovelace tells that the 3 sensors are unknown or unavailable…
Current code:
esphome:
name: evb001
platform: ESP32
board: esp32-evb
ethernet:
type: LAN8720
mdc_pin: GPIO23
mdio_pin: GPIO18
clk_mode: GPIO0_IN
phy_addr: 0
manual_ip:
static_ip: 192.168.1.110
gateway: 192.168.1.1
subnet: 255.255.255.0
#wifi:
# ssid: "gaac"
# password: "xxxxxxxxxxxx"
#
# Enable fallback hotspot (captive portal) in case wifi connection fails
# ap:
# ssid: "Evb001 Fallback Hotspot"
# password: "xxxxxxxxxxxxxx"
#
#captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
web_server:
port: 80
i2c:
sda: 13
scl: 16
scan: True
id: bus_a
sensor:
- platform: bme280
temperature:
name: "BME280_Temperature"
oversampling: 16x
pressure:
name: "BME280_Pressure"
humidity:
name: "BME280_Humidity"
address: 0x77
update_interval: 10s
Some logs might help.
How did you flash Esphome to this device? Did you just use usb?
EDIT
Actually connection is no problem. Did you get final code for ethernet function and relay control?