Skip to content

Zigbee2mqtt with CC2652RB coordinator stops working ever 7 to 8 days. Now dead again, and cannot get it back to work #16

@mcividino

Description

@mcividino

Zigbee2mqtt stops working ever 7 to 8 days. Last weekend I had the same issue and has to spend the whole weekend reinstalling all the software back in the Raspberry Pi 4 (I use IOTstack) and re-flashing the coordinator.
Now it is dead again, we cannot control the lights at home anymore.
My wife just told me to revert to plain old analog as this is way too unreliable.

When the failure happens, I can see the MQTT messags published by the buttons, but it fails to publish the ON/OFF messages to the bulbs.
Next I stopped the Docker contaoiners and rebooted the server.
Aftert the server is online now there is absolutely no communication between zigbee2mqtt and any zigbee devices.

In the mqtt debug messages I can see in Node Red, I constantly get these:
14/2/2021 12:40:50node: zigbee2mqtt/bridge/loggingzigbee2mqtt/bridge/logging : msg.payload : string[69]
"{"level":"error","message":"Failed to execute LQI for 'Extender-01'"}"
14/2/2021 12:41:01node: zigbee2mqtt/bridge/loggingzigbee2mqtt/bridge/logging : msg.payload : string[74]
"{"level":"error","message":"Failed to execute LQI for 'Lamp_Est_Mariano'"}"
14/2/2021 12:41:10node: zigbee2mqtt/bridge/loggingzigbee2mqtt/bridge/logging : msg.payload : string[70]
"{"level":"error","message":"Failed to execute LQI for 'Luz_Escalera'"}"
14/2/2021 12:41:20node: zigbee2mqtt/bridge/logging
zigbee2mqtt/bridge/logging : msg.payload : string[69]
"{"level":"error","message":"Failed to execute LQI for 'Luz_Salon_2'"}"

I don't know what else to do. I won't do anything else. f this doesn't work then I'll just forget about this whole idea.

  • Docker Version:
    pi@raspberrypi:~/IOTstack/volumes/zigbee2mqtt/data $ docker version
    Client: Docker Engine - Community
    Version: 20.10.1
    API version: 1.41
    Go version: go1.13.15
    Git commit: 831ebea
    Built: Tue Dec 15 04:35:27 2020
    OS/Arch: linux/arm
    Context: default
    Experimental: true

Server: Docker Engine - Community
Engine:
Version: 20.10.1
API version: 1.41 (minimum version 1.12)
Go version: go1.13.15
Git commit: f001486
Built: Tue Dec 15 04:33:02 2020
OS/Arch: linux/arm
Experimental: false
containerd:
Version: 1.4.3
GitCommit: 269548fa27e0089a8b8278fc4fc781d7f65a939b
runc:
Version: 1.0.0-rc92
GitCommit: ff819c7e9184c13b7c2607fe6c30ae19403a7aff
docker-init:
Version: 0.19.0
GitCommit: de40ad0
pi@raspberrypi:~

  • Zigbee2mqtt versions:

cat package.json

