I'm working on a project where I need to remotely monitor and control a Femtobeam GT2422 optical transceiver using an ESP32 over Ethernet. The goal is to host a secure (HTTPS) web interface directly on the ESP32 that I can access remotely to toggle a relay (turning the transceiver on or off) and read values like power or optical loss, possibly via ADC or UART. I want to do this entirely over a wired Ethernet connection, not Wi-Fi, and the ESP32 will be deployed in a remote location connected to a local Ethernet hub. From about 5 km away, I'd like to access the ESP32 by entering its IP in a browser and using a custom UI hosted from its internal storage. I'm trying to decide between boards like the WT32-ETH01 or ESP32-POE and I'm looking for guidance or examples where Ethernet with ESPAsyncWebServer, HTTPS, SPIFFS/LittleFS, and relay control have been implemented together in a similar setup. Or should I just use a raspberry pi say 5 instead and how would the situation be in that case? Any input from those who have done similar work would be really appreciated.
