Zigbee2MQTT device re-pairing

Hi all,

I had Zigbee2MQTT up and running, but there were a few connectivity issues so I decided to change the channel and re-pair everything.

I first unpaired all my devices, then changed the channel, then restarted HA. I tried to re-pair devices at this point but it wouldn’t pick any of them up. So since then I have tried, uninstalling Zigbee2MQTT, shutting down the Pi, removing the RaspBee II and booting. Then shutting down re-installing the RaspBee II and then Zigbee2MQTT. I still can’t get anything to pair!

Any ideas?

Config:

homeassistant: true
mqtt:
  server: mqtt://core-mosquitto:1883
  user: addons
  password: APasswordHash
serial:
  port: /dev/ttyS0
  adapter: deconz
  baudrate: 38400
frontend:
  port: 8099
permit_join: true
devices: {}
availability:
  active:
    timeout: 10
  passive:
    timeout: 120
advanced:
  log_syslog:
    app_name: Zigbee2MQTT
    eol: /n
    host: localhost
    localhost: localhost
    path: /dev/log
    pid: process.pid
    port: 123
    protocol: tcp4
    type: '5424'
  channel: 25
  last_seen: ISO_8601
  log_level: debug

Some logs:

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/socat.sh
[19:56:51] INFO: Socat not enabled, marking service as down
cont-init: info: /etc/cont-init.d/socat.sh exited 0
cont-init: info: running /etc/cont-init.d/zigbee2mqtt.sh
cont-init: info: /etc/cont-init.d/zigbee2mqtt.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun socat (no readiness notification)
services-up: info: copying legacy longrun zigbee2mqtt (no readiness notification)
[19:56:55] INFO: Handing over control to Zigbee2MQTT Core ...
\> [email protected] start
\> node index.js
Zigbee2MQTT:debug 2022-07-12 19:57:02: Loaded state from file /config/zigbee2mqtt/state.json
Zigbee2MQTT:info  2022-07-12 19:57:02: Logging to console and directory: '/config/zigbee2mqtt/log/2022-07-12.19-57-02' filename: log.txt
Zigbee2MQTT:debug 2022-07-12 19:57:02: Removing old log directory '/config/zigbee2mqtt/log/2022-07-12.19-52-16'
Zigbee2MQTT:info  2022-07-12 19:57:02: Starting Zigbee2MQTT version 1.26.0 (commit #unknown)
Zigbee2MQTT:info  2022-07-12 19:57:02: Starting zigbee-herdsman (0.14.40)
Zigbee2MQTT:debug 2022-07-12 19:57:02: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/config/zigbee2mqtt/coordinator_backup.json","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","databasePath":"/config/zigbee2mqtt/database.db","network":{"channelList":[25],"extendedPanID":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":6754},"serialPort":{"adapter":"deconz","baudRate":38400,"path":"/dev/ttyS0"}}'
Zigbee2MQTT:info  2022-07-12 19:57:03: zigbee-herdsman started (resumed)
Zigbee2MQTT:info  2022-07-12 19:57:03: Coordinator firmware version: '{"meta":{"maintrel":0,"majorrel":38,"minorrel":97,"product":0,"revision":"0x26610700","transportrev":0},"type":"ConBee2/RaspBee2"}'
Zigbee2MQTT:debug 2022-07-12 19:57:03: Zigbee network parameters: {"channel":25,"extendedPanID":"0xdddddddddddddddd","panID":6754}
Zigbee2MQTT:info  2022-07-12 19:57:03: Currently 0 devices are joined:
Zigbee2MQTT:warn  2022-07-12 19:57:03: `permit_join` set to  `true` in configuration.yaml.
Zigbee2MQTT:warn  2022-07-12 19:57:03: Allowing new devices to join.
Zigbee2MQTT:warn  2022-07-12 19:57:03: Set `permit_join` to `false` once you joined all devices.
Zigbee2MQTT:info  2022-07-12 19:57:03: Zigbee: allowing new devices to join.
Zigbee2MQTT:info  2022-07-12 19:57:03: Connecting to MQTT server at mqtt://core-mosquitto:1883
Zigbee2MQTT:debug 2022-07-12 19:57:03: Using MQTT login with username: addons
Zigbee2MQTT:info  2022-07-12 19:57:03: Connected to MQTT server
Zigbee2MQTT:info  2022-07-12 19:57:03: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
Zigbee2MQTT:debug 2022-07-12 19:57:03: Received MQTT message on 'zigbee2mqtt/bridge/info' with data '{"commit":"unknown","config":{"advanced":{"adapter_concurrent":null,"adapter_delay":null,"availability_blacklist":[],"availability_blocklist":[],"availability_passlist":[],"availability_whitelist":[],"cache_state":true,"cache_state_persistent":true,"cache_state_send_on_startup":true,"channel":25,"elapsed":false,"ext_pan_id":[221,221,221,221,221,221,221,221],"last_seen":"ISO_8601","legacy_api":true,"legacy_availability_payload":true,"log_directory":"/config/zigbee2mqtt/log/%TIMESTAMP%","log_file":"log.txt","log_level":"debug","log_output":["console","file"],"log_rotation":true,"log_symlink_current":false,"log_syslog":{"app_name":"Zigbee2MQTT","eol":"/n","host":"localhost","localhost":"localhost","path":"/dev/log","pid":"process.pid","port":123,"protocol":"tcp4","type":"5424"},"output":"json","pan_id":6754,"report":false,"soft_reset_timeout":0,"timestamp_format":"YYYY-MM-DD HH:mm:ss"},"availability":{"active":{"timeout":10},"passive":{"timeout":120}},"blocklist":[],"device_options":{},"devices":{},"external_converters":[],"frontend":{"host":"0.0.0.0","port":8099},"groups":{},"homeassistant":{"discovery_topic":"homeassistant","legacy_entity_attributes":true,"legacy_triggers":true,"status_topic":"hass/status"},"map_options":{"graphviz":{"colors":{"fill":{"coordinator":"#e04e5d","enddevice":"#fff8ce","router":"#4ea3e0"},"font":{"coordinator":"#ffffff","enddevice":"#000000","router":"#ffffff"},"line":{"active":"#009900","inactive":"#994444"}}}},"mqtt":{"base_topic":"zigbee2mqtt","force_disable_retain":false,"include_device_information":false,"server":"mqtt://core-mosquitto:1883","user":"addons"},"ota":{"disable_automatic_update_check":false,"update_check_interval":1440},"passlist":[],"permit_join":true,"serial":{"adapter":"deconz","baudrate":38400,"disable_led":false,"port":"/dev/ttyS0"}},"config_schema":{"definitions":{"device":{"properties":{"debounce":{"description":"Debounces messages of this device","title":"Debounce","type":"number"},"debounce_ignore":{"description":"Protects unique payload values of specified payload properties from overriding within debounce time","examples":["action"],"items":{"type":"string"},"title":"Ignore debounce","type":"array"},"filtered_attributes":{"description":"Filter attributes from publish payload.","examples":["temperature","battery","action"],"items":{"type":"string"},"title":"Filtered publish attributes","type":"array"},"filtered_optimistic":{"description":"Filter attributes from optimistic publish payload when calling /set. (This has no effect if optimistic is set to false).","examples":["color_mode","color_temp","color"],"items":{"type":"string"},"title":"Filtered optimistic attributes","type":"array"},"friendly_name":{"description":"Used in the MQTT topic of a device. By default this is the device ID","readOnly":true,"title":"Friendly name","type":"string"},"homeassistant":{"properties":{"name":{"description":"Name of the device in Home Assistant","title":"Home Assistant name","type":"string"}},"title":"Home Assistant","type":["object","null"]},"icon":{"description":"The user-defined device icon for the frontend. It can be a link to an image (not a path to a file) or base64 encoded data URL like: image/svg+xml;base64,PHN2ZyB3aW....R0aD","title":"Icon","type":"string"},"optimistic":{"default":true,"description":"Publish optimistic state after set","title":"Optimistic","type":"boolean"},"qos":{"description":"QoS level for MQTT messages of this device","title":"QoS","type":"number"},"retain":{"description":"Retain MQTT messages of this device","title":"Retain","type":"boolean"},"retention":{"description":"Sets the MQTT Message Expiry in seconds, Make sure to set mqtt.version to 5","title":"Retention","type":"number"}},"required":["friendly_name"],"type":"object"},"group":{"properties":{"devices":{"items":{"type":"string"},"type":"array"},"filtered_attributes":{"items":{"type":"string"},"type":"array"},"friendly_name":{"type":"string"},"off_state":{"default":"auto","description":"Control when to publish state OFF for a group. 'all_members_off': only publish state OFF when all group memebers are in state OFF, 'last_member_state': publish state OFF whenever one of its members changes to OFF","enum":["all_members_off","last_member_state"],"requiresRestart":true,"title":"Group off state","type":["string"]},"optimistic":{"type":"boolean"},"qos":{"type":"number"},"retain":{"type":"boolean"}},"required":["friendly_name"],"type":"object"}},"properties":{"advanced":{"properties":{"adapter_concurrent":{"description":"Adapter concurrency (e.g. 2 for CC2531 or 16 for CC26X2R1) (default: null, uses recommended value)","requiresRestart":true,"title":"Adapter concurrency","type":["number","null"]},"adapter_delay":{"description":"Adapter delay","requiresRestart":true,"title":"Adapter delay","type":["number","null"]},"cache_state":{"default":true,"description":"MQTT message payload will contain all attributes, not only changed ones. Has to be true when integrating via Home Assistant","title":"Cache state","type":"boolean"},"cache_state_persistent":{"default":true,"description":"Persist cached state, only used when cache_state: true","title":"Persist cache state","type":"boolean"},"cache_state_send_on_startup":{"default":true,"description":"Send cached state on startup, only used when cache_state: true","title":"Send cached state on startup","type":"boolean"},"channel":{"default":11,"description":"Zigbee channel, changing requires repairing all devices! (Note: use a ZLL channel: 11, 15, 20, or 25 to avoid Problems)","examples":[15,20,25],"maximum":26,"minimum":11,"requiresRestart":true,"title":"ZigBee channel","type":"number"},"elapsed":{"default":false,"description":"Add an elapsed attribute to MQTT messages, contains milliseconds since the previous msg","title":"Elapsed","type":"boolean"},"ext_pan_id":{"description":"Zigbee extended pan ID, changing requires repairing all devices!","items":{"type":"number"},"requiresRestart":true,"title":"Ext Pan ID","type":"array"},"last_seen":{"default":"disable","description":"Add a last_seen attribute to MQTT messages, contains date/time of last Zigbee message","enum":["disable","ISO_8601","ISO_8601_local","epoch"],"title":"Last seen","type":"string"},"legacy_api":{"default":true,"description":"Disables the legacy api (false = disable)","requiresRestart":true,"title":"Legacy API","type":"boolean"},"legacy_availability_payload":{"default":true,"description":"Payload to be used for device availabilty and bridge/state topics. true = text, false = JSON","requiresRestart":true,"title":"Legacy availability payload","type":"boolean"},"log_directory":{"description":"Location of log directory","examples":["data/log/%TIMESTAMP%"],"requiresRestart":true,"title":"Log directory","type":"string"},"log_file":{"default":"log.txt","description":"Log file name, can also contain timestamp","examples":["zigbee2mqtt_%TIMESTAMP%.log"],"requiresRestart":true,"title":"Log file","type":"string"},"log_level":{"default":"info","description":"Logging level","enum":["info","warn","error","debug"],"title":"Log level","type":"string"},"log_output":{"description":"Output location of the log, leave empty to suppress logging","items":{"enum":["console","file","syslog"],"type":"string"},"requiresRestart":true,"title":"Log output","type":"array"},"log_rotation":{"default":true,"description":"Log rotation","requiresRestart":true,"title":"Log rotation","type":"boolean"},"log_symlink_current":{"default":false,"description":"Create symlink to current logs in the log directory","requiresRestart":true,"title":"Log symlink current","type":"boolean"},"log_syslog":{"properties":{"app_name":{"default":"Zigbee2MQTT","description":"The name of the application (Default: Zigbee2MQTT).","title":"Localhost","type":"string"},"eol":{"default":"/n","description":"The end of line character to be added to the end of the message (Default: Message without modifications).","title":"eol","type":"string"},"host":{"default":"localhost","description":"The host running syslogd, defaults to localhost.","title":"Host","type":"string"},"localhost":{"default":"localhost","description":"Host to indicate that log messages are coming from (Default: localhost).","title":"Localhost","type":"string"},"path":{"default":"/dev/log","description":"The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).","examples":["/var/run/syslog"],"title":"Path","type":"string"},"pid":{"default":"process.pid","description":"PID of the process that log messages are coming from (Default process.pid).","title":"PID","type":"string"},"port":{"default":123,"description":"The port on the host that syslog is running on, defaults to syslogd's default port.","title":"Port","type":"number"},"protocol":{"default":"tcp4","description":"The network protocol to log over (e.g. tcp4, udp4, tls4, unix, unix-connect, etc).","examples":["udp4","tls4","unix","unix-connect"],"title":"Protocol","type":"string"},"type":{"default":"5424","description":"The type of the syslog protocol to use (Default: BSD, also valid: 5424).","title":"Type","type":"string"}},"title":"syslog","type":"object"},"network_key":{"description":"Network encryption key, changing requires repairing all devices!","oneOf":[{"title":"Network key(string)","type":"string"},{"items":{"type":"number"},"title":"Network key(array)","type":"array"}],"requiresRestart":true,"title":"Network key"},"output":{"description":"Examples when 'state' of a device is published json: topic: 'zigbee2mqtt/my_bulb' payload '{\"state\": \"ON\"}' attribute: topic 'zigbee2mqtt/my_bulb/state' payload 'ON' attribute_and_json: both json and attribute (see above)","enum":["attribute_and_json","attribute","json"],"title":"MQTT output type","type":"string"},"pan_id":{"description":"ZigBee pan ID, changing requires repairing all devices!","oneOf":[{"title":"Pan ID (string)","type":"string"},{"title":"Pan ID (number)","type":"number"}],"requiresRestart":true,"title":"Pan ID"},"timestamp_format":{"description":"Log timestamp format","examples":["YYYY-MM-DD HH:mm:ss"],"requiresRestart":true,"title":"Timestamp format","type":"string"},"transmit_power":{"description":"Transmit power of adapter, only available for Z-Stack (CC253*/CC2652/CC1352) adapters, CC2652 = 5dbm, CC1352 max is = 20dbm (5dbm default)","requiresRestart":true,"title":"Transmit power","type":["number","null"]}},"title":"Advanced","type":"object"},"availability":{"description":"Checks whether devices are online/offline","oneOf":[{"title":"Availability (simple)","type":"boolean"},{"properties":{"active":{"description":"Options for active devices (routers/mains powered)","properties":{"timeout":{"default":10,"description":"Time after which an active device will be marked as offline in minutes","requiresRestart":true,"title":"Timeout","type":"number"}},"requiresRestart":true,"title":"Active","type":"object"},"passive":{"description":"Options for passive devices (mostly battery powered)","properties":{"timeout":{"default":1500,"description":"Time after which an passive device will be marked as offline in minutes","requiresRestart":true,"title":"Timeout","type":"number"}},"requiresRestart":true,"title":"Passive","type":"object"}},"title":"Availability (advanced)","type":"object"}],"requiresRestart":true,"title":"Availability"},"ban":{"items":{"type":"string"},"readOnly":true,"requiresRestart":true,"title":"Ban (deprecated, use blocklist)","type":"array"},"blocklist":{"description":"Block devices from the network (by ieeeAddr)","items":{"type":"string"},"requiresRestart":true,"title":"Blocklist","type":"array"},"device_options":{"title":"Options that are applied to all devices","type":"object"},"devices":{"patternProperties":{"^.*$":{"$ref":"#/definitions/device"}},"propertyNames":{"pattern":"^0x[\\d\\w]{16}$"},"type":"object"},"external_converters":{"description":"You can define external converters to e.g. add support for a DiY device","examples":["DIYRuZ_FreePad.js"],"items":{"type":"string"},"requiresRestart":true,"title":"External converters","type":"array"},"frontend":{"oneOf":[{"title":"Frontend (simple)","type":"boolean"},{"properties":{"auth_token":{"description":"Enables authentication, disabled by default","requiresRestart":true,"title":"Auth token","type":["string","null"]},"host":{"default":"0.0.0.0","description":"Frontend binding host","requiresRestart":true,"title":"Bind host","type":"string"},"port":{"default":8080,"description":"Frontend binding port","requiresRestart":true,"title":"Port","type":"number"},"url":{"description":"URL on which the frontend can be reached, currently only used for the Home Assistant device configuration page","requiresRestart":true,"title":"URL","type":["string","null"]}},"title":"Frontend (advanced)","type":"object"}],"requiresRestart":true,"title":"Frontend"},"groups":{"patternProperties":{"^.*$":{"$ref":"#/definitions/group"}},"propertyNames":{"pattern":"^[\\w].*$"},"type":"object"},"homeassistant":{"default":false,"description":"Home Assistant integration (MQTT discovery)","oneOf":[{"title":"Home Assistant (simple)","type":"boolean"},{"properties":{"discovery_topic":{"description":"Home Assistant discovery topic","examples":["homeassistant"],"requiresRestart":true,"title":"Homeassistant discovery topic","type":"string"},"legacy_entity_attributes":{"default":true,"description":"Home Assistant legacy entity attributes, when enabled Zigbee2MQTT will add state attributes to each entity, additional to the separate entities and devices it already creates","title":"Home Assistant legacy entity attributes","type":"boolean"},"legacy_triggers":{"default":true,"description":"Home Assistant legacy triggers, when enabled Zigbee2mqt will send an empty 'action' or 'click' after one has been send. A 'sensor_action' and 'sensor_click' will be discoverd","title":"Home Assistant legacy triggers","type":"boolean"},"status_topic":{"description":"Home Assistant status topic","examples":["homeassistant/status"],"requiresRestart":true,"title":"Home Assistant status topic","type":"string"}},"title":"Home Assistant (advanced)","type":"object"}],"requiresRestart":true,"title":"Home Assistant integration"},"map_options":{"properties":{"graphviz":{"properties":{"colors":{"properties":{"fill":{"properties":{"coordinator":{"type":"string"},"enddevice":{"type":"string"},"router":{"type":"string"}},"type":"object"},"font":{"properties":{"coordinator":{"type":"string"},"enddevice":{"type":"string"},"router":{"type":"string"}},"type":"object"},"line":{"properties":{"active":{"type":"string"},"inactive":{"type":"string"}},"type":"object"}},"type":"object"}},"type":"object"}},"title":"Networkmap","type":"object"},"mqtt":{"properties":{"base_topic":{"default":"zigbee2mqtt","description":"MQTT base topic for Zigbee2MQTT MQTT messages","examples":["zigbee2mqtt"],"requiresRestart":true,"title":"Base topic","type":"string"},"ca":{"description":"Absolute path to SSL/TLS certificate of CA used to sign server and client certificates","examples":["/etc/ssl/mqtt-ca.crt"],"requiresRestart":true,"title":"Certificate authority","type":"string"},"cert":{"description":"Absolute path to SSL/TLS certificate for client-authentication","examples":["/etc/ssl/mqtt-client.crt"],"requiresRestart":true,"title":"SSL/TLS certificate","type":"string"},"client_id":{"description":"MQTT client ID","examples":["MY_CLIENT_ID"],"requiresRestart":true,"title":"Client ID","type":"string"},"force_disable_retain":{"default":false,"description":"Disable retain for all send messages. ONLY enable if you MQTT broker doesn't support retained message (e.g. AWS IoT core, Azure IoT Hub, Google Cloud IoT core, IBM Watson IoT Platform). Enabling will break the Home Assistant integration","requiresRestart":true,"title":"Force disable retain","type":"boolean"},"include_device_information":{"default":false,"description":"Include device information to mqtt messages","title":"Include device information","type":"boolean"},"keepalive":{"default":60,"description":"MQTT keepalive in second","requiresRestart":true,"title":"Keepalive","type":"number"},"key":{"description":"Absolute path to SSL/TLS key for client-authentication","examples":["/etc/ssl/mqtt-client.key"],"requiresRestart":true,"title":"SSL/TLS key","type":"string"},"password":{"description":"MQTT server authentication password","examples":["ILOVEPELMENI"],"requiresRestart":true,"title":"Password","type":"string"},"reject_unauthorized":{"default":true,"description":"Disable self-signed SSL certificate","requiresRestart":true,"title":"Reject unauthorized","type":"boolean"},"server":{"description":"MQTT server URL (use mqtts:// for SSL/TLS connection)","examples":["mqtt://localhost:1883"],"requiresRestart":true,"title":"MQTT server","type":"string"},"user":{"description":"MQTT server authentication user","examples":["johnnysilverhand"],"requiresRestart":true,"title":"User","type":"string"},"version":{"default":4,"description":"MQTT protocol version","examples":[5],"requiresRestart":true,"title":"Version","type":["number","null"]}},"required":["server"],"title":"MQTT","type":"object"},"ota":{"properties":{"disable_automatic_update_check":{"default":false,"description":"Zigbee devices may request a firmware update, and do so frequently, causing Zigbee2MQTT to reach out to third party servers. If you disable these device initiated checks, you can still initiate a firmware update check manually.","title":"Disable automatic update check","type":"boolean"},"ikea_ota_use_test_url":{"default":false,"description":"Use IKEA TRADFRI OTA test server, see OTA updates documentation","requiresRestart":true,"title":"IKEA TRADFRI OTA use test url","type":"boolean"},"update_check_interval":{"default":1440,"description":"Your device may request a check for a new firmware update. This value determines how frequently third party servers may actually be contacted to look for firmware updates. The value is set in minutes, and the default is 1 day.","title":"Update check interval","type":"number"},"zigbee_ota_override_index_location":{"description":"Location of override OTA index file","examples":["index.json"],"requiresRestart":true,"title":"OTA index override file name","type":"string"}},"title":"OTA updates","type":"object"},"passlist":{"description":"Allow only certain devices to join the network (by ieeeAddr). Note that all devices not on the passlist will be removed from the network!","items":{"type":"string"},"requiresRestart":true,"title":"Passlist","type":"array"},"permit_join":{"default":false,"description":"Allow new devices to join (re-applied at restart)","title":"Permit join","type":"boolean"},"serial":{"properties":{"adapter":{"default":"auto","description":"Adapter type, not needed unless you are experiencing problems","enum":["deconz","zstack","zigate","ezsp","auto"],"requiresRestart":true,"title":"Adapter","type":["string"]},"baudrate":{"description":"Baud rate speed for serial port, this can be anything firmware support but default is 115200 for Z-Stack and EZSP, 38400 for Deconz, however note that some EZSP firmware need 57600","examples":[38400,57600,115200],"requiresRestart":true,"title":"Baudrate","type":"number"},"disable_led":{"default":false,"description":"Disable LED of the adapter if supported","requiresRestart":true,"title":"Disable led","type":"boolean"},"port":{"description":"Location of the adapter. To autodetect the port, set null","examples":["/dev/ttyACM0"],"requiresRestart":true,"title":"Port","type":["string","null"]},"rtscts":{"description":"RTS / CTS Hardware Flow Control for serial port","requiresRestart":true,"title":"RTS / CTS","type":"boolean"}},"title":"Serial","type":"object"},"whitelist":{"items":{"type":"string"},"readOnly":true,"requiresRestart":true,"title":"Whitelist (deprecated, use passlist)","type":"array"}},"required":["mqtt"],"type":"object"},"coordinator":{"ieee_address":"0x00212effff061d80","meta":{"maintrel":0,"majorrel":38,"minorrel":97,"product":0,"revision":"0x26610700","transportrev":0},"type":"ConBee2/RaspBee2"},"log_level":"debug","network":{"channel":25,"extended_pan_id":"0xdddddddddddddddd","pan_id":6754},"permit_join":true,"restart_required":false,"version":"1.26.0"}'
Zigbee2MQTT:debug 2022-07-12 19:57:03: Received MQTT message on 'zigbee2mqtt/bridge/devices' with data '[{"definition":null,"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genTime","genOta"],"output":["genPowerCfg","genPollCtrl","ssIasZone"]},"configured_reportings":[],"scenes":[]},"242":{"bindings":[],"clusters":{"input":[],"output":["greenPower"]},"configured_reportings":[],"scenes":[]}},"friendly_name":"Coordinator","ieee_address":"0x00212effff061d80","interview_completed":true,"interviewing":false,"network_address":0,"supported":false,"type":"Coordinator"}]'
Zigbee2MQTT:debug 2022-07-12 19:57:03: Received MQTT message on 'zigbee2mqtt/bridge/groups' with data '[]'
Zigbee2MQTT:debug 2022-07-12 19:57:03: Received MQTT message on 'zigbee2mqtt/bridge/extensions' with data '[]'
Zigbee2MQTT:debug 2022-07-12 19:57:03: Received MQTT message on 'zigbee2mqtt/bridge/config' with data '{"commit":"unknown","coordinator":{"meta":{"maintrel":0,"majorrel":38,"minorrel":97,"product":0,"revision":"0x26610700","transportrev":0},"type":"ConBee2/RaspBee2"},"log_level":"debug","network":{"channel":0,"extendedPanID":"0xdddddddddddddddd","panID":6754},"permit_join":true,"version":"1.26.0"}'
Zigbee2MQTT:debug 2022-07-12 19:57:03: Received MQTT message on 'zigbee2mqtt/Landing motion/availability' with data 'online'
Zigbee2MQTT:debug 2022-07-12 19:57:03: Received MQTT message on 'zigbee2mqtt/Landing extension/availability' with data 'online'
Zigbee2MQTT:debug 2022-07-12 19:57:03: Received MQTT message on 'zigbee2mqtt/Network switch/availability' with data 'offline'
Zigbee2MQTT:debug 2022-07-12 19:57:03: Received MQTT message on 'zigbee2mqtt/Living room floor lamp/availability' with data 'offline'
Zigbee2MQTT:debug 2022-07-12 19:57:03: Received MQTT message on 'zigbee2mqtt/Living room lamp/availability' with data 'online'
Zigbee2MQTT:debug 2022-07-12 19:57:03: Received MQTT message on 'zigbee2mqtt/Bedroom motion/availability' with data 'online'
Zigbee2MQTT:error 2022-07-12 19:57:03: Failed to call 'Bridge' 'start' (TypeError: Cannot read properties of undefined (reading 'ieeeAddr')
    at Bridge.publishInfo (/app/lib/extension/bridge.ts:586:81)
    at Bridge.start (/app/lib/extension/bridge.ts:108:20)
    at Controller.callExtensions (/app/lib/controller.ts:317:17)
    at Controller.start (/app/lib/controller.ts:154:9)
    at start (/app/index.js:109:5))
