Zigbee2MQTT + HASS.IO Paired devices not being discovered

Hi I’m new to HA and have been playing around with it for a few days now but I’ve hit a wall when it comes to getting some Ikea Tradri bulbs and a Hue bulb connected with zigbee2mqtt. I’ve managed to get them paired however the next step I think is for them to show as new devices which isn’t happening for some reason.
In integrations I just have MQTT: configuration.yaml and nothing in it.

This is my log from zigbee2mqtt when pairing:

 zigbee2mqtt:warn 2018-12-17 23:19:50 Message without device!
  zigbee2mqtt:info 2018-12-17 23:19:50 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:19:50 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:19:50 Message without device!
  zigbee2mqtt:info 2018-12-17 23:19:50 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:19:50 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:19:50 Message without device!
  zigbee2mqtt:info 2018-12-17 23:19:50 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:19:50 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:19:50 Message without device!
  zigbee2mqtt:info 2018-12-17 23:19:51 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:19:51 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:19:51 Message without device!
  zigbee2mqtt:info 2018-12-17 23:19:52 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:19:52 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:19:52 Message without device!
  zigbee2mqtt:info 2018-12-17 23:19:52 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:19:52 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:19:52 Message without device!
  zigbee2mqtt:info 2018-12-17 23:19:52 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:19:52 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:19:52 Message without device!
  zigbee2mqtt:info 2018-12-17 23:20:10 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:20:10 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:20:10 Message without device!
  zigbee2mqtt:info 2018-12-17 23:20:10 Device incoming...
  zigbee2mqtt:info 2018-12-17 23:20:10 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"device incoming"}'
  zigbee2mqtt:info 2018-12-17 23:20:10 New device with address 0x0017880103a9a868 connected!
  zigbee2mqtt:info 2018-12-17 23:20:10 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_connected","message":"0x0017880103a9a868"}'
  zigbee2mqtt:info 2018-12-17 23:20:10 MQTT publish: topic 'homeassistant/light/0x0017880103a9a868/light/config', payload '{"brightness":true,"color_temp":true,"xy":true,"schema":"json","command_topic":"zigbee2mqtt/0x0017880103a9a868/set","state_topic":"zigbee2mqtt/0x0017880103a9a868","availability_topic":"zigbee2mqtt/bridge/state","name":"0x0017880103a9a868_light","unique_id":"0x0017880103a9a868_light_zigbee2mqtt","device":{"identifiers":"zigbee2mqtt_0x0017880103a9a868","name":"0x0017880103a9a868","sw_version":"Zigbee2mqtt 1.0.1","model":"Hue white and color ambiance E26/E27/E14 (9290012573A)","manufacturer":"Philips"}}'
  zigbee2mqtt:info 2018-12-17 23:20:11 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:20:11 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:20:11 Message without device!
  zigbee2mqtt:info 2018-12-17 23:20:12 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:20:12 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:20:12 Message without device!
  zigbee2mqtt:info 2018-12-17 23:20:12 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:20:12 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:20:12 Message without device!
  zigbee2mqtt:info 2018-12-17 23:20:12 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:20:12 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:20:12 Message without device!
  zigbee2mqtt:info 2018-12-17 23:20:13 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:20:13 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:20:13 Message without device!
  zigbee2mqtt:info 2018-12-17 23:20:13 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:20:13 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:20:13 Message without device!
  zigbee2mqtt:info 2018-12-17 23:20:14 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:20:14 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:20:14 Message without device!
  zigbee2mqtt:info 2018-12-17 23:20:14 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:20:14 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:20:14 Message without device!
  zigbee2mqtt:info 2018-12-17 23:20:14 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:20:14 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:20:14 Message without device!
  zigbee2mqtt:info 2018-12-17 23:20:15 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:20:15 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:20:15 Message without device!
  zigbee2mqtt:info 2018-12-17 23:20:15 Device incoming...
  zigbee2mqtt:info 2018-12-17 23:20:15 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"device incoming"}'
  zigbee2mqtt:info 2018-12-17 23:20:15 New device with address 0xd0cf5efffe2fb85b connected!
  zigbee2mqtt:info 2018-12-17 23:20:15 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_connected","message":"0xd0cf5efffe2fb85b"}'
  zigbee2mqtt:info 2018-12-17 23:20:15 MQTT publish: topic 'homeassistant/light/0xd0cf5efffe2fb85b/light/config', payload '{"brightness":true,"schema":"json","command_topic":"zigbee2mqtt/0xd0cf5efffe2fb85b/set","state_topic":"zigbee2mqtt/0xd0cf5efffe2fb85b","availability_topic":"zigbee2mqtt/bridge/state","name":"0xd0cf5efffe2fb85b_light","unique_id":"0xd0cf5efffe2fb85b_light_zigbee2mqtt","device":{"identifiers":"zigbee2mqtt_0xd0cf5efffe2fb85b","name":"0xd0cf5efffe2fb85b","sw_version":"Zigbee2mqtt 1.0.1","model":"TRADFRI LED bulb E27 1000 lumen, dimmable, opal white (LED1623G12)","manufacturer":"IKEA"}}'
  zigbee2mqtt:info 2018-12-17 23:20:16 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:20:16 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:20:16 Message without device!
  zigbee2mqtt:info 2018-12-17 23:20:16 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:20:16 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:20:16 Message without device!
  zigbee2mqtt:info 2018-12-17 23:20:17 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:20:17 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:20:17 Message without device!
  zigbee2mqtt:info 2018-12-17 23:20:17 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:20:17 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:20:17 Message without device!
  zigbee2mqtt:info 2018-12-17 23:20:18 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:20:18 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:20:18 Message without device!
  zigbee2mqtt:info 2018-12-17 23:20:18 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:20:18 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:20:18 Message without device!
  zigbee2mqtt:info 2018-12-17 23:20:18 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:20:18 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:20:18 Message without device!
  zigbee2mqtt:info 2018-12-17 23:20:18 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:20:18 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:20:18 Message without device!
  zigbee2mqtt:info 2018-12-17 23:20:19 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:20:19 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:20:19 Message without device!
  zigbee2mqtt:info 2018-12-17 23:20:19 Connecting with device...
  zigbee2mqtt:info 2018-12-17 23:20:19 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}'
  zigbee2mqtt:warn 2018-12-17 23:20:19 Message without device!
  zigbee2mqtt:info 2018-12-17 23:20:19 Device incoming...
  zigbee2mqtt:info 2018-12-17 23:20:19 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"device incoming"}'
  zigbee2mqtt:info 2018-12-17 23:20:19 New device with address 0xd0cf5efffe44ea20 connected!
  zigbee2mqtt:info 2018-12-17 23:20:19 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_connected","message":"0xd0cf5efffe44ea20"}'
  zigbee2mqtt:info 2018-12-17 23:20:19 MQTT publish: topic 'homeassistant/light/0xd0cf5efffe44ea20/light/config', payload '{"brightness":true,"schema":"json","command_topic":"zigbee2mqtt/0xd0cf5efffe44ea20/set","state_topic":"zigbee2mqtt/0xd0cf5efffe44ea20","availability_topic":"zigbee2mqtt/bridge/state","name":"0xd0cf5efffe44ea20_light","unique_id":"0xd0cf5efffe44ea20_light_zigbee2mqtt","device":{"identifiers":"zigbee2mqtt_0xd0cf5efffe44ea20","name":"0xd0cf5efffe44ea20","sw_version":"Zigbee2mqtt 1.0.1","model":"TRADFRI LED bulb E27 1000 lumen, dimmable, opal white (LED1623G12)","manufacturer":"IKEA"}}'

This is after a reboot with them paired:
    [Info] Configuration file found. Will overwrite configurable               fields with values from add-on configuration
[Info] Configuration written to /share/zigbee2mqtt/configuration.yaml
2018-12-17T23:30:56: PM2 log: Launching in no daemon mode
2018-12-17T23:30:57: PM2 log: App [npm:0] starting in -fork mode-
2018-12-17T23:30:57: PM2 log: App [npm:0] online

[email protected] start /app
node index.js
zigbee2mqtt:info 2018-12-17 23:31:03 Logging to directory: ‘/share/zigbee2mqtt/log/2018-12-17.23-31-03’
zigbee2mqtt:info 2018-12-17 23:31:06 Starting zigbee2mqtt version 1.0.1 (commit #9191788)
zigbee2mqtt:info 2018-12-17 23:31:06 Starting zigbee-shepherd
zigbee2mqtt:info 2018-12-17 23:31:08 zigbee-shepherd started
zigbee2mqtt:info 2018-12-17 23:31:08 Coordinator firmware version: ‘20180815’
zigbee2mqtt:info 2018-12-17 23:31:08 Currently 3 devices are joined:
zigbee2mqtt:info 2018-12-17 23:31:08 0xd0cf5efffe2fb85b (0xd0cf5efffe2fb85b): LED1623G12 - IKEA TRADFRI LED bulb E27 1000 lumen, dimmable, opal white (Router)
zigbee2mqtt:info 2018-12-17 23:31:08 0xd0cf5efffe44ea20 (0xd0cf5efffe44ea20): LED1623G12 - IKEA TRADFRI LED bulb E27 1000 lumen, dimmable, opal white (Router)
zigbee2mqtt:info 2018-12-17 23:31:08 0x0017880103a9a868 (0x0017880103a9a868): 9290012573A - Philips Hue white and color ambiance E26/E27/E14 (Router)
zigbee2mqtt:warn 2018-12-17 23:31:08 permit_join set to true in configuration.yaml.
zigbee2mqtt:warn 2018-12-17 23:31:08 Allowing new devices to join.
zigbee2mqtt:warn 2018-12-17 23:31:08 Set permit_join to false once you joined all devices.
zigbee2mqtt:info 2018-12-17 23:31:08 Zigbee: allowing new devices to join.
zigbee2mqtt:info 2018-12-17 23:31:08 Connecting to MQTT server at mqtt://homeassistant
zigbee2mqtt:info 2018-12-17 23:31:09 zigbee-shepherd ready
zigbee2mqtt:error 2018-12-17 23:31:18 Not connected to MQTT server!
zigbee2mqtt:info 2018-12-17 23:31:25 Connected to MQTT server
zigbee2mqtt:info 2018-12-17 23:31:25 MQTT publish: topic ‘zigbee2mqtt/bridge/state’, payload ‘online’
zigbee2mqtt:info 2018-12-17 23:31:25 MQTT publish: topic ‘homeassistant/light/0xd0cf5efffe2fb85b/light/config’, payload ‘{“brightness”:true,“schema”:“json”,“command_topic”:“zigbee2mqtt/0xd0cf5efffe2fb85b/set”,“state_topic”:“zigbee2mqtt/0xd0cf5efffe2fb85b”,“availability_topic”:“zigbee2mqtt/bridge/state”,“name”:“0xd0cf5efffe2fb85b_light”,“unique_id”:“0xd0cf5efffe2fb85b_light_zigbee2mqtt”,“device”:{“identifiers”:“zigbee2mqtt_0xd0cf5efffe2fb85b”,“name”:“0xd0cf5efffe2fb85b”,“sw_version”:“Zigbee2mqtt 1.0.1”,“model”:“TRADFRI LED bulb E27 1000 lumen, dimmable, opal white (LED1623G12)”,“manufacturer”:“IKEA”}}’
zigbee2mqtt:info 2018-12-17 23:31:25 MQTT publish: topic ‘homeassistant/light/0xd0cf5efffe44ea20/light/config’, payload ‘{“brightness”:true,“schema”:“json”,“command_topic”:“zigbee2mqtt/0xd0cf5efffe44ea20/set”,“state_topic”:“zigbee2mqtt/0xd0cf5efffe44ea20”,“availability_topic”:“zigbee2mqtt/bridge/state”,“name”:“0xd0cf5efffe44ea20_light”,“unique_id”:“0xd0cf5efffe44ea20_light_zigbee2mqtt”,“device”:{“identifiers”:“zigbee2mqtt_0xd0cf5efffe44ea20”,“name”:“0xd0cf5efffe44ea20”,“sw_version”:“Zigbee2mqtt 1.0.1”,“model”:“TRADFRI LED bulb E27 1000 lumen, dimmable, opal white (LED1623G12)”,“manufacturer”:“IKEA”}}’
zigbee2mqtt:info 2018-12-17 23:31:25 MQTT publish: topic ‘homeassistant/light/0x0017880103a9a868/light/config’, payload ‘{“brightness”:true,“color_temp”:true,“xy”:true,“schema”:“json”,“command_topic”:“zigbee2mqtt/0x0017880103a9a868/set”,“state_topic”:“zigbee2mqtt/0x0017880103a9a868”,“availability_topic”:“zigbee2mqtt/bridge/state”,“name”:“0x0017880103a9a868_light”,“unique_id”:“0x0017880103a9a868_light_zigbee2mqtt”,“device”:{“identifiers”:“zigbee2mqtt_0x0017880103a9a868”,“name”:“0x0017880103a9a868”,“sw_version”:“Zigbee2mqtt 1.0.1”,“model”:“Hue white and color ambiance E26/E27/E14 (9290012573A)”,“manufacturer”:“Philips”}}’

I’ve tried updating to beta channel and dev branch of zigbee2mqtt. Not sure what I’m doing wrong as I’ve looked through all the wiki’s and tried everything I can think of :confused:

Here is my configuration.yaml:

homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: 0
  longitude: 0
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 0
  # metric for Metric, imperial for Imperial
  unit_system: metric
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: UTC
  # Customization file
  customize: !include customize.yaml

# Show links to resources in log and frontend
#introduction:

# Enables the frontend
frontend:

# Enables configuration UI
config:

# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
#   base_url: example.duckdns.org:8123

# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
  # Optional, allows Home Assistant developers to focus on popular components.
  # include_used_components: true

# Discover some devices automatically
discovery:

# Allows you to issue voice commands from the frontend in enabled browsers
conversation:

# Enables support for tracking state changes over time
history:

# View all events in a logbook
logbook:

# Enables a map showing the location of tracked devices
map:

# Track the sun
sun:

# Sensors
sensor:
  # Weather prediction
  - platform: yr

# Text to speech
tts:
  - platform: google

# Cloud
cloud:

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml

mqtt:
  discovery: true
  discovery_prefix: homeassistant
  birth_message:
    topic: 'hass/status'
    payload: 'online'
  will_message:
    topic: 'hass/status'
    payload: 'offline'

Here is my zigbee2mqtt configuration.yaml:

    devices:
  '0x0017880103a9a868':
    friendly_name: hue
    retain: false
  '0xd0cf5efffe2fb85b':
    friendly_name: spot1
    retain: false
  '0xd0cf5efffe44ea20':
    friendly_name: spot2
    retain: false
homeassistant: true
mqtt:
  base_topic: zigbee2mqtt
  server: mqtt://homeassistant
permit_join: true
serial:
  port: /dev/ttyACM0

Hi! I have the exact same issue with Xiaomi temperature sensor. The sensor values update perfectly to zigbee2mqtt logs, but Im unable to see the new entity / device of the sensor on the home assistant dashboard. Did you get this solved?

@Morphy This may find you late. Better then never.
I’ve setup Z2M recently.

Looking at to logs it seems your mqtt broker and Z2M cant communicate with each other.
Might want to look at the brokers setting as some of the brokers settings have changed recently.

@Thrasheri Sorry I’m not sure.

@Akriss

I had a simliar issue.
Could see devices in zigbee2mqtt log and even in the MQTT broker but not in home assistant.

Turns out my failure was adding the port to the broker ip adress.

Here a working config with 5 xiaomi devices:

https://github.com/ajfriesen/home_assistant_configuration/commit/d3970fbe2105d91706fe8c1396ff2642c934d1d4

zigbee2mqtt config:

{
  "data_path": "/share/zigbee2mqtt",
  "homeassistant": true,
  "permit_join": false,
  "mqtt_base_topic": "zigbee2mqtt",
  "mqtt_server": "mqtt://192.168.178.60:1883",
  "serial_port": "/dev/ttyACM0",
  "devices": [],
  "network_key": [],
  "mqtt_user": "user",
  "mqtt_pass": "password"
}

mqtt broker add on config:

{
  "logins": [
    {
      "username": "user",
      "password": "password"
    }
  ],
  "anonymous": false,
  "quiet_logs": true,
  "customize": {
    "active": false,
    "folder": "mosquitto"
  },
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem"
}

Thanks I gave up with the internal MQTT broker in HA and used Mosquitto instead.