Reseau zwave HS

Bonjour à tous,

Depuis ce matin, mon réseau zwave semble HS.
J’utilise un Rpi 4, Jeedom en 4.3.17, et le plugin Openzwave.

Ma configuration est stable depuis environ 2 ans. Pas de changements de paramétrage.

Ma page santé est bien verte :

Les dépendances et le daemon semblent OK :

Mais quand on va regarder en détails, tout est vide :

J’ai tenté un redémarrage de Jeedom, une réinstallation du plugin, une réinstallation des dépendances. Rien n’y fait.

A noter que mon stick clignote normalement.

J’ai un petit point d’exclamation en haut à droite de mon Jeedom avec l’erreur suivante :
https://XXXXXXXXX.ovh/index.php?v=d&m=openzwave&p=openzwave 396 TypeError: undefined is not an object (evaluating ‹ data.controllerNodeCapabilities.indexOf ›)

Le log openzwaved donne ça :

Quand je cherche à actionner une commande, le log openzwave donne ça :

En passant le log openzwaved en « debug », je reçois ça :

2023-11-08 08:34:53.930 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x05) - FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2023-11-08 08:34:54.930 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2023-11-08 08:34:54.930 Detail, contrlr, Removing current message
2023-11-08 08:34:54.930 Detail, contrlr, Notification: Notification - TimeOut
2023-11-08 08:34:54.931 Detail,
2023-11-08 08:34:54.931 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x07) - FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2023-11-08 08:34:55.931 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2023-11-08 08:34:55.932 Detail, contrlr, Removing current message
2023-11-08 08:34:55.932 Detail, contrlr, Notification: Notification - TimeOut
2023-11-08 08:34:55.934 Detail,
2023-11-08 08:34:55.935 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x56) - FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2023-11-08 08:34:56.935 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2023-11-08 08:34:56.935 Detail, contrlr, Removing current message
2023-11-08 08:34:56.935 Detail, contrlr, Notification: Notification - TimeOut
2023-11-08 08:35:19.409 Warning, WARNING: Out of frame flow! (0xc0).  Sending NAK.
2023-11-08 08:35:20.358 Warning, WARNING: Out of frame flow! (0xc0).  Sending NAK.
2023-11-08 08:35:21.397 Warning, WARNING: Out of frame flow! (0xc0).  Sending NAK.
2023-11-08 08:35:22.355 Warning, WARNING: Out of frame flow! (0xc0).  Sending NAK.
2023-11-08 08:35:23.304 Warning, WARNING: Out of frame flow! (0xc0).  Sending NAK.
2023-11-08 08:35:24.554 Warning, WARNING: Out of frame flow! (0xc0).  Sending NAK.
2023-11-08 08:35:25.605 Warning, WARNING: Out of frame flow! (0xc0).  Sending NAK.
2023-11-08 08:35:40.388 Warning, WARNING: Out of frame flow! (0xc0).  Sending NAK.
2023-11-08 08:35:41.339 Warning, WARNING: Out of frame flow! (0xc0).  Sending NAK.

Enfin, le log openzwave en début me montre ça :

