Thanks to Juraj pointing me that UPIEthernet is just a replacement for the Ethernet library, I finnally found [this article][1] Which works just fine. [1]: https://www.instructables.com/id/A-Simple-MQTT-PubSub-Node-With-Arduino-UNO-and-ENC/