Zigbee2MQTT:info  2022-07-12 19:57:03: Started frontend on port 0.0.0.0:8099
Zigbee2MQTT:debug 2022-07-12 19:57:04: Received MQTT message on 'zigbee2mqtt/Kitchen motion/availability' with data 'online'
Zigbee2MQTT:debug 2022-07-12 19:57:04: Received MQTT message on 'zigbee2mqtt/Living room motion/availability' with data 'offline'
Zigbee2MQTT:debug 2022-07-12 19:57:04: Received MQTT message on 'zigbee2mqtt/Washing machine/availability' with data 'online'
Zigbee2MQTT:debug 2022-07-12 19:57:04: Received MQTT message on 'zigbee2mqtt/Front door contact/availability' with data 'online'
Zigbee2MQTT:debug 2022-07-12 19:57:04: Received MQTT message on 'zigbee2mqtt/Pedestal fan/availability' with data 'offline'
Zigbee2MQTT:debug 2022-07-12 19:57:04: Received MQTT message on 'zigbee2mqtt/Garden motion/availability' with data 'online'
Zigbee2MQTT:debug 2022-07-12 19:57:04: Received MQTT message on 'zigbee2mqtt/Living room ceiling light/availability' with data 'online'
Zigbee2MQTT:info  2022-07-12 19:57:04: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"commit":"unknown","coordinator":{"meta":{"maintrel":0,"majorrel":38,"minorrel":97,"product":0,"revision":"0x26610700","transportrev":0},"type":"ConBee2/RaspBee2"},"log_level":"debug","network":{"channel":25,"extendedPanID":"0xdddddddddddddddd","panID":6754},"permit_join":true,"version":"1.26.0"}'
Zigbee2MQTT:info  2022-07-12 19:57:04: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
Zigbee2MQTT:debug 2022-07-12 19:59:48: Received MQTT message on 'zigbee2mqtt/bridge/request/options' with data '{"options":{"advanced":{}},"transaction":"81icz-1"}'
Zigbee2MQTT:debug 2022-07-12 19:59:55: Received MQTT message on 'zigbee2mqtt/bridge/request/permit_join' with data '{"device":null,"time":254,"transaction":"81icz-2","value":true}'
Zigbee2MQTT:debug 2022-07-12 20:00:25: Received MQTT message on 'homeassistant/status' with data 'offline'
Zigbee2MQTT:debug 2022-07-12 20:02:02: Saving state to file /config/zigbee2mqtt/state.json
Zigbee2MQTT:debug 2022-07-12 20:05:40: Received MQTT message on 'homeassistant/status' with data 'online'

