HomeKey-ESP32 icon indicating copy to clipboard operation
HomeKey-ESP32 copied to clipboard

Olimex ESP32-POE ICMP works but refuses to connect on port 80 (WEB UI)

Open noname-ever opened this issue 9 months ago • 5 comments

Multiple attempts were made to make POE work using v6. It always fails when I actually enable the Ethernet. The actual issue is that the device refuses to connect on port 80 (WEB UI). However, ICMP works fine.

This is the config:

Image

Image

Image

noname-ever avatar Feb 21 '25 08:02 noname-ever

Hi,

Could you provide some logs from the serial terminal?

Thanks

rednblkx avatar Feb 22 '25 08:02 rednblkx

My device is not ISO model, I can not really provide logs when it is failing because can not connect POE and USB at the same time. However, if I disable POE on my Unifi switch, and power it through USB, I can get the logs. What is more, the Ethernet then works fine and I can access the GUI:

Image

So I provide the logs which will likely don't say anything...

`[18:41:23]I (34950) esp_netif_handlers: eth0 ip: 192.168.30.193, maets Jul 29 2019 12:21:46 [18:41:23] [18:41:23]rst:0x1 (POWERON_RESET),boot:0x1b (SPI_FAST_FLASH_BOOT) [18:41:23]configsip: 0, SPIWP:0xee [18:41:23]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 [18:41:23]mode:DIO, clock div:2 [18:41:23]load:0x3fff0030,len:4836 [18:41:23]load:0x40078000,len:14972 [18:41:23]load:0x40080400,len:4 [18:41:23]load:0x40080404,len:3420 [18:41:23]entry 0x400805b8 [18:41:24]I (651) cpu_start: Multicore app [18:41:24]I (659) cpu_start: Pro cpu start user code [18:41:24]I (659) cpu_start: cpu freq: 240000000 Hz [18:41:24]I (659) app_init: Application information: [18:41:24]I (662) app_init: Project name: HomeKey-ESP32 [18:41:24]I (668) app_init: App version: v0.6 [18:41:24]I (672) app_init: Compile time: Feb 19 2025 21:13:09 [18:41:24]I (678) app_init: ELF file SHA256: 25fe1a630... [18:41:24]I (684) app_init: ESP-IDF: v5.3.2 [18:41:24]I (688) efuse_init: Min chip rev: v0.0 [18:41:24]I (693) efuse_init: Max chip rev: v3.99 [18:41:24]I (698) efuse_init: Chip rev: v3.1 [18:41:24]I (703) heap_init: Initializing. RAM available for dynamic allocation: [18:41:24]I (710) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM [18:41:24]I (716) heap_init: At 3FFBCEF0 len 00023110 (140 KiB): DRAM [18:41:24]I (722) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM [18:41:24]I (729) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM [18:41:24]I (735) heap_init: At 4009833C len 00007CC4 (31 KiB): IRAM [18:41:24]I (743) spi_flash: detected chip: generic [18:41:24]I (746) spi_flash: flash io: dio [18:41:24]I (776) main_task: Started on CPU0 [18:41:24]I (778) main_task: Calling aI (799) SETUP: setup:1702 > Reader Data loaded from NVS [18:41:24]I (813) SETUP: setup:1747 > Misc Config loaded from NVS [18:41:24]I (815) gpio: GPIO[15]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 [18:41:24]I (818) gpio: GPIO[14]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 [18:41:24]I (827) gpio: GPIO[2]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 [18:41:24]I (836) gpio: GPIO[13]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 [18:41:24]I (847) PN532_SPI: SPI device added [18:41:24] [18:41:24] DIR : I (865) MAIN: listDir:1008 > assets [18:41:24] FILE: index.html SIZE: I (870) MAIN: listDir:1016 > 18731 [18:41:24] DIR : I (874) MAIN: listDir:1008 > routes [18:41:24]I (875) SETUP: setup:1779 > LittleFS used space: 131072 / 131072 [18:41:24]I (945) esp_eth.netif.netif_glue: b0:b2:1c:a0:d6:13 [18:41:24]I (946) esp_eth.netif.netif_glue: ethernet attached to netif [18:41:26]I (2548) MAIN: onEvent:1664 > ETH Started [18:41:26]I (2551) MAIN: onEvent:1669 > ETH Connected [18:41:26]I (2600) SETUP: setup:1818 > READER GROUP ID (8): BF2940A04DB3912D [18:41:26]I (2601) SETUP: setup:1819 > READER UNIQUE ID (8): 996D18A301F953D4 [18:41:26]I (2603) SETUP: setup:1821 > HOMEKEY ISSUERS: 1 [18:41:28]


Welcome to HomeSpan! Apple HomeKit for the Espressif ESP-32/S2/S3/C3/C6 chips


** Please ensure serial monitor is set to transmit

Message Logs: Level 0 Status LED: Pin - *** WARNING: Status LED Pin is UNDEFINED Device Control: Pin - *** WARNING: Device Control Pin is UNDEFINED Sketch Version: v0.6 HomeSpan Version: 2.1.1 Arduino-ESP Ver.: 3.1.0 ESP-IDF Version: 5.3.2 ESP32 Chip: ESP32-D0WD-V3 Rev 301 dual-core 4MB Flash ESP32 Board: esp32 PWM Resources: 16 channels, 8 timers, max 20-bit duty resolution RMT Resources: 8 transmission channels of 64 symbols each Touch Sensors: 10 pins Sodium Version: 1.0.19 Lib 26.1 MbedTLS Version: Mbed TLS 3.6.2 Sketch Compiled: N/A Partition: app0 HS Watchdog: DISABLED IDLE-0 Watchdog: ENABLED IDLE-1 Watchdog: ENABLED Reset Reason: Power-on event MAC Address: B0:B2:1C:A0:D6:10 Interface: ETHERNET

Device Name: HK-Door1

I (4694) NFCAccessoryInformation: NFCAccessoryInformation:326 > Configuring NFCAccessoryInformation [18:41:28]I (4703) LockManagement: LockManagement:311 > Configuring LockManagement [18:41:28]I (4709) LockMechanism: LockMechanism:554 > Configuring LockMechanism [18:41:28]I (4718) NFCAccess: NFCAccess:608 > Configuring NFCAccess [18:41:28] *** HomI (4730) PN532: 32 01 06 07 68 [18:41:28]I (4730) NFC_SETUP: Found chip PN532 [18:41:28]I (4731) NFC_SETUP: Firmware ver. 1.6 [18:41:28]eSpan Info ***

➤ Accessory: AID=1 ➟ Service AccessoryInformation: IID=1, UUID="3E" ⇨ Characteristic IdentiI (4752) NFC_SETUP: Waiting for an ISO14443A card [18:41:31]fy(1): IID=2, UUID="14", Perms=PW ⇨ Characteristic Manufacturer("rednblkx"): IID=3, UUID="20", Perms=PR ⇨ Characteristic Model("HomeKey-ESP32"): IID=4, UUID="21", Perms=PR ⇨ Characteristic Name("HK"): IID=5, UUID="23", Perms=PR ⇨ Characteristic SerialNumber("HK-B0B21CA0"): IID=6, UUID="30", Perms=PR ⇨ Characteristic FirmwareRevision("v0.6"): IID=7, UUID="52", Perms=PR+EV, EV=() ⇨ Characteristic HardwareFinish("AQTO1doA"): IID=8, Custom-UUID="26C", Perms=PR ➟ Service HAPProtocolInformation: IID=9, UUID="A2" ⇨ Characteristic Version("1.0.0"): IID=10, UUID="37", Perms=PR ➟ Service LockManagement: IID=11, Custom-UUID="44" ⇨ Characteristic LockControlPoint(""): IID=12, Custom-UUID="19", Perms=PW ⇨ Characteristic Version("1.0.0"): IID=13, UUID="37", Perms=PR ➟ Service LockMechanism: IID=14, UUID="45" ⇨ Characteristic LockCurrentState(0): IID=15, UUID="1D", Perms=PR+EV, Range=[0,3], EV=() (nvs) ⇨ Characteristic LockTargetState(0): IID=16, UUID="1E", Perms=PR+PW+EV, Range=[0,1], EV=() (nvs) ➟ Service NFCAccess: IID=17, Custom-UUID="266" ⇨ Characteristic ConfigurationState(0): IID=18, Custom-UUID="263", Perms=PR+EV, Range=[0,1], EV=() ⇨ Characteristic NFCAccessControlPoint(""): IID=19, Custom-UUID="264", Perms=PR+PW+WR ⇨ Characteristic NFCAccessSupportedConfiguration("AQEQAgEQ"): IID=20, Custom-UUID="265", Perms=PR

Service UUID AID IID Update Loop Button Linked Services


AccessoryInformation 3E 1 1 NO NO NO - HAPProtocolInformation A2 1 9 NO NO NO - LockManagement 44 1 11 NO NO NO - LockMechanism 45 1 14 YES NO NO - NFCAccess 266 1 17 YES NO NO -

Configured as Bridge: NO

Database Validation: Warnings=0, Errors=0

*** End Info ***

Accessory ID: C9:79:64:C8:3A:68 LTPK: 1174CD9A14983349578795F18BAB84ADE70026732E18012F19B796B0E803E104 Paired Controller: 3E30F219-D89D-419C-AFA4-8952038CC7FC (admin) LTPK: 83421EC9D8F5D0B7C0350092C259E2423513C72748292B71870247692DDC2183

Accessory configuration number: 1

HK-Door1 is READY!

I (7051) esp_netif_handlers: eth0 ip: 192.168.30.193, mask: 255.255.255.0, gw: 192.168.30.1 [18:41:31]I (7052) MAIN: onEvent:1670 > ETH Got IP: 'eth0' [18:41:31] [18:41:31]Ethernet Connected! IP Address = 192.168.30.193

Starting MDNS...

HostName: HK-B0B21CA0.local:1201 Display Name: HK-Door1 Model Name: HomeKey-ESP32 Setup ID: HSPN

I (7074) mdns_mem: mDNS task will be created from internal RAM`