{
"name": "zigbee2mqtt",
"version": "1.17.0",
"description": "Zigbee to MQTT bridge using Zigbee-herdsman",
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/Koenkk/zigbee2mqtt.git"
},
"engines": {
"node": "^10 || ^12 || ^14 || ^15"
},
"keywords": [
"xiaomi",
"tradfri",
"hue",
"bridge",
"zigbee",
"mqtt",
"cc2531"
],
"scripts": {
"test-with-coverage": "jest test --coverage",
"eslint": "node_modules/.bin/eslint lib/",
"start": "node index.js",
"test": "jest test",
"test-watch": "jest test --watch"
},
"author": "Koen Kanters",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/Koenkk/zigbee2mqtt/issues"
},
"homepage": "https://koenkk.github.io/zigbee2mqtt",
"dependencies": {
"ajv": "^6.12.4",
"debounce": "^1.2.0",
"fast-deep-equal": "^3.1.3",
"finalhandler": "^1.1.2",
"git-last-commit": "^1.0.0",
"humanize-duration": "^3.23.1",
"js-yaml": "^3.14.0",
"json-stable-stringify-without-jsonify": "=1.0.1",
"mkdir-recursive": "^0.4.0",
"moment": "^2.27.0",
"mqtt": "4.2.1",
"object-assign-deep": "^0.4.0",
"rimraf": "^3.0.2",
"semver": "^7.3.2",
"serve-static": "^1.14.1",
"winston": "^3.3.3",
"winston-syslog": "^2.4.4",
"ws": "^7.3.1",
"zigbee-herdsman": "0.13.46",
"zigbee-herdsman-converters": "14.0.3",
"zigbee2mqtt-frontend": "0.2.129"
},
"devDependencies": {
"eslint": "",
"eslint-config-google": "
",
"eslint-plugin-jest": "",
"jest": "
",
"tmp": "*"
},
"jest": {
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"collectCoverageFrom": [
"lib/**"
]
},
"bin": {
"zigbee2mqtt": "./cli.js"
}
}

  • zigbee2mqtt configuration:
    homeassistant: false
    permit_join: true
    mqtt:
    base_topic: zigbee2mqtt
    server: 'mqtt://localhost'
    user: yyyyyyy
    password: xxxxxxx
    serial:
    port: /dev/ttyUSB0
    frontend:
    port: 8080
    experimental:
    new_api: true
    advanced:
    pan_id: 6760
    channel: 25
    log_level: info
    network_key:

    • 162
    • 159
    • 1
    • 96
    • 144
    • 88
    • 12
    • 60
    • 122
    • 251
    • 240
    • 253
    • 106
    • 18
    • 106
    • 32
      devices:
      '0xf0d1b80000105868':
      friendly_name: Luz_Salon_7
      '0xf0d1b80000105f04':
      friendly_name: Luz_Salon_8
      '0xf0d1b80000105a37':
      friendly_name: Luz_Est_Mariano_1
      '0x04cf8cdf3c7bfdb2':
      friendly_name: Int_Salon_2
      '0x04cf8cdf3c7bfe15':
      friendly_name: Int_Salon_3
      '0xf0d1b80000106408':
      friendly_name: Luz_Pasillo_1
      '0xf0d1b80000105f8e':
      friendly_name: Luz_Pasillo_3
      '0xf0d1b800001061ae':
      friendly_name: Luz_Est_Mariano_3
      '0xf0d1b80000105854':
      friendly_name: Luz_Salon_5
      '0xf0d1b800001069fa':
      friendly_name: Luz_Salon_6
      '0xf0d1b800001060cf':
      friendly_name: Luz_Entrada_2
      '0x7cb03eaa0a04dfd3':
      friendly_name: Lamp_Salon
      '0x7cb03eaa0a039131':
      friendly_name: Lamp_Est_Mariano
      '0x00158d000572d9aa':
      friendly_name: Int_Lamp_Est_Mariano
      '0x7cb03eaa0a050d57':
      friendly_name: Luz_Lavadero
      '0x7cb03eaa0a04ebd2':
      friendly_name: Luz_Escalera
      '0x00124b002236e6b4':
      friendly_name: Luz_Cocina
      '0x847127fffec7cdbd':
      friendly_name: Int_Persiana
      '0x00158d00045c00a8':
      friendly_name: Sens_TH_Salon
      '0x00158d00045c0194':
      friendly_name: Sens_TH_Cocina
      '0x04cf8cdf3c796115':
      friendly_name: Int_Entrada_2
      '0x00158d0005cf070b':
      friendly_name: Int_Cama_Lola_1
      '0x00124b0021928a7d':
      friendly_name: Luz_Terraza_1
      '0x00124b001d3aceb5':
      friendly_name: Extender-01
      '0x04cf8cdf3c79668c':
      friendly_name: Int_Cocina
      '0x04cf8cdf3c796b50':
      friendly_name: Int_Entrada_1
      '0x04cf8cdf3c795727':
      friendly_name: Int_Salon_1
      '0xf0d1b8000012bdbd':
      friendly_name: Luz_Salon_2
      '0xf0d1b8000012966a':
      friendly_name: Luz_Salon_1
      '0xf0d1b80000106e2b':
      friendly_name: Luz_Pasillo_2
      '0xf0d1b8000012bbc2':
      friendly_name: Luz_Salon_4
      '0xf0d1b8000012a140':
      friendly_name: Luz_Salon_3
      '0xf0d1b80000106b78':
      friendly_name: Luz_Entrada_1
      '0xf0d1b80000106cac':
      friendly_name: Luz_Est_Mariano_2
      '0x7cb03eaa0a04e7f4':
      friendly_name: Luz_Cerrado
      '0x7cb03eaa0a03b4e5':
      friendly_name: Luz_Balcon
      '0x04cf8cdf3c796142':
      friendly_name: Unused_1
      '0xbc33acfffed85918':
      friendly_name: Int_Escalera_1
      '0x04cf8cdf3c7965c5':
      friendly_name: Int_Balcon_Luz
      '0x04cf8cdf3c77d42e':
      friendly_name: Int_Lavadero
      '0x04cf8cdf3c77d357':
      friendly_name: Int_Est_Mariano_1
      '0x04cf8cdf3c79602c':
      friendly_name: Int_Pasillo_1
      '0x04cf8cdf3c7be2a3':
      friendly_name: Int_Lola_1
      '0x04cf8cdf3c7c0e16':
      friendly_name: Boton_Persiana
      '0xf0d1b8000012c249':
      friendly_name: Luz_Lola_3
      '0xf0d1b8000012ba0d':
      friendly_name: Luz_Lola_2
      '0xf0d1b80000129241':
      friendly_name: Luz_Lola_1
      '0xf0d1b8000012caac':
      friendly_name: Luz_Lola_4
      '0xf0d1b8000014a3a9':
      friendly_name: Luz_Anna_2
      '0xf0d1b8000014a3bf':
      friendly_name: Luz_Anna_3
      '0xf0d1b8000014a4fd':
      friendly_name: Luz_Anna_1
      '0x04cf8cdf3c7be27f':
      friendly_name: Int_Est_Anna_1
      '0x00158d0005cf2d10':
      friendly_name: Int_Cama_Lola_2
      groups:
      '1':
      friendly_name: Luces_Salon_1
      devices:
      • 0xf0d1b8000012966a/1
      • 0xf0d1b8000012bdbd/1
      • 0xf0d1b80000105854/1
      • 0xf0d1b800001069fa/1
        '2':
        friendly_name: Luces_Salon_2
        devices:
      • 0xf0d1b8000012a140/1
      • 0xf0d1b8000012bbc2/1
      • 0xf0d1b80000105868/1
      • 0xf0d1b80000105f04/1
        '3':
        friendly_name: Luces_Salon_Color
        devices:
      • 0xf0d1b8000012966a/1
      • 0xf0d1b8000012bdbd/1
      • 0xf0d1b8000012a140/1
      • 0xf0d1b8000012bbc2/1
        '4':
        friendly_name: Luces_Salon_Lectura
        devices:
      • 0xf0d1b800001069fa/1
      • 0xf0d1b80000105868/1
        '5':
        friendly_name: Luces_Pasillo
        devices:
      • 0xf0d1b80000106408/1
      • 0xf0d1b80000106e2b/1
      • 0xf0d1b80000105f8e/1
        '6':
        friendly_name: Luces_Noche
        devices:
      • 0xf0d1b80000105f04/1
      • 0xf0d1b80000106b78/1
        '7':
        friendly_name: Luces_Entrada
        devices:
      • 0xf0d1b80000106b78/1
      • 0xf0d1b800001060cf/1
        '8':
        friendly_name: Luces_Est_Mariano
        devices:
      • 0xf0d1b80000105a37/1
      • 0xf0d1b80000106cac/1
      • 0xf0d1b800001061ae/1
        '9':
        friendly_name: Luces_Salon_BW
        devices:
      • 0xf0d1b80000105854/1
      • 0xf0d1b800001069fa/1
      • 0xf0d1b80000105868/1
      • 0xf0d1b80000105f04/1
        '10':
        friendly_name: Luces_Terraza
        devices:
      • 0x00124b0021928a7d/11
        '11':
        friendly_name: Luces_Lola
        devices:
      • 0xf0d1b80000129241/1
      • 0xf0d1b8000012ba0d/1
      • 0xf0d1b8000012c249/1
      • 0xf0d1b8000012caac/1
        '12':
        friendly_name: Luces_Anna
        devices:
      • 0xf0d1b8000014a4fd/1
      • 0xf0d1b8000014a3a9/1
      • 0xf0d1b8000014a3bf/1
  • Coordinator:
    CC2652RB - from Slaeh
    Version - CC2652RB_20201026.hex

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions