Service MQTT est arreté

Bonjour à tous,
Hier à la suite d’une grosse coupure de courant chez moi (de 3h à 12h30), je me suis rendu compte que j’avais un soucis avec zigbeelinker.
J’ai sans cesse un message « le service MQTT est arreté »

Suite à ca j’ai relancé les dependances ce qui m’a permis de faire la mise a jours en meme temps.
Je suis sur une clé CC2531 branché sur une rallonge usb sur le port usb du pi3 de jeedom
J’ai vu sur la nouvelle maj qu’il y a une selection possible pour les clé 2531 du coup j’ai selectionné cette ligne

Mais maljeurement rien n’a changé ,
Meme lorsque je clique sur « ouvrir interface zigbee2mqtt » , j’ai en retour « site inaccessible »
j’essaie de vous mettre un maximum d’infos pour que vous puissiez m’aider à resoudre ce probleme,
Merci par avance

configuration du plugin



Log deamon zigbee2mqtt

0437|[2024-01-06 14:47:41]INFO : ##### Le service MQTT s'est arrêté correctement. #####
0438|[2024-01-06 14:47:41]INFO : ############ Démarrage des service ############
0439|[2024-01-06 14:47:41]INFO : ##### Démarrage du service ZigbeeLinker #####
0440|[2024-01-06 14:47:43]INFO : ##### Service ZigbeeLinker démarré #####
0441|[2024-01-06 14:47:48]INFO : ##### Démarrage du service MQTT #####
0442|[2024-01-06 14:47:49]INFO : ##### Démarrage du service MQTT terminé avec succès #####
0443|[2024-01-06 14:47:52]INFO : ##### Démarrage du service Zigbee2MQTT #####
0444|[2024-01-06 14:47:53]INFO : ##### Le service Zigbee2MQTT démarre... #####
0445|[2024-01-06 14:47:53]INFO : ##### Démarrage du service Client MQTT (Client MQTT Local) #####
0446|[2024-01-06 14:47:54]INFO : #####  -->  Attent que le service Client MQTT (Client MQTT Local) démarre depuis 1 seconde(s)
0447|[2024-01-06 14:47:55]INFO : ##### Le service Client MQTT a démarré (Client MQTT Local) #####
0448|[2024-01-06 14:47:55]INFO : ##### Le service Client MQTT ([Aucun][Client MQTT Local]) s'est connecté. #####
0449|[2024-01-06 14:47:55]INFO : [Aucun][Client MQTT Local] : Client MQTT subscribe : 1
0450|[2024-01-06 14:47:55]INFO : ##### Le client MQTT Client MQTT Local a reçu un premier message de Zigbee2MQTT #####
0451|[2024-01-06 14:47:55]INFO : ##### Démarrage du service Client MQTT (Client MQTT Local) terminé avec succès #####
0452|[2024-01-06 14:47:56]INFO : ##### Le service zigbee2mqtt a démarré #####
0453|[2024-01-06 14:49:12]ERROR : ##### Le service zigbee2mqtt s'est arrêté #####
0454|[2024-01-06 14:51:16]INFO : ##### Démarrage du service Zigbee2MQTT #####
0455|[2024-01-06 14:51:17]INFO : ##### Le service Zigbee2MQTT démarre... #####
0456|[2024-01-06 14:51:24]INFO : ##### Le service zigbee2mqtt a démarré #####
0457|[2024-01-06 14:52:30]ERROR : ##### Le service zigbee2mqtt s'est arrêté #####
0458|[2024-01-06 14:54:33]INFO : ##### Démarrage du service Zigbee2MQTT #####
0459|[2024-01-06 14:54:35]INFO : ##### Le service Zigbee2MQTT démarre... #####
0460|[2024-01-06 14:54:42]INFO : ##### Le service zigbee2mqtt a démarré #####
0461|[2024-01-06 14:55:48]ERROR : ##### Le service zigbee2mqtt s'est arrêté #####

log zigbee2mqtt

