Zigbee2mqtt do not discover devices

I do run HA on RPI4 with connected Sonoff Zigbee 3 Plus dongle with Z Stack Firmware from this file:
image

If I check System-> Hardware I find it in the list on ttyUSB0:
image

Zigbee2MQTT is installed and has following Configuration:

data_path: /config/zigbee2mqtt
socat:
  enabled: false
  master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
  slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
  options: '-d -d'
  log: false
mqtt:
  server: mqtt://192.168.1.32/:1883
  base_topic: zigbee2mqtt
  user: mqtt_user
  password: <my password>
serial:
  port: /dev/ttyUSB0
frontend:
  port: 8099

Zigbee2MQTT log seems ok too, nothing that I can suspect:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] socat.sh: executing... 
[07:38:30] INFO: Socat not enabled, marking service as down
[cont-init.d] socat.sh: exited 0.
[cont-init.d] zigbee2mqtt.sh: executing... 
[cont-init.d] zigbee2mqtt.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[07:38:32] INFO: Handing over control to Zigbee2mqtt Core ...
> [email protected] start
> node index.js
Zigbee2MQTT:info  2022-04-06 07:38:39: Logging to console and directory: '/config/zigbee2mqtt/log/2022-04-06.07-38-36' filename: log.txt
Zigbee2MQTT:info  2022-04-06 07:38:39: Starting Zigbee2MQTT version 1.25.0 (commit #unknown)
Zigbee2MQTT:info  2022-04-06 07:38:39: Starting zigbee-herdsman (0.14.20)
Zigbee2MQTT:info  2022-04-06 07:38:43: zigbee-herdsman started (resumed)
Zigbee2MQTT:info  2022-04-06 07:38:43: Coordinator firmware version: '{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20220219,"transportrev":2},"type":"zStack3x0"}'
Zigbee2MQTT:info  2022-04-06 07:38:43: Currently 0 devices are joined:
Zigbee2MQTT:info  2022-04-06 07:38:43: Zigbee: disabling joining new devices.
Zigbee2MQTT:info  2022-04-06 07:38:43: Connecting to MQTT server at mqtt://192.168.1.32/:1883
Zigbee2MQTT:info  2022-04-06 07:38:43: Connected to MQTT server
Zigbee2MQTT:info  2022-04-06 07:38:43: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"online"}'
Zigbee2MQTT:info  2022-04-06 07:38:43: Started frontend on port 0.0.0.0:8099
Zigbee2MQTT:info  2022-04-06 07:38:44: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"online"}'
Zigbee2MQTT:info  2022-04-06 07:38:55: Zigbee: allowing new devices to join.
Zigbee2MQTT:info  2022-04-06 07:38:56: MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254,"value":true},"status":"ok","transaction":"5iu94-1"}'

However, new devices are not discovered. I did enable “Permit All (join)” option, and tried several devices: Temerature sensor, movement detection sensor, power socket, door sensor (set them all into pairing mode). Non of those were discovered. What can I test next?

Use an USB extension cable, and an USB 2 port, to keep the dongle away from interference from the Pi4.

2 Likes

Thank you! That was it!

that helped my friend too, thanks. Things failed to connect when it was directly connected to pi400, all good instantly on extender to usb2

1 Like