OH 2.5 + zigbee2mqtt, how to get automatic things discovery working?

  • Platform information:
    • Hardware: _PI 1b
    • OS: Openhabian with OH 2.5
    • Java Runtime Environment: Zulu 1.8 (I believe) 32bit
    • openHAB version: 2.5

My goal is to ahve zigbee2mqtt + OH working, including automatic discovery of things.

The things I’ve got working so far:

  1. mqtt server (moscitto on Pi) - works flawlessly
  2. zigbee2mqtt on PI - all good, finds stuff and allows controlling it
  3. (for testing purposes) HomeAssistant on PC - finds and can control zigbee devices
  4. OH’s connection to mqtt server

Is there an RTFM on how to get it working (e.g. one that would mention which mode should zigbee2mqtt run in, which addons (e.g. Jinja Transformation) need to be installed on OH?

Devices: at the moment I have 4 color bulbs (Mueller Tint), plan to add more of the same along with motion detectors, dimmers, switches.

If auto-discovery in the setup above is not supported, what is the right way to manually add color bulbs? (when I run z2m in “attribute” mode, it registers the following attributes in mqtt broker:

state
brightness
color_temp
color-x
color-y

Read this topic as it should help with z2m

1 Like

Thanks, I’ve seen that thread.
Note that it doesn’t cover a single case with a light bulb (neither color, not white only)