I can not give a answer, however I have a experience which might be the same. I started on channel 11 which was also used by my Hue bridge, hence decided to change channel and network key at the same time (considre to change network key if you are still on the standard key. I was).

I experienced similar problems like you, when pairing devices on the new channel/Network key. I changed the PanID to 1, and it started to work. Im not sure why.

Remember to delete the configuration.backup file, to ensure Zigbee2MQTT use the new numbers.

Thanks for the suggestion, unfortunately it didn’t work. Reset it all, changed the PAN id and Extended PAN id, had it generate it’s own new network key.

Sorry to hear. I know how bad it can be with a zigbee network down.

My suggestion below is a wild guess, and the problem could easily be in Z2M or the conbee2 or something else.

The devices, are you sure they actually reset and try to find a new network? For the aqara devices it was quite easy, just re-pair. I had some Hue bulbs, which would only pair to a new zigbee network if reset using a Hue Dimmer and press on and off at the same time for 10 sec (this is described in the docs).

Maybe your devices are requiring some special reset?

A way to test could be if you have a new device which have never been used.

When re-pairing devices, just deleting them from Z2m’s config is not enough.

You Must power off all the devices either by turning the breaker off or physically disconnecting the power wire.

Then re-pair them one by one. Else the devices Will reassemble there last network on there own. Every device contains it’s own database. And if two or more devices are powered on the Last network is active and will prevent pairing to a new network.

