First off all let me tell you that i am a beginner with openhab and coding.
I got a synology NAS which used to run OpenHAB on in Docker. Then I followed a tutorial to install mosquitto and set up an MQTT broker. Openhab can find my MQTTbroker and says: Online.
Now i want to let my CC2531 Zigbee2mqtt stick communicate with my MQTT broker. So I can connect my Osram LED lights to OpenHAB.
How do i let my CC2531 connect to the MQTT broker? The USB stick is also plugged into my Synology Nas.
Your zigbee coordinator does not connect to MQTT. Zigbee2mqtt connects to the broker and zigbee2mqtt connects to the coordinator. So what you need to do is ask on a zigbee2mqtt forum for how to run that software on a Synology.
You would do well to read up on the basics of both Zigbee and MQTT. It’s very important that you understand these and that you use proper terminology. In this case, it’s vitally important that you realize that Zigbee technology and MQTT technology have absolutely nothing to do with each other. You are using the software Zigbee2MQTT to bridge between those two so that openHAB can access them. This is one way to use Zigbee with openHAB.