Using nodemcu with Openhab

You will need to configure MQTT in ESPEasy. Normally you don’t need to configure GPIO until you want to inverse the logic.
I’ve posted my working example here
Please take a look.