Thanks, I was aware of this and I had powered down all my Zigbee router devices as part of the process. I also reset all the router devices on this network too, but now none of them will pair back up.

I’ve tried adding the router devices back 1 by 1, so there is never more than one switched on. But even after resetting, which most have to do in order to get to pairing mode anyway, none are seeing the HA coordinator.

What devices are you using? Did you have a device never been on a network? Just for testing.

The Z2M dashboard, does everything look as expected? What version of the coordinator does it show?

SmartThings Plugs, Ikea Tradfri plugs, and a single cheap Chinese light switch. I unfortunately don’t have a device that’s never been on the network.

The dashboard looks fine, button updated with the countdown. Just nothing shows up and the device remains in pairing mode. The coordinator is fully up to date, as I checked the manufacturer website for newer firmware and there was none.

Try to dump all the options from your config file and create it again with minimal configuration. I only use a few options in config file as
data_path:
mqtt:
serial:
and that is it.
Are you sure that this line

server: mqtt://core-mosquitto:1883

is actually point to your mqtt broker? I’m not sure about that because it should point to mqtt://your_server:1883

That’s pretty much the default config that the Zigbee2MQTT add-on built. I am running my MQTT Broker as a HA add-on also, and the config documentation said not to enter anything for it if I am doing that so in the config pane for Z2M the MQTT panel is blank.