I also have LILYGO T-Internet-POE dev board but it has LAN8720A with this config (which does not work either):

Image

Not sure if it has helpfull at all...

noname-ever avatar Feb 23 '25 17:02 noname-ever

I have bought "T-ETH-Lite ESP32". However, I am witnessing similar situation. The board works of WIFI but fails on LAN with POE. Would you be interested in getting Olimex ESP32-POE board so you so you can troubleshoot it further?

noname-ever avatar Apr 07 '25 19:04 noname-ever

I have an Olimex ESP32-PoE-ISO-WROVER-E board. The WROVER-E needs GPIO0_OUT in RMII clock mode! As soon as I set this, the web server no longer works on port 80 - neither via Ethernet nor via WIFI. Nothing unusual can be seen in the serial monitor, the board continues to run normally. However, in order to access the settings, the board has to be reflashed...

Is there any news on this yet?

Chris08154711-noob avatar Sep 01 '25 13:09 Chris08154711-noob

From Espressif: "GPIO0 as clock-out only works reliably if PSRAM is deactivated. With PSRAM activated (WROVER modules), we strongly recommend an external 50 MHz crystal for the PHY and EXT_IN mode."

So - can we disable PSRAM?

Chris08154711-noob avatar Sep 01 '25 14:09 Chris08154711-noob