MQTT Hub/Gateway

Since the HomeyDuino app does not updates anymore I think about to change my ESP8266 devices to use MQTT instead. Does anyone have an Arduino example to share?

I was helpt a lot in the beginning with the examples on github for the Homeyduino.