[SOLVED] Can't get mqtt binding to work

careful :slight_smile:
/etc/openhab2/services/mqtt.cfg is the file that you should configure.
You shouldn’t modify /var/lib/openhab2/config/org/openhab/mqtt.config since this one is created automatically from the mqtt.cfg and it has a different syntax (it includes quotes)

So: delete mqtt.config, fix your mqtt.cfg and try again (restart OH2)

broker.url=tcp://127.0.0.1:1883
broker.clientId=openhab2
broker.clientId=mqtt
broker.pwd=XXXXXX

no, no need to enable the MQTT EventBus, so no need to configure anything there.