I’m also usiing mqtt broker and zigbee2mqtt as addons. Didn’t change much but in my config mqtt broker is on mqtt://my_local_domain:1883
When I say my local domain, I want to point out that i have /etc/hosts file with the following entry:

127.0.1.1	homeassistant.local	homeassistant

so my mqtt server is mqtt://homeassistant.local:1883

Hi, Do not think it is a MQTT problem. The logs do not point to this, and your config looks OK.

As everything is down anyway, how about removing Z2M and try and install ZHA, just to see if devices will then connect? Might trigger the conbee2 if it for some reason “remembers” the old network setup.

I had the same exact issues. Was trying to resolve my connectivity issues with z2m. When changing my router and access point channels didn’t resolve the issue I decided to change the channel for z2m. I un-paired all the devices and struggled to get devices to connect back. I don’t recall exactly what I did because I tried a lot of different things. I know when rolling the changes back I had no issues with connecting devices. Something was hanging old settings whether it was the coordinator or the zigbee devices themselves.

Some of the steps I did was remove z2m. After it was removed I deleted the zigbee2mqtt folder that was left behind. Rebooted HA then reinstalled. Also make sure you make all the changes to z2m before pairing devices. I had a couple times where I realized I forgot to change a settings and had to redo everything. I had to hard reset all my zigbee devices that were connected to mains. Battery operated devices didn’t have any problems from what I remember. The devices I had the most struggles to get paired were my Sengled bulbs and Hampton Bay/King of fans. To get those into pairing more you flip light switch 5 times. They would go into pairing mode but would not connect. Out of frustration I ended flipping the switch 10 times or more. Low and behold it did a full reset putting the bulb into pairing mode and connecting after that. It was the exact same for the fans.

