check a couple of things first to start with the troubleshooting:
0) Read through MQTT Binding (v1.11) Getting Started 101
- Check the log files (in
/var/log/openhab2/
directory) - Check the contents of your
/var/lib/openhab2/config/org/openhab/mqtt.config
and see if they correspond to your/etc/openhab2/services/mqtt.cfg
settings - Fix your items file:
Switch GarageDoorButton "Garage Door" {mqtt=">[broker:garage/button:command:*:default]"}