They won’t just magically appear. You will need to set each of your devices into pair mode - check the zigbee2mqtt documentation for instructions on how to do that for your devices.
I’d be interested to understand where this idea comes from.
This is how it should work:
- Your ZigBee dongle connects to zigbee2mqtt.
- Your ZigBee devices connect via your ZigBee dongle to zigbee2mqtt.
- Zigbee2mqtt connects to your MQTT broker (Mosquitto in your case)
- openHAB also connects to your MQTT broker via the MQTT Binding.
- openHAB and zigbee2mqtt now ‘talk’ to each other via the MQTT broker. openHAB does not interact with your ZigBee dongle at all, as previously mentioned.
So it goes:
ZigBee device → ZigBee dongle → zigbee2mqtt → MQTT broker → openHAB via MQTT binding.