471|[2024-01-06 15:28:30][DEBUG] : [Chambre Parents][prise ch parents] : Jeedom-->MQTT, topic=zigbee2mqtt/prise ch parents/get, json={"state":""}
0472|[2024-01-06 15:28:30][DEBUG] : [Garage][ampoule garage] : Ping de réveil de l'équipement
0473|[2024-01-06 15:28:30][DEBUG] : [Garage][ampoule garage] : Jeedom-->MQTT, topic=zigbee2mqtt/0x001788010c33f359/get, json={"state":""}
0474|[2024-01-06 15:28:30][DEBUG] : [Garage][prise tablette design] : Ping de réveil de l'équipement
0475|[2024-01-06 15:28:30][DEBUG] : [Garage][prise tablette design] : Jeedom-->MQTT, topic=zigbee2mqtt/prise tablette design/get, json={"state":""}
0476|[2024-01-06 15:28:30][DEBUG] : [Sejour][prise] : Ping de réveil de l'équipement
0477|[2024-01-06 15:28:30][DEBUG] : [Sejour][prise] : Jeedom-->MQTT, topic=zigbee2mqtt/prise/get, json={"state":""}
0478|[2024-01-06 15:28:30][DEBUG] : [Sejour][prise poele] : Ping de réveil de l'équipement
0479|[2024-01-06 15:28:30][DEBUG] : [Sejour][prise poele] : Jeedom-->MQTT, topic=zigbee2mqtt/prise poele/get, json={"state":""}
0480|[2024-01-06 15:30:18][DEBUG] : [Garage][prise tablette design] : zigbee2mqttCmd::excute -> state___OFF : array(1) {   ["background"]=>   string(1) "0" }
0481|[2024-01-06 15:30:18][DEBUG] : [Garage][prise tablette design] : Jeedom-->MQTT, topic=zigbee2mqtt/prise tablette design/set, json={"state":"OFF"}
0482|[2024-01-06 15:30:23][DEBUG] : [Garage][prise tablette design] : Relance la commande, car l'équipement n'a pas répondu à la commande envoyée (zigbee2mqtt/prise tablette design/set {"state":"OFF"})
0483|[2024-01-06 15:30:28][DEBUG] : [Garage][prise tablette design] : Relance la commande, car l'équipement n'a pas répondu à la commande envoyée (zigbee2mqtt/prise tablette design/set {"state":"OFF"})
0484|[2024-01-06 15:30:33][DEBUG] : [Garage][prise tablette design] : Relance la commande, car l'équipement n'a pas répondu à la commande envoyée (zigbee2mqtt/prise tablette design/set {"state":"OFF"})
0485|[2024-01-06 15:30:38][ERROR] : [Garage][prise tablette design] : L'équipement n'a pas répondu à la commande envoyée (zigbee2mqtt/prise tablette design/set {"state":"OFF"})
0486|[2024-01-06 15:31:05][DEBUG] : [Bureau][ampoule bureau.] : Ping de réveil de l'équipement
0487|[2024-01-06 15:31:05][DEBUG] : [Bureau][ampoule bureau.] : Jeedom-->MQTT, topic=zigbee2mqtt/ampoule bureau/get, json={"state":""}
0488|[2024-01-06 15:31:05][DEBUG] : [Bureau][ampoule RGBW ] : Ping de réveil de l'équipement
0489|[2024-01-06 15:31:05][DEBUG] : [Bureau][ampoule RGBW ] : Jeedom-->MQTT, topic=zigbee2mqtt/ampoule RGBW /get, json={"state":""}
0490|[2024-01-06 15:31:05][DEBUG] : [Chambre Parents][prise ch parents] : Ping de réveil de l'équipement
0491|[2024-01-06 15:31:05][DEBUG] : [Chambre Parents][prise ch parents] : Jeedom-->MQTT, topic=zigbee2mqtt/prise ch parents/get, json={"state":""}
0492|[2024-01-06 15:31:05][DEBUG] : [Garage][ampoule garage] : Ping de réveil de l'équipement
0493|[2024-01-06 15:31:05][DEBUG] : [Garage][ampoule garage] : Jeedom-->MQTT, topic=zigbee2mqtt/0x001788010c33f359/get, json={"state":""}
0494|[2024-01-06 15:31:05][DEBUG] : [Garage][prise tablette design] : Ping de réveil de l'équipement
0495|[2024-01-06 15:31:05][DEBUG] : [Garage][prise tablette design] : Jeedom-->MQTT, topic=zigbee2mqtt/prise tablette design/get, json={"state":""}
0496|[2024-01-06 15:31:05][DEBUG] : [Sejour][prise] : Ping de réveil de l'équipement
0497|[2024-01-06 15:31:05][DEBUG] : [Sejour][prise] : Jeedom-->MQTT, topic=zigbee2mqtt/prise/get, json={"state":""}
0498|[2024-01-06 15:31:05][DEBUG] : [Sejour][prise poele] : Ping de réveil de l'équipement
0499|[2024-01-06 15:31:05][DEBUG] : [Sejour][prise poele] : Jeedom-->MQTT, topic=zigbee2mqtt/prise poele/get, json={"state":""}

log zigbee2 mqtt dependance suite a la reinstallation des dependances:

0000|#######################################################
0001|#    INSTALL : Zigbee2mqtt                            #
0002|#######################################################
0003|#######################################################
0004|##### apt-get update in progress
0005|Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
0006|Hit:2 https://deb.nodesource.com/node_18.x nodistro InRelease
0007|Hit:3 http://archive.raspberrypi.org/debian buster InRelease
0008|Get:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
0009|Fetched 13.0 MB in 46s (284 kB/s)
0010|Reading package lists...
0011|#######################################################
0012|##### Install or update Git
0013|Reading package lists...
0014|Building dependency tree...
0015|Reading state information...
0016|g++ is already the newest version (4:8.3.0-1+rpi2).
0017|gcc is already the newest version (4:8.3.0-1+rpi2).
0018|git is already the newest version (1:2.20.1-2+deb10u8).
0019|make is already the newest version (4.2.1-1.2).
0020|0 upgraded, 0 newly installed, 0 to remove and 242 not upgraded.
0021|#######################################################
0022|##### Install or update NodeJs
0023|NodeJs 16 already installed : Nothing to do !
0024|#######################################################
0025|#    INSTALLING : Mosquitto (server)                  #
0026|#######################################################
0027|Reading package lists...
0028|Building dependency tree...
0029|Reading state information...
0030|mosquitto is already the newest version (1.5.7-1+deb10u1).
0031|0 upgraded, 0 newly installed, 0 to remove and 242 not upgraded.
0032|#######################################################
0033|#    INSTALLING : Mosquitto for Php                   #
0034|#######################################################
0035|PHP Warning:  Module 'mosquitto' already loaded in Unknown on line 0
0036|Mosquitto for Php is already installed, nothing to do
0037|#######################################################
0038|##### Install Socat
0039|Socat is already installed, nothing to do
0040|#######################################################
0041|##### Install yaml php and restart apache
0042|PHP Warning:  Module 'mosquitto' already loaded in Unknown on line 0
0043|Yaml is already installed, nothing to do
0044|#######################################################
0045|#####    Stopping Zigbee2mqtt deamon                  #
0046|#######################################################
0047|##### Update : Download update from Zigbee2mqtt git
0048|From https://github.com/Koenkk/zigbee2mqtt
0049|56589dcc..3d8f0fc3  master     -> origin/master
0050|29635a9b..14ac9a8f  dev        -> origin/dev
0051|* [new branch]        release-please--branches--dev--components--zigbee2mqtt -> origin/release-please--branches--dev--components--zigbee2mqtt
0052|* [new tag]           1.35.0     -> 1.35.0
0053|##### Compiling for NodeJS version 16
0054|## Remove /opt/zigbee2mqtt/package-lock.json
0055|##### Updating...
0056|Updating 56589dcc..3d8f0fc3
0057|Fast-forward
0058|.github/ISSUE_TEMPLATE/new_device_support.yaml |   22 +-
0059|.github/workflows/ci.yml                       |    2 +-
0060|.github/workflows/codeql.yaml                  |    6 +-
0061|.github/workflows/release_please.yml           |   17 +-
0062|.github/workflows/stale.yml                    |    6 +-
0063|.github/workflows/update_deps.yml              |    6 +-
0064|.release-please-manifest.json                  |    5 +-
0065|CHANGELOG.md                                   |   86 +
0066|babel.config.js                                |    1 -
0067|docker/Dockerfile                              |    2 +-
0068|lib/controller.ts                              |    4 +-
0069|lib/extension/availability.ts                  |   24 +-
0070|lib/extension/bridge.ts                        |   26 +-
0071|lib/extension/configure.ts                     |    5 +-
0072|lib/extension/externalConverters.ts            |   26 +-
0073|lib/extension/groups.ts                        |    3 +-
0074|lib/extension/homeassistant.ts                 |  404 +-
0075|lib/extension/legacy/bridgeLegacy.ts           |    5 +-
0076|lib/extension/legacy/report.ts                 |   14 +-
0077|lib/extension/networkMap.ts                    |   17 +-
0078|lib/extension/onEvent.ts                       |    9 +-
0079|lib/extension/otaUpdate.ts                     |   17 +-
0080|lib/extension/publish.ts                       |   51 +-
0081|lib/extension/receive.ts                       |   21 +-
0082|lib/model/device.ts                            |   26 +-
0083|lib/model/group.ts                             |    5 +-
0084|lib/types/types.d.ts                           |   71 +-
0085|lib/types/zigbee-herdsman-converters.d.ts      |    9 -
0086|lib/util/settings.schema.json                  |    2 +-
0087|lib/util/utils.ts                              |   43 +-
0088|lib/util/yaml.ts                               |    3 +-
0089|lib/zigbee.ts                                  |   15 +-
0090|package-lock.json                              | 9368 +++---------------------
0091|package.json                                   |   46 +-
0092|scripts/generateChangelog.js                   |   68 +-
0093|scripts/generateNewSupportedDevices.js         |   12 -
0094|test/availability.test.js                      |   25 +
0095|test/bind.test.js                              |    2 +-
0096|test/bridge.test.js                            |   44 +-
0097|test/controller.test.js                        |    2 +-
0098|test/externalConverters.test.js                |   34 +-
0099|test/group.test.js                             |    2 +-
0100|test/homeassistant.test.js                     |  396 +-
0101|test/networkMap.test.js                        |   10 +-
0102|test/onEvent.test.js                           |    5 +-
0103|test/otaUpdate.test.js                         |   30 +-
0104|test/publish.test.js                           |    6 +-
0105|test/receive.test.js                           |   16 +-
0106|test/settings.test.js                          |   30 +-
0107|test/stub/zigbeeHerdsman.js                    |    2 +-
0108|tsconfig.json                                  |    5 +-
0109|update.sh                                      |    1 +
0110|52 files changed, 2198 insertions(+), 8859 deletions(-)
0111|delete mode 100644 lib/types/zigbee-herdsman-converters.d.ts
0112|delete mode 100644 scripts/generateNewSupportedDevices.js
0113|##### Compiling for production (Branch: master)
0114|npm WARN EBADENGINE Unsupported engine {
0115|npm WARN EBADENGINE   package: 'zigbee2mqtt@1.35.0',
0116|npm WARN EBADENGINE   required: { node: '^18 || ^20 || ^21' },
0117|npm WARN EBADENGINE   current: { node: 'v16.19.1', npm: '8.19.3' }
0118|npm WARN EBADENGINE }
0119|npm WARN EBADENGINE Unsupported engine {
0120|npm WARN EBADENGINE   package: 'debounce@2.0.0',
0121|npm WARN EBADENGINE   required: { node: '>=18' },
0122|npm WARN EBADENGINE   current: { node: 'v16.19.1', npm: '8.19.3' }
0123|npm WARN EBADENGINE }
0124|npm WARN EBADENGINE Unsupported engine {
0125|npm WARN EBADENGINE   package: 'zigbee2mqtt-frontend@0.6.150',
0126|npm WARN EBADENGINE   required: { node: '>=18' },
0127|npm WARN EBADENGINE   current: { node: 'v16.19.1', npm: '8.19.3' }
0128|npm WARN EBADENGINE }
0129|added 806 packages, and audited 807 packages in 3m
0130|92 packages are looking for funding
0131|run `npm fund` for details
0132|found 0 vulnerabilities
0133|##### Force zigbee-herdsman-converters update
0134|npm WARN EBADENGINE Unsupported engine {
0135|npm WARN EBADENGINE   package: 'zigbee2mqtt@1.35.0',
0136|npm WARN EBADENGINE   required: { node: '^18 || ^20 || ^21' },
0137|npm WARN EBADENGINE   current: { node: 'v16.19.1', npm: '8.19.3' }
0138|npm WARN EBADENGINE }
0139|npm WARN EBADENGINE Unsupported engine {
0140|npm WARN EBADENGINE   package: 'debounce@2.0.0',
0141|npm WARN EBADENGINE   required: { node: '>=18' },
0142|npm WARN EBADENGINE   current: { node: 'v16.19.1', npm: '8.19.3' }
0143|npm WARN EBADENGINE }
0144|npm WARN EBADENGINE Unsupported engine {
0145|npm WARN EBADENGINE   package: 'zigbee2mqtt-frontend@0.6.150',
0146|npm WARN EBADENGINE   required: { node: '>=18' },
0147|npm WARN EBADENGINE   current: { node: 'v16.19.1', npm: '8.19.3' }
0148|npm WARN EBADENGINE }
0149|up to date, audited 807 packages in 26s
0150|92 packages are looking for funding
0151|run `npm fund` for details
0152|found 0 vulnerabilities
0153|#######################################################
0154|##### Configure deamon and start it
0155|Created symlink /etc/systemd/system/multi-user.target.wants/zigbee2mqtt.service -> /etc/systemd/system/zigbee2mqtt.service.
0156|#######################################################
0157|#                         END                         #

