Hi
Can you show me connexion wire on esp32 POE. my I2C is not detected on esphome (for bme280 and display) ?
Regards
Giloris
I’m trying to set up 2 olimex-esp32-poe-iso in ESPHome. I can get them to work in ESPhome, they get discovered in HA Integration, but when I go to configure them I get this message:
Can’t connect to ESP. Please make sure your YAML file contains an ‘api:’ line.
both files have the “api:” line in them.
Any suggestion and/or help is appreciated.
Post your logs and your yaml.
I apologize, first time to request help on this forum.
How do you post yaml and log files. all I found was for photos
As I said above, I apologize, first time, etc. Sorry to have bothered you. I’ll figure it out.
That post tells you how to post code!
My garage.yaml
esphome:
name: garage
platform: ESP32
board: esp32-poe-iso
ethernet:
type: LAN8720
mdc_pin: GPIO23
mdio_pin: GPIO18
clk_mode: GPIO17_OUT
phy_addr: 0
power_pin: GPIO12
manual_ip:
static_ip: !secret garage
gateway: !secret gateway
subnet: !secret subnet
dns1: !secret dns1
logger:
api:
password: !secret api
ota:
password: !secret ota
web_server:
port: 80
switch:
- platform: gpio
pin: GPIO33
id: relay
inverted: true
- platform: template
name: OESP32 Relay
icon: mdi:garage
turn_on_action:
- switch.turn_on: relay
- delay: 500ms
- switch.turn_off: relay
my garage.log, from a board reset
[07:54:39]
[07:54:39]rst:0x1 (POWERON_RESET),boot:0x1f (SPI_FAST_FLASH_BOOT)
[07:54:39]configsip: 0, SPIWP:0xee
[07:54:39]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[07:54:39]mode:DIO, clock div:2
[07:54:39]load:0x3fff0018,len:4
[07:54:39]load:0x3fff001c,len:1044
[07:54:39]load:0x40078000,len:8896
[07:54:39]load:0x40080400,len:5828
[07:54:39]entry 0x400806ac
[07:54:39][I][logger:214]: Log initialized
[07:54:39][I][app:029]: Running through setup()...
[07:54:39][C][switch.gpio:011]: Setting up GPIO Switch 'relay'...
[07:54:39][D][switch:017]: 'relay' Turning OFF.
[07:54:39][D][switch:037]: 'relay': Sending state ON
[07:54:39][D][switch:017]: 'relay' Turning OFF.
[07:54:39][C][ethernet:037]: Setting up Ethernet...
[07:54:39][D][esp32.preferences:113]: Saving preferences to flash...
[07:54:39][I][ethernet:085]: Starting ethernet connection
[07:54:43][I][ethernet:096]: Connected via Ethernet!
[07:54:43][C][ethernet:226]: IP Address: 192.168.30.42
[07:54:43][C][ethernet:227]: Hostname: 'garage'
[07:54:43][C][ethernet:228]: Subnet: 255.255.0.0
[07:54:43][C][ethernet:229]: Gateway: 192.168.30.1
[07:54:43][C][ethernet:240]: DNS1: 192.168.30.1
[07:54:43][C][ethernet:241]: DNS2: 0.0.0.0
[07:54:43][C][ethernet:244]: MAC Address: 08:3A:F2:31:5C:93
[07:54:43][C][ethernet:245]: Is Full Duplex: YES
[07:54:43][C][ethernet:246]: Link Up: YES
[07:54:43][C][ethernet:247]: Link Speed: 100
[07:54:43][C][web_server:085]: Setting up web server...
[07:54:43][C][api:025]: Setting up Home Assistant API server...
[07:54:43][I][app:060]: setup() finished successfully!
[07:54:43][I][app:099]: ESPHome version 2021.10.3 compiled on Nov 11 2021, 18:52:51
[07:54:43][C][switch.gpio:048]: GPIO Switch 'relay'
[07:54:44][C][switch.gpio:048]: Inverted: YES
[07:54:44][C][switch.gpio:049]: Pin: GPIO33
[07:54:44][C][switch.gpio:071]: Restore Mode: Restore (Defaults to OFF)
[07:54:44][C][template.switch:058]: Template Switch 'OESP32 Relay'
[07:54:44][C][template.switch:058]: Icon: 'mdi:garage'
[07:54:44][C][template.switch:059]: Restore State: NO
[07:54:44][C][template.switch:060]: Optimistic: NO
[07:54:44][C][logger:233]: Logger:
[07:54:44][C][logger:234]: Level: DEBUG
[07:54:44][C][logger:235]: Log Baud Rate: 115200
[07:54:44][C][logger:236]: Hardware UART: UART0
[07:54:44][C][ethernet:119]: Ethernet:
[07:54:44][C][ethernet:226]: IP Address: 192.168.30.42
[07:54:44][C][ethernet:227]: Hostname: 'garage'
[07:54:44][C][ethernet:228]: Subnet: 255.255.0.0
[07:54:44][C][ethernet:229]: Gateway: 192.168.30.1
[07:54:44][C][ethernet:240]: DNS1: 192.168.30.1
[07:54:44][C][ethernet:241]: DNS2: 0.0.0.0
[07:54:44][C][ethernet:244]: MAC Address: 08:3A:F2:31:5C:93
[07:54:44][C][ethernet:245]: Is Full Duplex: YES
[07:54:44][C][ethernet:246]: Link Up: YES
[07:54:44][C][ethernet:247]: Link Speed: 100
[07:54:44][C][ethernet:121]: Power Pin: GPIO12
[07:54:44][C][ethernet:122]: MDC Pin: 23
[07:54:44][C][ethernet:123]: MDIO Pin: 18
[07:54:44][C][ethernet:124]: Type: LAN8720
[07:54:44][C][web_server:160]: Web Server:
[07:54:44][C][web_server:161]: Address: 192.168.30.42:80
[07:54:44][C][api:134]: API Server:
[07:54:44][C][api:135]: Address: 192.168.30.42:6053
[07:54:44][C][api:139]: Using noise encryption: NO
Hi @cond
Thanks for the share and plan to do the same. Does your design fits too the ESP21-POE board (the non ISO one) ?
Thanks
Vincèn
Hi Vincen
I can’t say for sure as I haven’t used that model, but I’d imagine it would be pin compatible at least…
Well the pin compatibility was not my issue, it’s more the size as the Olimex board I have is well smaller in fact so it fits too well in the box
Hehe. So it’s working OK for you and fitted in the box? I think (but haven’t looked) that the board will fit in but will need something to stop if siding down in the case, especially while you push the patch cord in. Anyway, please let me know how it goes.
Well that’s the main issue in fact with that board Will check with my guy if he can modify design for that version of Olimex board and will share it back
Could you post a link to the screen you’re using in this project pls?
Shop for “SSD1306 i2c”
Get the 4 pin type for easiest use, like this :
1st post was updated with this text:
Some people were asking about the pin outs. Both the screen and the BME280 use the i2c bus so just connect to those (pins 13 and 16) and the 3.3v and ground. These pins are also available on the 10way IDC port on top of the board so you can use both set of pinouts for easy hooks ups.
There’s also some bloke selling my cases for this here (not affiliated or endorsed)
Can I ask whats the purpose of this little pillar in the sensor bay.
Great case to by the way!
That’s to mount the BME280 to as there’s a hole in it that you push this into.