Sorry for the long winded reply but I think your devices may be hanging onto the old settings. Assuming that could be the causing your issue make sure you are resetting your zigbee devices and not just putting them into pairing mode. Also try resetting the coordinator.

Sadly I’m still fighting connectivity problems with my zigbee network. For some reason I just can’t keep these Sengled bulbs from dropping offline. Decided the switch back over to ZHA over the weekend but that didn’t help wither. Had to perform the steps listed above to pair them even though removed all the devices from z2m before making the switch. I’m using the Sonoff 3.0 dongle plus for the coordinator and have two others set up as routers so I should have good coverage (single story house). I’m still using the Nortek dongle for zwave so thinking maybe the zigbee side may be interfering. I have a new zwave dongle being delivered today. Praying this will help

1 Like

Cheers for the suggestion, I hadn’t been removing the old config folder as I didn’t think it would be necessary. So I tried it, but still no joy.

I just tried ZHA, and deCONZ. deCONZ shows me the RaspBee on the port, and it seems to successfully read and write to it, but I can’t pair anything still. STarting to wonder if it’s somehow been fried.

Might be fried. Could be some changes to the “firmware setup” done during all the changes. Maybe a re-flash of the firmware could be a last suggestion before deeming it dead.

I’ll have to give a firmware rewrite a go, thankfully I have a couple of old Pis I can use.

