Olimex ESP32 POE

Hi, I uploaded the esp32-Olimex-gtw-ble-eth to my device and it gets an IP and is powered via POE. But I can not open the webpage to configure. Should it be possible via the webpage or should I compile it with e.g Arduino IDE and my MQTT settings in a config file?

Hi,

You will need to compile it yourself, also I remember this issue that may be still here: No BLE scans from esp32-olimex-gtw-ble-eth if powered from PoE (no USB) · Issue #841 · 1technophile/OpenMQTTGateway · GitHub

Here is an example of the configuration for my OLIMEX gateway without POE:

[env:esp32-olimex-gtw-ble-eth]
platform = ${com.esp32_platform}
board = esp32-gateway
board_build.partitions = min_spiffs.csv
lib_deps =
  ${com-esp.lib_deps}
  ${libraries.ble}
build_flags =
  ${com-esp.build_flags}
  '-DZgatewayBT="BT"'
  '-DLED_RECEIVE=33'
  '-DLED_RECEIVE_ON=1'
  '-DESP32_ETHERNET=true'
  '-DMQTT_USER="oli"'
  '-DMQTT_PASS="qqqqqqq'
  '-DMQTT_SERVER="192.168.1.18"'
  '-DOMG_VERSION="v0.9.9beta"'
  '-DGateway_Name="OpenMQTTGateway_ESP32_OLM_GTWE"'
  '-DTimeBtwRead=55000'
  '-DScan_duration=5000'
  '-DAttemptBLECOnnect=false'

Unfortunately issue is still there! I only receive Sys messages with uptime and ip etc. No other messages were transmitted. So power through POE is possible but data connection need to be made via wlan…

Tested with 0.9.9 and 0.9.8

Could you try a basic BLE scan example to see if you get something when on POE:

How to do it if I am not allowed to connect POE and USB at the same time?

That’s a point indeed, a laptop on the battery + wifi is maybe a good track to provide isolation and get the serial data?

Sorry, I didn’t get the point again. Powered with POE and connected with WLAN is fine. Only it is not working when powered with POE and connected wir Ethernet. So i don’t geht hier your suggestion will help ?

My proposal enables to get the serial data by having better electrical isolation. The laptop needs to be disconnected from your electrical and ethernet network to avoid issues when connected to the board by USB.
Note that I’m not competent with POE and I don’t have this type of board, so use it at your own risk.

Unfortunately, I don’t know if the power will come from the USB or POE if it works.
If it fails, this means that we can analyze the serial output here.

Is it possible to forward the log output to a text file which is accessible via the web interface? Link is active when it is powered over Poe and dhcp also works fine. Then it should produce the most realistic log output.

not currently, I think my best guess is to ask a board to Olimex

Boards received. Let me get a poe switch and I will update here.

Could you try this:

[env:esp32-olimex-gtw-ble-eth]
platform = ${com.esp32_platform}
board = esp32-poe
board_build.partitions = min_spiffs.csv
lib_deps =
  ${com-esp.lib_deps}
  ${libraries.ble}
build_flags =
  ${com-esp.build_flags}
  '-DZgatewayBT="BT"'
  '-DESP32_ETHERNET=true'
  '-DMQTT_USER="oli"'
  '-DMQTT_PASS="qqqqqqq'
  '-DMQTT_SERVER="192.168.1.18"'
  '-DOMG_VERSION="v0.9.9"'
  '-DGateway_Name="OpenMQTTGateway_ESP32_OLM_POE"'
  '-DTimeBtwRead=55000'
  '-DScan_duration=5000'
  '-DAttemptBLECOnnect=false'

I got it working on my side

Added here:

Currently busy with other house topics. Will go through it and check it asap.

Regards