[2023-11-08 08:34:51]INFO : ******** The ZWave network is being started ********
[2023-11-08 08:34:51]INFO : Start Openzwave network.
[2023-11-08 08:34:51]INFO : 200 GET /backup?type=restore&backup=2023-05-09-13-25-23_stop_zwcfg_0xcc13050e.xml&apikey=k7KEh7aZmfIKfZhMRIvlCBuAmTeWnIyF (127.0.0.1) 8059.46ms
[2023-11-08 08:34:52]DEBUG : notif_callback : new notification
[2023-11-08 08:34:52]DEBUG : notif_callback : Notification type : 26, nodeId : 255
[2023-11-08 08:34:52]DEBUG : notif_callback : call callback context
[2023-11-08 08:34:52]DEBUG : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2023-11-08 08:34:52]DEBUG : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2023-11-08 08:34:52]DEBUG : notif_callback : end
[2023-11-08 08:34:53]DEBUG : notif_callback : new notification
[2023-11-08 08:34:53]DEBUG : notif_callback : Notification type : 26, nodeId : 255
[2023-11-08 08:34:53]DEBUG : notif_callback : call callback context
[2023-11-08 08:34:53]DEBUG : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2023-11-08 08:34:53]DEBUG : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2023-11-08 08:34:53]DEBUG : notif_callback : end
[2023-11-08 08:34:54]DEBUG : notif_callback : new notification
[2023-11-08 08:34:54]DEBUG : notif_callback : Notification type : 26, nodeId : 255
[2023-11-08 08:34:54]DEBUG : notif_callback : call callback context
[2023-11-08 08:34:54]DEBUG : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2023-11-08 08:34:54]DEBUG : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2023-11-08 08:34:54]DEBUG : notif_callback : end
[2023-11-08 08:34:55]DEBUG : notif_callback : new notification
[2023-11-08 08:34:55]DEBUG : notif_callback : Notification type : 26, nodeId : 255
[2023-11-08 08:34:55]DEBUG : notif_callback : call callback context
[2023-11-08 08:34:55]DEBUG : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2023-11-08 08:34:55]DEBUG : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2023-11-08 08:34:55]DEBUG : notif_callback : end
[2023-11-08 08:34:56]DEBUG : notif_callback : new notification
[2023-11-08 08:34:56]DEBUG : notif_callback : Notification type : 26, nodeId : 255
[2023-11-08 08:34:56]DEBUG : notif_callback : call callback context
[2023-11-08 08:34:56]DEBUG : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2023-11-08 08:34:56]DEBUG : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2023-11-08 08:34:56]DEBUG : notif_callback : end
[2023-11-08 08:35:47]INFO : 200 GET /network?type=info&info=getStatus&apikey=k7KEh7aZmfIKfZhMRIvlCBuAmTeWnIyF (127.0.0.1) 1.44ms
[2023-11-08 08:35:47]INFO : 200 GET /network?type=info&info=getNeighbours&apikey=k7KEh7aZmfIKfZhMRIvlCBuAmTeWnIyF (127.0.0.1) 1.43ms
[2023-11-08 08:35:48]INFO : 200 GET /network?type=info&info=getNeighbours&apikey=k7KEh7aZmfIKfZhMRIvlCBuAmTeWnIyF (127.0.0.1) 2.22ms
[2023-11-08 08:35:49]INFO : 200 GET /network?type=info&info=getNeighbours&apikey=k7KEh7aZmfIKfZhMRIvlCBuAmTeWnIyF (127.0.0.1) 1.35ms

J’ai aussi retenté de partir d’une sauvegarde « image » de mon ssd d’il y a 7 jours… Idem

Auriez vous une piste ? Est ce que ca pourrait venir du stick Gen 5 même si l continue à clignoter normalement ?

Bonjour,

vous parlez d’un « stick » dans ce cas le port que vous avez configuré est incorrecte

image
ceci est le port gpio (interne)

pour une clé sur usb ca sera
image

donc ttyACMx et pas ttyAMAx

Oui ça peut.
Dans ce cas il faut arrêter Jeedom, le déconnecter de l’usb pendant 5min le replugguer et redémarrer Jeedom.

Cependant, un conseil, quand un dysfonctionnement survient comme cela, il est franchement inutile de réinstaller le plugin les dépendances.
On est sous Linux pas Windows ! Ce genre de manoeuvre peut faire pire que mieux dans certains cas.

De plus si c’est une clé usb, le port ne semble pas être le bon !

Edit : Mips plus rapide !

Effectivement, dans la photo que j’ai postée, le port est incorrect.

En fait, le port a toujours été configuré en « auto ». Et ça a toujours parfaitement fonctionné comme ça.
Sauf que depuis ce matin, si je laisse en auto, le daemon ne se lance pas.

Du coup, j’ai essayé d’autres ports « manuellement », mais sans plus de succès…

Et donc…

si ce port n’est pas visible c’est que la clé à un soucis, pas la peine d’essayer autre chose

  1. essayez de débrancher la clé, attendre et la remettre (mais si vous avez déjà redémarré le pi ca parait improbable que cela fonctionne…)

  2. autre piste: déplacez la clé sur un hub alimenté, l’alimentation du pi fatigue peut-être

Voila ce que me retourne le log openzwaved avec ACM0 :

2023-11-08 08:52:55.169 Always, OpenZwave Version 1.4.0 Starting Up
2023-11-08 08:52:55.172 Info, Setting Up Provided Network Key for Secure Communications
2023-11-08 08:52:55.172 Info, mgr,     Added driver for controller /dev/ttyACM0
2023-11-08 08:52:55.172 Info,   Opening controller /dev/ttyACM0
2023-11-08 08:52:55.172 Info, Trying to open serial port /dev/ttyACM0 (attempt 1)
2023-11-08 08:52:55.176 Info, Serial port /dev/ttyACM0 opened (attempt 1)
2023-11-08 08:52:55.176 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2023-11-08 08:52:55.176 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2023-11-08 08:52:55.176 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2023-11-08 08:52:55.176 Detail, contrlr, Queuing (Command) FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2023-11-08 08:52:55.176 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2023-11-08 08:52:55.176 Detail,
2023-11-08 08:52:55.176 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x15) - FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2023-11-08 08:52:56.177 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2023-11-08 08:52:56.177 Detail, contrlr, Removing current message
2023-11-08 08:52:56.177 Detail, contrlr, Notification: Notification - TimeOut
2023-11-08 08:52:56.180 Detail,
2023-11-08 08:52:56.180 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x20) - FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2023-11-08 08:52:57.181 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2023-11-08 08:52:57.181 Detail, contrlr, Removing current message
2023-11-08 08:52:57.181 Detail, contrlr, Notification: Notification - TimeOut
2023-11-08 08:52:57.183 Detail,
2023-11-08 08:52:57.183 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x05) - FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2023-11-08 08:52:58.184 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2023-11-08 08:52:58.184 Detail, contrlr, Removing current message
2023-11-08 08:52:58.184 Detail, contrlr, Notification: Notification - TimeOut
2023-11-08 08:52:58.185 Detail,
2023-11-08 08:52:58.185 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x07) - FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2023-11-08 08:52:59.185 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2023-11-08 08:52:59.186 Detail, contrlr, Removing current message
2023-11-08 08:52:59.186 Detail, contrlr, Notification: Notification - TimeOut
2023-11-08 08:52:59.188 Detail,
2023-11-08 08:52:59.188 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x56) - FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2023-11-08 08:53:00.189 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2023-11-08 08:53:00.189 Detail, contrlr, Removing current message
2023-11-08 08:53:00.189 Detail, contrlr, Notification: Notification - TimeOut