Voila j’espere avoir mis assez d’infos , je vous remercie deja pour votre aide

Bonjour,

Vous êtes sûr pour le port de votre CC2531 car sur mon Pi je suis configuré comme ci-dessous avec la même clé

je l’ai remis comme le tiens , j’ai relancé les dependances et le deamon , mais toujours pas

log du deamon

[2024-01-06 16:09:34][INFO] : ############ Démarrage des service ############
[2024-01-06 16:09:35][INFO] : ##### Démarrage du service ZigbeeLinker #####
[2024-01-06 16:09:37][INFO] : ##### Service ZigbeeLinker démarré #####
[2024-01-06 16:09:42][INFO] : ##### Démarrage du service MQTT #####
[2024-01-06 16:09:44][INFO] : ##### Démarrage du service MQTT terminé avec succès #####
[2024-01-06 16:09:46][INFO] : ##### Démarrage du service Zigbee2MQTT #####
[2024-01-06 16:09:47][INFO] : ##### Le service Zigbee2MQTT démarre... #####
[2024-01-06 16:09:48][INFO] : ##### Démarrage du service Client MQTT (Client MQTT Local) #####
[2024-01-06 16:09:49][INFO] : #####  -->  Attent que le service Client MQTT (Client MQTT Local) démarre depuis 1 seconde(s)
[2024-01-06 16:09:50][INFO] : ##### Le service Client MQTT a démarré (Client MQTT Local) #####
[2024-01-06 16:09:50][INFO] : ##### Le service Client MQTT ([Aucun][Client MQTT Local]) s'est connecté. #####
[2024-01-06 16:09:50][INFO] : [Aucun][Client MQTT Local] : Client MQTT subscribe : 1
[2024-01-06 16:09:50][INFO] : ##### Le client MQTT Client MQTT Local a reçu un premier message de Zigbee2MQTT #####
[2024-01-06 16:09:50][INFO] : ##### Démarrage du service Client MQTT (Client MQTT Local) terminé avec succès #####
[2024-01-06 16:09:50][INFO] : ##### Le service zigbee2mqtt a démarré #####
[2024-01-06 16:11:08][ERROR] : ##### Le service zigbee2mqtt s'est arrêté #####

Je ne comprend ce qui merde.

est ce qu’une restauration de sauvegarde la veille pourrais eviter ce probleme tout simplement au lieu de ce casser la tete ??

Salut

Pourrais-tu redémarer zigbee2mqtt en mode debug et donner le log. Ce sont deux fonctions dipos en bas de la pave configuration.

Antoine

Voila du peut que je comprenne (c’est à dire rien), on dirait qu’il n’arrive pas a ce connecter a la clé ??

