Zigbee2mqtt devices not showing in devices

I posted this over on the zigbee2mqtt.discourse.group but I thought I’d try here too. I’m running HASSIO 0.112.2 in Docker on a Ubuntu 18.04 server. I have the Zigbee2mqtt 1.14.1 and Mosquitto broker 5.1 setup. I have one CC2531 as coordinator and two CC2530 + CC2591 routers.

In Home Assistant under devices I could see both routers. The first router had all three entities: Router, Link quality, and LED,

image

The second only showed the LED and Link Quality. I cannot see the coordinator at all. They are connected because my endpoints are working and I see it all on the Zigbee map


Coordinator in red, Router 1 is in the middle and the router I can’t see is the one circled.

I found this thread and tried to delete the router and add it back

image

The router looks to be completely removed:

info  2020-07-07 15:09:56: Force removing '0x00124b001fc6406e'
info  2020-07-07 15:09:56: Clearing Home Assistant discovery topic for '0x00124b001fc6406e'
info  2020-07-07 15:09:56: MQTT publish: topic 'homeassistant/binary_sensor/0x00124b001fc6406e/led/config', payload 'null'
info  2020-07-07 15:09:56: MQTT publish: topic 'homeassistant/sensor/0x00124b001fc6406e/linkquality/config', payload 'null'
info  2020-07-07 15:09:56: Successfully force_removed 0x00124b001fc6406e

It is no longer even on the Zigbee Map

However it will not rejoin after several restarts of HA, the whole server and the router. Also, before doing the zigbee2mqtt/bridge/config/force_remove I was seeing the router in the Zigbee2mqtt logs about every 60 seconds.

zigbee2mqtt:info 2020-07-07 13:48:59: MQTT publish: topic 'zigbee2mqtt/0x00124b001fc6406e', payload '{"led":true,"linkquality":99}'

Now it doesn’t come in at all. I do have permit_join: true set.

Zigbee2mqtt config

data_path: /share/zigbee2mqtt
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: true
mqtt:
  base_topic: zigbee2mqtt
  server: 'mqtt://core-mosquitto:1883'
  user: mqtt
  password: xxxxxxxxxx
serial:
  port: >-
    /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B00193870EF-if00
advanced:
  pan_id: 6754
  channel: 26
  network_key:
    - 1
    - 3
    - 5
    - 7
    - 9
    - 11
    - 13
    - 15
    - 0
    - 2
    - 4
    - 6
    - 8
    - 10
    - 12
    - 13
  availability_blacklist: []
ban: []
whitelist: []
queue: {}
socat:
  enabled: false
  master: 'pty,raw,echo=0,link=/dev/ttyZ2M,mode=777'
  slave: 'tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5'
  restartdelay: 1
  initialdelay: 1
  options: '-d -d'
  log: false

Any help would be greatly appreciated!

Update:

I took apart the CC2530 + CC2591 and re flashed the firmware. It has re joined

info  2020-07-08 07:58:21: Zigbee: allowing new devices to join.
info  2020-07-08 07:58:21: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"version":"1.14.1","commit":"unknown","coordinator":{"type":"zStack12","meta":{"transportrev":2,"product":0,"majorrel":2,"minorrel":6,"maintrel":3,"revision":20190608}},"log_level":"info","permit_join":true}'
info  2020-07-08 07:58:33: Device '0x00124b001fc6406e' joined
info  2020-07-08 07:58:33: Starting interview of '0x00124b001fc6406e'
info  2020-07-08 07:58:33: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_connected","message":{"friendly_name":"0x00124b001fc6406e"}}'
info  2020-07-08 07:58:33: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_started","meta":{"friendly_name":"0x00124b001fc6406e"}}'
info  2020-07-08 07:58:33: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_announced","message":"announce","meta":{"friendly_name":"0x00124b001fc6406e"}}'
info  2020-07-08 07:58:33: MQTT publish: topic 'homeassistant/binary_sensor/0x00124b001fc6406e/led/config', payload '{"payload_on":true,"payload_off":false,"value_template":"{{ value_json.led }}","device_class":"light","state_topic":"zigbee2mqtt/0x00124b001fc6406e","json_attributes_topic":"zigbee2mqtt/0x00124b001fc6406e","name":"0x00124b001fc6406e_led","unique_id":"0x00124b001fc6406e_led_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00124b001fc6406e"],"name":"0x00124b001fc6406e","sw_version":"Zigbee2mqtt 1.14.1","model":"[CC2530 router](http://ptvo.info/cc2530-based-zigbee-coordinator-and-router-112/) (CC2530.ROUTER)","manufacturer":"Custom devices (DiY)"},"availability_topic":"zigbee2mqtt/bridge/state"}'
info  2020-07-08 07:58:33: MQTT publish: topic 'homeassistant/sensor/0x00124b001fc6406e/linkquality/config', payload '{"icon":"mdi:signal","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}","state_topic":"zigbee2mqtt/0x00124b001fc6406e","json_attributes_topic":"zigbee2mqtt/0x00124b001fc6406e","name":"0x00124b001fc6406e_linkquality","unique_id":"0x00124b001fc6406e_linkquality_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00124b001fc6406e"],"name":"0x00124b001fc6406e","sw_version":"Zigbee2mqtt 1.14.1","model":"[CC2530 router](http://ptvo.info/cc2530-based-zigbee-coordinator-and-router-112/) (CC2530.ROUTER)","manufacturer":"Custom devices (DiY)"},"availability_topic":"zigbee2mqtt/bridge/state"}'
info  2020-07-08 07:58:34: Successfully interviewed '0x00124b001fc6406e', device has successfully been paired
info  2020-07-08 07:58:34: Device '0x00124b001fc6406e' is supported, identified as: Custom devices (DiY) [CC2530 router](http://ptvo.info/cc2530-based-zigbee-coordinator-and-router-112/) (CC2530.ROUTER)
info  2020-07-08 07:58:34: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_successful","meta":{"friendly_name":"0x00124b001fc6406e","model":"CC2530.ROUTER","vendor":"Custom devices (DiY)","description":"[CC2530 router](http://ptvo.info/cc2530-based-zigbee-coordinator-and-router-112/)","supported":true}}'

But I’m back at the original issue that it is only showing the Link Quality and LED Entities. These are my 2 identical CC2530 + CC2591 routers.

To see if the problem is on the HA side or Zigbee2mqtt side, use mqtt explorer to see if there was a router discovery message published by zigbee2mqtt

What’s your finding?