WT32-ETH01: Ethernet stops working when using Sensors2MQTT Usermod

Hello everyone,

Today I got a WT32-ETH01 Board and it works fine with the standard WLED 0.13.0-b6 Ethernet firmware but if I compile a custom firmware (using a slightly modified Sensors2MQTT-Usermod) the Ethernet stops working when the board gets cut off power or gets rebooted via the UI.
In Detail: After I turn the Ethernet-Setting ON after the first fresh boot, the Ethernet works fine. If later the board loses power or I reboot WLED, the Ethernet suddenly stops working and nothing will bring it back (reboots etc). It can be seen because of the green LAN-LED, too. When its working the LED is blinking, when its not the LED keeps a steady green.
As I mentioned before the problem occurs when i try to use Sensors2MQTT (modified for HTU21D). My software shouldn’t be a problem as I use the same on multiple other ESP32s with the same Sensor without a problem. Another Usermod that I tried (SN_Photoresistor usermod) works fine whereas the BME280_v2 Usermod resulted in the same problem as with Sensors2Mqtt.

I know that the WT32-ETH01 has a limited amount of usable GPIOs. I think I tried all of these as I2C Pins, but especially GPIOs 14 and 15. Furthermore it’s important to know, that the WT32-ETH01 keeps working perfectly over Wifi when I set up the connection. Just the Ethernet won’t work.

I think it must be a Software problem but I really don’t know what might cause it. The last hours I tried many things like changing GPIOs, rebooting, testing the same code on other ESP32s, adjusting the code hoping that I might find a fix.

Maybe someone got an idea? ^^

I’ve read gpio 12 of set to high can cause an issue on reboot.