nickrout’s suggestion still applies… no reason you couldn’t add an ethernet breakout to the esp32, as well as control a relay breakout or read switches (via GPIO binary_sensors). ESPhome can do all of the above.
[edit: Toni hit the reply button before I finished… that looks like an even better way to go. Just have to figure out the esphome config is all… and of course wire up your sensors, relays, etc.]
There at least two esp32 boards with inbuilt POE. The Olimex and another one which I cannot remember the name, but both are dealt with at length in another thread on here.
From memory both use the LAN8720
chipset so are compatible with esphome https://esphome.io/components/ethernet.html
I’m surprised that there aren’t fully developed projects with wired LAN devices.
I will have to add separated sensors + relays + code.
For me is a huge task, because I’m very rusty in code… many sleepless nights to come
esphome makes the code easy, or perhaps easier
I think many people do not have poe through the house and wireless is just easier.
Olimex and wesp… each one around 30USD + sensors + relays
1 per room in house
I will try to make a prototype…
Thanks. Esphome seems to be the way to go and this 2 boards (olimex and wesp) seems to be the only ready made options
In response to the post you just deleted, Euro 17.95 for this one, just don’t plug in the usb while it is powered from POE. https://www.olimex.com/Products/IoT/ESP32/ESP32-POE/open-source-hardware
Here is the other thread by the way, ESPHome Ethernet connectivity feature request
I finnaly found that price, that’s why I deleted Thanks
Be interested to know how you go. What are you controlling with the relays?
6CH relays for:
- 2CH Window external blinds (open/close)
- 2CH Light switch
- 1CH radiant floor valve
- 1CH future use
This is getting close ESP32-EVB - Open Source Hardware Board
Missing yaml files to fully support it in HA
The full schematics are there to help with that.
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?