et pour openzwave :

[2023-11-08 08:52:55]INFO : ******** The ZWave network is being started ********
[2023-11-08 08:52:55]INFO : Start Openzwave network.
[2023-11-08 08:52:55]INFO : OpenZwave Library Version 1.4.0
[2023-11-08 08:52:55]INFO : Python-OpenZwave Wrapper Version 0.3.1
[2023-11-08 08:52:55]INFO : --> pass
[2023-11-08 08:52:55]INFO : Waiting for network to become ready
[2023-11-08 08:52:55]DEBUG : Writing PID 8197 to /tmp/jeedom/openzwave/deamon.pid
[2023-11-08 08:52:55]INFO : Démon openzwave lancé
[2023-11-08 08:52:56]DEBUG : notif_callback : new notification
[2023-11-08 08:52:56]DEBUG : notif_callback : Notification type : 26, nodeId : 255
[2023-11-08 08:52:56]DEBUG : notif_callback : call callback context
[2023-11-08 08:52:56]DEBUG : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2023-11-08 08:52:56]DEBUG : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2023-11-08 08:52:56]DEBUG : notif_callback : end
[2023-11-08 08:52:57]DEBUG : notif_callback : new notification
[2023-11-08 08:52:57]DEBUG : notif_callback : Notification type : 26, nodeId : 255
[2023-11-08 08:52:57]DEBUG : notif_callback : call callback context
[2023-11-08 08:52:57]DEBUG : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2023-11-08 08:52:57]DEBUG : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2023-11-08 08:52:57]DEBUG : notif_callback : end
[2023-11-08 08:52:58]DEBUG : notif_callback : new notification
[2023-11-08 08:52:58]DEBUG : notif_callback : Notification type : 26, nodeId : 255
[2023-11-08 08:52:58]DEBUG : notif_callback : call callback context
[2023-11-08 08:52:58]DEBUG : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2023-11-08 08:52:58]DEBUG : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2023-11-08 08:52:58]DEBUG : notif_callback : end
[2023-11-08 08:52:59]DEBUG : notif_callback : new notification
[2023-11-08 08:52:59]DEBUG : notif_callback : Notification type : 26, nodeId : 255
[2023-11-08 08:52:59]DEBUG : notif_callback : call callback context
[2023-11-08 08:52:59]DEBUG : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2023-11-08 08:52:59]DEBUG : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2023-11-08 08:52:59]DEBUG : notif_callback : end
[2023-11-08 08:53:00]DEBUG : notif_callback : new notification
[2023-11-08 08:53:00]DEBUG : notif_callback : Notification type : 26, nodeId : 255
[2023-11-08 08:53:00]DEBUG : notif_callback : call callback context
[2023-11-08 08:53:00]DEBUG : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2023-11-08 08:53:00]DEBUG : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2023-11-08 08:53:00]DEBUG : notif_callback : end

je suis incapable de lire les logs openzwave, ni d’aider plus sur les détails de config, je n’ai plus ce plugin.

que dit la page réseau zwave cette fois?

y a-t-il qlqch ici?
image

non, ca reste vide…

et pour préciser ma config, le stick est déjà sur un hub avec alim externe

Bonjour,
Tu peux aussi débrancher l’alimentation du hub et la rebrancher qq secondes après. Il m’était arrivé que le hub « se plante ».

J’ai suivi ta méthode en déconnectant bien le stick pendant 5min. (je l’avais déconnecté 10 secondes seulement).
En relançant Jeedom, tout est reparti !

Donc ça marche (mais je ne sais toujours pas pourquoi tout a planté…)