> zigbee2mqtt@1.35.0 start
> node index.js
Zigbee2MQTT requires node version ^18 || ^20 || ^21, you are running v16.19.1!
Zigbee2MQTT:debug 2024-01-06 16:19:16: Loaded state from file /var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/state.json
Zigbee2MQTT:info  2024-01-06 16:19:16: Logging to console and directory: '/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/log/2024-01-06.16-19-16' filename: log.txt
Zigbee2MQTT:debug 2024-01-06 16:19:16: Removing old log directory '/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/log/2024-01-06.15-45-45'
Zigbee2MQTT:info  2024-01-06 16:19:17: Starting Zigbee2MQTT version 1.35.0 (commit #3d8f0fc3)
Zigbee2MQTT:info  2024-01-06 16:19:17: Starting zigbee-herdsman (0.30.0)
Zigbee2MQTT:debug 2024-01-06 16:19:17: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":true},"backupPath":"/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/coordinator_backup.json","databaseBackupPath":"/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/database.db.backup","databasePath":"/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/database.db","network":{"channelList":[20],"extendedPanID":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":44948},"serialPort":{"path":"/dev/ttyACM0"}}'
2024-01-06T15:19:18.548Z zigbee-herdsman:adapter Path '/dev/ttyACM0' is valid for 'ZStackAdapter'
2024-01-06T15:19:18.555Z zigbee-herdsman:controller:log Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":[161,240,210,45,55,245,93,181,239,250,126,199,142,156,197,185],"panID":44948,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[20]},"serialPort":{"path":"/dev/ttyACM0"},"databasePath":"/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/database.db","databaseBackupPath":"/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/database.db.backup","backupPath":"/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/coordinator_backup.json","adapter":{"disableLED":true,"concurrent":null,"delay":null}}'
2024-01-06T15:19:18.558Z zigbee-herdsman:adapter:zStack:znp:log Opening SerialPort with {"path":"/dev/ttyACM0","baudRate":115200,"rtscts":false,"autoOpen":false}
2024-01-06T15:19:23.635Z zigbee-herdsman:adapter:zStack:znp:log Serialport opened
2024-01-06T15:19:23.643Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2024-01-06T15:19:23.649Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
2024-01-06T15:19:23.911Z zigbee-herdsman:adapter:zStack:znp:log Writing CC2530/CC2531 skip bootloader payload
2024-01-06T15:19:23.914Z zigbee-herdsman:adapter:zStack:unpi:writer --> buffer [239]
2024-01-06T15:19:24.916Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2024-01-06T15:19:24.919Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
2024-01-06T15:19:25.171Z zigbee-herdsman:adapter:zStack:znp:log Skip bootloader for CC2652/CC1352
2024-01-06T15:19:40.732Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2024-01-06T15:19:40.733Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
2024-01-06T15:19:46.741Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2024-01-06T15:19:46.743Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
2024-01-06T15:19:52.750Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2024-01-06T15:19:52.751Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
Zigbee2MQTT:error 2024-01-06 16:19:58: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-01-06 16:19:58: Failed to start zigbee
Zigbee2MQTT:error 2024-01-06 16:19:58: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2024-01-06 16:19:58: Exiting...
Zigbee2MQTT:error 2024-01-06 16:19:59: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
at ZStackAdapter.start (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:103:27)
at Controller.start (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
at Zigbee.start (/opt/zigbee2mqtt/lib/zigbee.ts:60:27)
at Controller.start (/opt/zigbee2mqtt/lib/controller.ts:101:27)
at start (/opt/zigbee2mqtt/index.js:107:5)

Salut

Premier souci, ta version nodejs est pas à jour. Si tu es sous jeedom 4.3.21, il faut réappliquer la mise à jour.

Si tu es en diy, un petit sudo apt update && sudo apt upgrade -y
0006|Hit:2 https://deb.nodesource.com/node_18.x nodistro InRelease
Car la source est bien active.

Antoine

Bonjour,

A partir de Jeedom 4.3.21, mettre à jour NodeJS en faisant :
Réglages > Système > Configuration > OS/DB > Vérification générale > Vérifier

akenad :slight_smile:

Jai lancé la mis a jour malheureusement madame m’a quitté le pc entre temps.
Je vous tiens au courant de la suite des évènements !

Est-ce qu’il faudra redémarrer le pi ou meme jeedom pour que tout soit pris en charge

Autre quiestion pour ma culture personnelle :
pkoi cela fonctionnait avant ma coupure de courant alors que je n’avait pas fait de mise a jour sur le pi ??

Parce que ta demande de mise à jour de Zigbee2MQTT (relance dépendances zigbeelinker) nécessite maintenant d’avoir nodejs18, or tu as nodejs 16.
D’ou ma proposition de mettre à jour.

akenad :slight_smile:

bon la mise a jour est terminé mais rien de concluant

0000|#######################################################
0001|#    INSTALL : Zigbee2mqtt                            #
0002|#######################################################
0003|#######################################################
0004|#    INSTALL : Zigbee2mqtt                            #
0005|#######################################################
0006|#######################################################
0007|##### apt-get update in progress
0008|#######################################################
0009|##### apt-get update in progress
0010|Lecture des listes de paquets…
0011|E: Impossible d'obtenir le verrou /var/lib/apt/lists/lock - open (11: Ressource temporairement non disponible)
0012|E: Impossible de verrouiller le répertoire /var/lib/apt/lists/
0013|#######################################################
0014|##### Install or update Git
0015|Lecture des listes de paquets…
0016|Construction de l'arbre des dépendances…Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
0017|Hit:2 http://archive.raspberrypi.org/debian buster InRelease
0018|Lecture des informations d'état…
0019|Hit:3 https://deb.nodesource.com/node_18.x nodistro InRelease
0020|Reading package lists...g++ est déjà la version la plus récente (4:8.3.0-1+rpi2).
0021|gcc est déjà la version la plus récente (4:8.3.0-1+rpi2).
0022|git est déjà la version la plus récente (1:2.20.1-2+deb10u8).
0023|make est déjà la version la plus récente (4.2.1-1.2).
0024|0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
0025|#######################################################
0026|##### Install or update NodeJs
0027|NodeJs 18 already installed : Nothing to do !
0028|#######################################################
0029|#    INSTALLING : Mosquitto (server)                  #
0030|#######################################################
0031|Lecture des listes de paquets…
0032|#######################################################
0033|##### Install or update Git
0034|E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
0035|E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
0036|#######################################################
0037|##### Install or update NodeJs
0038|NodeJs 18 already installed : Nothing to do !
0039|#######################################################
0040|#    INSTALLING : Mosquitto (server)                  #
0041|#######################################################
0042|E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
0043|E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
0044|#######################################################
0045|#    INSTALLING : Mosquitto for Php                   #
0046|#######################################################
0047|PHP Warning:  Module 'mosquitto' already loaded in Unknown on line 0
0048|Mosquitto for Php is already installed, nothing to do
0049|#######################################################
0050|##### Install Socat
0051|Socat is already installed, nothing to do
0052|#######################################################
0053|##### Install yaml php and restart apache
0054|PHP Warning:  Module 'mosquitto' already loaded in Unknown on line 0
0055|Yaml is already installed, nothing to do
0056|#######################################################
0057|#####    Stopping Zigbee2mqtt deamon                  #
0058|#######################################################
0059|##### Update : Download update from Zigbee2mqtt git
0060|Construction de l'arbre des dépendances…
0061|Lecture des informations d'état…
0062|mosquitto est déjà la version la plus récente (1.5.7-1+deb10u1).
0063|0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
0064|#######################################################
0065|#    INSTALLING : Mosquitto for Php                   #
0066|#######################################################
0067|PHP Warning:  Module 'mosquitto' already loaded in Unknown on line 0
0068|Mosquitto for Php is already installed, nothing to do
0069|#######################################################
0070|##### Install Socat
0071|Socat is already installed, nothing to do
0072|#######################################################
0073|##### Install yaml php and restart apache
0074|PHP Warning:  Module 'mosquitto' already loaded in Unknown on line 0
0075|Yaml is already installed, nothing to do
0076|#######################################################
0077|#####    Stopping Zigbee2mqtt deamon                  #
0078|#######################################################
0079|##### Update : Download update from Zigbee2mqtt git
0080|##### NodeJS version changing from 16 to 18
0081|## Remove /opt/zigbee2mqtt/package-lock.json
0082|##### Updating...
0083|Already up to date.
0084|##### Compiling for production (Branch: master)
0085|##### NodeJS version changing from 16 to 18
0086|##### Updating...
0087|Déjà à jour.
0088|##### Compiling for production (Branch: master)
0089|npm ERR! code EUSAGE
0090|npm ERR!
0091|npm ERR! The `npm ci` command can only install with an existing package-lock.json or
0092|npm ERR! npm-shrinkwrap.json with lockfileVersion >= 1. Run an install with npm@5 or
0093|npm ERR! later to generate a package-lock.json file, then try again.
0094|npm ERR!
0095|npm ERR! Clean install a project
0096|npm ERR!
0097|npm ERR! Usage:
0098|npm ERR! npm ci
0099|npm ERR!
0100|npm ERR! Options:
0101|npm ERR! [--install-strategy ] [--legacy-bundling]
0102|npm ERR! [--global-style] [--omit  [--omit  ...]]
0103|npm ERR! [--include  [--include  ...]]
0104|npm ERR! [--strict-peer-deps] [--foreground-scripts] [--ignore-scripts] [--no-audit]
0105|npm ERR! [--no-bin-links] [--no-fund] [--dry-run]
0106|npm ERR! [-w|--workspace  [-w|--workspace  ...]]
0107|npm ERR! [-ws|--workspaces] [--include-workspace-root] [--install-links]
0108|npm ERR!
0109|npm ERR! aliases: clean-install, ic, install-clean, isntall-clean
0110|npm ERR!
0111|npm ERR! Run "npm help ci" for more info
0112|npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-01-06T16_37_26_011Z-debug-0.log
0113|##### Force zigbee-herdsman-converters update
0114|npm ERR! code EUSAGE
0115|npm ERR!
0116|npm ERR! The `npm ci` command can only install with an existing package-lock.json or
0117|npm ERR! npm-shrinkwrap.json with lockfileVersion >= 1. Run an install with npm@5 or
0118|npm ERR! later to generate a package-lock.json file, then try again.
0119|npm ERR!
0120|npm ERR! Clean install a project
0121|npm ERR!
0122|npm ERR! Usage:
0123|npm ERR! npm ci
0124|npm ERR!
0125|npm ERR! Options:
0126|npm ERR! [--install-strategy ] [--legacy-bundling]
0127|npm ERR! [--global-style] [--omit  [--omit  ...]]
0128|npm ERR! [--include  [--include  ...]]
0129|npm ERR! [--strict-peer-deps] [--foreground-scripts] [--ignore-scripts] [--no-audit]
0130|npm ERR! [--no-bin-links] [--no-fund] [--dry-run]
0131|npm ERR! [-w|--workspace  [-w|--workspace  ...]]
0132|npm ERR! [-ws|--workspaces] [--include-workspace-root] [--install-links]
0133|npm ERR!
0134|npm ERR! aliases: clean-install, ic, install-clean, isntall-clean
0135|npm ERR!
0136|npm ERR! Run "npm help ci" for more info
0137|npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-01-06T16_37_33_693Z-debug-0.log
0138|##### Force zigbee-herdsman-converters update
0139|up to date, audited 807 packages in 47s
0140|92 packages are looking for funding
0141|run `npm fund` for details
0142|found 0 vulnerabilities
0143|#######################################################
0144|##### Configure deamon and start it
0145|Created symlink /etc/systemd/system/multi-user.target.wants/zigbee2mqtt.service -> /etc/systemd/system/zigbee2mqtt.service.
0146|up to date, audited 807 packages in 41s
0147|92 packages are looking for funding
0148|run `npm fund` for details
0149|found 0 vulnerabilities
0150|cp: impossible d'évaluer 'data-backup/*': Aucun fichier ou dossier de ce type
0151|#######################################################
0152|##### Configure deamon and start it
0153|#######################################################
0154|#######################################################
0155|#                         END                         #
0156|#                         END                         #
0157|#######################################################
0158|#######################################################
0159|rm: impossible de supprimer '/tmp/jeedom/zigbee2mqtt/dependance': Aucun fichier ou dossier de ce type
0000|[2024-01-06 17:39:27][INFO] : ############ Démarrage des service ############
0001|[2024-01-06 17:39:27][INFO] : ##### Démarrage du service ZigbeeLinker #####
0002|[2024-01-06 17:39:28][INFO] : ##### Service ZigbeeLinker démarré #####
0003|[2024-01-06 17:39:34][INFO] : ##### Démarrage du service MQTT #####
0004|[2024-01-06 17:39:36][INFO] : ##### Démarrage du service MQTT terminé avec succès #####
0005|[2024-01-06 17:39:38][INFO] : ##### Démarrage du service Zigbee2MQTT #####
0006|[2024-01-06 17:39:39][INFO] : ##### Le service Zigbee2MQTT démarre... #####
0007|[2024-01-06 17:39:39][INFO] : ##### Démarrage du service Client MQTT (Client MQTT Local) #####
0008|[2024-01-06 17:39:40][INFO] : #####  -->  Attent que le service Client MQTT (Client MQTT Local) démarre depuis 1 seconde(s)
0009|[2024-01-06 17:39:41][INFO] : ##### Le service Client MQTT a démarré (Client MQTT Local) #####
0010|[2024-01-06 17:39:41][INFO] : [Aucun][Client MQTT Local] : Client MQTT subscribe : 1
0011|[2024-01-06 17:39:41][INFO] : ##### Le client MQTT Client MQTT Local a reçu un premier message de Zigbee2MQTT #####
0012|[2024-01-06 17:39:41][INFO] : ##### Démarrage du service Client MQTT (Client MQTT Local) terminé avec succès #####
0013|[2024-01-06 17:39:42][INFO] : ##### Le service zigbee2mqtt a démarré #####
0014|[2024-01-06 17:39:43][INFO] : ##### Le service ZigbeeLinker a démarré #####
0015|[2024-01-06 17:40:59][ERROR] : ##### Le service zigbee2mqtt s'est arrêté #####
0016|[2024-01-06 17:43:03][INFO] : ##### Démarrage du service Zigbee2MQTT #####

je n’ai toujours pas accès a l’interface de mqtt! bizarrre

Remets le port sur CC2531 (/dev/serial/by-id) et relance le démon.

akenad :slight_smile:

j’ai changé le port mais toujours rien

0478|[2024-01-07 12:48:02]INFO : ##### Service Zigbee2MQTT arrêté.
0479|[2024-01-07 12:48:02]INFO : ##### Le service Zigbee2MQTT s'est arrêté correctement. #####
0480|[2024-01-07 12:48:02]INFO : ##### Arrêt du service MQTT #####
0481|[2024-01-07 12:48:02]INFO : ##### Tentative d'arrêt du service MQTT (méthode 1)
0482|[2024-01-07 12:48:03]INFO : ##### Service MQTT arrêté.
0483|[2024-01-07 12:48:03]INFO : ##### Le service MQTT s'est arrêté correctement. #####
0484|[2024-01-07 12:48:04]INFO : ############ Démarrage des service ############
0485|[2024-01-07 12:48:04]INFO : ##### Démarrage du service ZigbeeLinker #####
0486|[2024-01-07 12:48:06]INFO : ##### Service ZigbeeLinker démarré #####
0487|[2024-01-07 12:48:13]INFO : ##### Démarrage du service MQTT #####
0488|[2024-01-07 12:48:14]INFO : ##### Démarrage du service MQTT terminé avec succès #####
0489|[2024-01-07 12:48:17]INFO : ##### Démarrage du service Zigbee2MQTT #####
0490|[2024-01-07 12:48:18]INFO : ##### Le service Zigbee2MQTT démarre... #####
0491|[2024-01-07 12:48:18]INFO : ##### Démarrage du service Client MQTT (Client MQTT Local) #####
0492|[2024-01-07 12:48:19]INFO : #####  -->  Attent que le service Client MQTT (Client MQTT Local) démarre depuis 1 seconde(s)
0493|[2024-01-07 12:48:20]INFO : ##### Le service Client MQTT a démarré (Client MQTT Local) #####
0494|[2024-01-07 12:48:20]INFO : ##### Le service Client MQTT ([Aucun][Client MQTT Local]) s'est connecté. #####
0495|[2024-01-07 12:48:20]INFO : [Aucun][Client MQTT Local] : Client MQTT subscribe : 1
0496|[2024-01-07 12:48:20]INFO : ##### Le client MQTT Client MQTT Local a reçu un premier message de Zigbee2MQTT #####
0497|[2024-01-07 12:48:20]INFO : ##### Démarrage du service Client MQTT (Client MQTT Local) terminé avec succès #####
0498|[2024-01-07 12:48:21]INFO : ##### Le service zigbee2mqtt a démarré #####
0499|[2024-01-07 12:49:37]ERROR : ##### Le service zigbee2mqtt s'est arrêté #####

log du mode debug

> zigbee2mqtt@1.35.0 start
> node index.js
Zigbee2MQTT:debug 2024-01-07 12:52:45: Loaded state from file /var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/state.json
Zigbee2MQTT:info  2024-01-07 12:52:45: Logging to console and directory: '/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/log/2024-01-07.12-52-42' filename: log.txt
Zigbee2MQTT:debug 2024-01-07 12:52:45: Removing old log directory '/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/log/2024-01-07.12-24-12'
Zigbee2MQTT:info  2024-01-07 12:52:46: Starting Zigbee2MQTT version 1.35.0 (commit #3d8f0fc3)
Zigbee2MQTT:info  2024-01-07 12:52:46: Starting zigbee-herdsman (0.30.0)
Zigbee2MQTT:debug 2024-01-07 12:52:46: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":true},"backupPath":"/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/coordinator_backup.json","databaseBackupPath":"/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/database.db.backup","databasePath":"/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/database.db","network":{"channelList":[20],"extendedPanID":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":44948},"serialPort":{"path":"/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B000BE5AE42-if00"}}'
2024-01-07T11:52:47.902Z zigbee-herdsman:adapter Path '/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B000BE5AE42-if00' is valid for 'ZStackAdapter'
2024-01-07T11:52:47.910Z zigbee-herdsman:controller:log Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":[161,240,210,45,55,245,93,181,239,250,126,199,142,156,197,185],"panID":44948,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[20]},"serialPort":{"path":"/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B000BE5AE42-if00"},"databasePath":"/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/database.db","databaseBackupPath":"/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/database.db.backup","backupPath":"/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/coordinator_backup.json","adapter":{"disableLED":true,"concurrent":null,"delay":null}}'
2024-01-07T11:52:47.914Z zigbee-herdsman:adapter:zStack:znp:log Opening SerialPort with {"path":"/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B000BE5AE42-if00","baudRate":115200,"rtscts":false,"autoOpen":false}
2024-01-07T11:52:52.997Z zigbee-herdsman:adapter:zStack:znp:log Serialport opened
2024-01-07T11:52:53.004Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2024-01-07T11:52:53.009Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
2024-01-07T11:52:53.269Z zigbee-herdsman:adapter:zStack:znp:log Writing CC2530/CC2531 skip bootloader payload
2024-01-07T11:52:53.271Z zigbee-herdsman:adapter:zStack:unpi:writer --> buffer [239]
2024-01-07T11:52:54.275Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2024-01-07T11:52:54.278Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
2024-01-07T11:52:54.530Z zigbee-herdsman:adapter:zStack:znp:log Skip bootloader for CC2652/CC1352
2024-01-07T11:53:10.092Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2024-01-07T11:53:10.093Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
2024-01-07T11:53:16.101Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2024-01-07T11:53:16.102Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
2024-01-07T11:53:22.111Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2024-01-07T11:53:22.112Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
Zigbee2MQTT:error 2024-01-07 12:53:28: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-01-07 12:53:28: Failed to start zigbee
Zigbee2MQTT:error 2024-01-07 12:53:28: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2024-01-07 12:53:28: Exiting...
Zigbee2MQTT:error 2024-01-07 12:53:29: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
at ZStackAdapter.start (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:103:27)
at Controller.start (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
at Zigbee.start (/opt/zigbee2mqtt/lib/zigbee.ts:60:27)
at Controller.start (/opt/zigbee2mqtt/lib/controller.ts:101:27)
at start (/opt/zigbee2mqtt/index.js:107:5)

Aller dans :
Réglages > Système > Configuration > OS/DB > Administration système > Ouvrir
taper commande :

npm -v

Résultat ?

akenad :slight_smile:

ca donne
10.2.3

Donc le problème ne semble pas être dans la version de npm mais il semble qu’il y ait tout de même un problème lors de la compilation de zigbee2mqtt 1.35.0 :

essayer extrait de Plugin ZigbeeLinker (Jeedom) : FAQ – Pasteck, le passe technique :

akenad :slight_smile:

Bonjour,
Je viens de faire la mise ajour :

Version Zigbee2MQTT installée : 1.35.1 (votre version de Zigbee2MQTT est à jour)
Version PHP installée : 7.4.33

Et maintenant :

Merci de m’aider

1 « J'aime »

Même problème pour moi, démarrage service Zigbee2MQTT (et arrêt) sans arrêt depuis 3 heures (installation ce matin à 8h) et tous mes équipements zigbee sont « déconnectées » (=timeout)…
Help!!!

Même soucis pour moi, y a t’il une solution ?

Il faudrait ouvrir votre propre sujet.

Antoine