Cheers for all your help so far, I will let you all know how it goes.

So I setup a pi with Raspbian, installed Deconz, and updated the firmware. I then moved the Raspbee II back to my HA powered pi and still nothing. I changed the channel back to channel 11 and everything connects again!

It seems that Zigbee2MQTT is ignoring the config and booting the Raspbee on channel 11, even though the UI and YAML haver it set to something else. I can see this in the log:

{"maintrel":0,"majorrel":38,"minorrel":120,"product":0,"revision":"0x26780700","transportrev":0},"type":"ConBee2/RaspBee2"},"log_level":"info","network":{"channel":11,"extendedPanID":"0xdddddddddddddddd","panID":6754},"permit_join":true,"version":"1.26.0"}'

Even though this is the YAML for config:

advanced:
  log_syslog:
    app_name: Zigbee2MQTT
    eol: /n
    host: localhost
    localhost: localhost
    path: /dev/log
    pid: process.pid
    port: 123
    protocol: tcp4
    type: '5424'
  channel: 15
permit_join: true

I need to move to another channel as my Hue hub is using channel 11 and I see other WiFi networks on the same band. I was trying to use 25, but I am wondering if the Raspbee II doesn’t support this as I doubt every device I have is the issue.

Any ideas are welcome still to get this to switch to the new channel.

I rebooted the whole pi, rather than just restart Z2M, and now the log says it started on channel 15. However now back to no ability to join any devices.

Oh man, I came here during research into whether I should change the channel on my Z2M network. I did not pay attention during setup and there are several wifi networks in the same channels. But after reading your report… I guess I’ll work with what I have