Merci à @Mips , @anon53349806 et @rennais35000 pour votre aide !

1 « J'aime »

Ca arrive parfois que la clé se mette en carafe, c’est comme ça…

Coche le post en solution pour les suivants :wink:

Salut,

Il me semble que c’est une problématique propre à openzwave. Car zwavejsUI reset le contrôleur quand il détecte ce type de problème.

La joie n’aura été que de courte durée…

A nouveau en panne… Tout est vert sur les dépendances et le daemon. Mais aucune commande ne fonctionne…

le log donne ça désormais :

2023-11-08 10:41:55.270 Detail,
2023-11-08 10:41:55.270 Info, Node010, Processing (Refresh) Nonce Request message (Callback ID=0xd3, Expected Reply=0x04)
2023-11-08 10:41:55.270 Info, Node010, Sending (Refresh) message (Callback ID=0x02, Expected Reply=0x04) - Nonce_Get(SwitchMultilevelCmd_Get) - 0x01, 0x09, 0x00, 0x13, 0x0a, 0x02, 0x98, 0x40, 0x05, 0x02:
2023-11-08 10:41:56.270 Error, Node010, ERROR: Dropping command, expected response not received after 1 attempt(s)
2023-11-08 10:41:56.271 Detail, Node010, Removing current message
2023-11-08 10:41:56.271 Detail, Node010, Notification: Notification - TimeOut
2023-11-08 10:42:04.278 Info, mgr,     Refreshing node 10: COMMAND_CLASS_SWITCH_MULTILEVEL index = 0 instance = 1 (to confirm a reported change)
2023-11-08 10:42:04.278 Detail, Node010, Setting Encryption Flag on Message For Command Class COMMAND_CLASS_SWITCH_MULTILEVEL
2023-11-08 10:42:04.278 Detail, Node010, Queuing (Refresh) SwitchMultilevelCmd_Get (Node=10): 0x01, 0x09, 0x00, 0x13, 0x0a, 0x02, 0x26, 0x02, 0x25, 0xd4, 0x38
2023-11-08 10:42:04.278 Detail,
2023-11-08 10:42:04.279 Info, Node010, Processing (Refresh) Nonce Request message (Callback ID=0xd4, Expected Reply=0x04)
2023-11-08 10:42:04.279 Info, Node010, Sending (Refresh) message (Callback ID=0x02, Expected Reply=0x04) - Nonce_Get(SwitchMultilevelCmd_Get) - 0x01, 0x09, 0x00, 0x13, 0x0a, 0x02, 0x98, 0x40, 0x05, 0x02:
2023-11-08 10:42:05.279 Error, Node010, ERROR: Dropping command, expected response not received after 1 attempt(s)
2023-11-08 10:42:05.279 Detail, Node010, Removing current message
2023-11-08 10:42:05.279 Detail, Node010, Notification: Notification - TimeOut

Deux dernières questions :

-Si je m’aperçois que mon stick est défectueux, et que je rachète la même ref, faut-il refaire toutes les inclusions, ou bien le rattachement se fera t’il automatiquement ?

-Si je souhaite passer sur un autre plugin Zwave, faudra-t’il refaire toutes les inclusions de tous les périphériques ?

Non, en zwave les modules sont sur la clé. Tu peux très bien installer de suite zwavejs et voir la découverte de tes équipements. Il faut juste veiller à ce que les 2 demons ne soient pas actif en même temps. Donc tu désactives le demon d’openzwave le temps que tu tests zwavejs.
Cherche, il y a une video de guipom qui explique bien

En zwave les modules sont associés au controleur.

Avec le gen 5 aeotec y a un soft windows qui permet de backup et restaurer vers un autre controleur du même type.

Par contre je te conseillevivement de migrer vers openzwaveui car openzwave n’évoluera plus et t’empeche de passer à debian 11

Ca fait plusieurs mois que j’y pense en effet…
Mais le fait de devoir modifier tous mes scenarios (une centaine) avec les nouvelles commandes fait que j’ai toujours repoussé l’échéance…

Justement, regardes la vidéo et tu pourras utiliser l’Outil « Remplacer » qui est là pour ça et qui rend tout cela très facile. Il fait les modifs pour toi.

1 « J'aime »

Merci à tous pour vos conseils.

J’ai finalement pris le temps de me poser un peu et de faire la transition Openzwave → ZwaveJS avec le remplacement de toutes mes commandes.

A part un module VR qui pour une raison inconnue ne répondait pas, et pour lequel il a simplement fallu recréer les commandes, tout s’est bien passé.

J’espère que ça sera plus stable qu’avec Openzwave… Mais je soupçonne peut-être un problème matériel, le port choisi et sauvegardé dans la page des paramètre du plugin disparaissait au bout de quelques minutes ou heures… Ca ne m’a jamais fait ça avant…

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.