Conflit USB ZWAVE et RFLink

voici le log zwave:
2019-12-26 16:55:15.914 Always, OpenZwave Version 1.4.0 Starting Up
2019-12-26 16:55:15.929 Info, Setting Up Provided Network Key for Secure Communications
2019-12-26 16:55:15.934 Info, mgr, Added driver for controller /dev/ttyAMA0
2019-12-26 16:55:15.934 Info, Opening controller /dev/ttyAMA0
2019-12-26 16:55:15.935 Info, Trying to open serial port /dev/ttyAMA0 (attempt 1)
2019-12-26 16:55:15.935 Info, Serial port /dev/ttyAMA0 opened (attempt 1)
2019-12-26 16:55:15.936 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2019-12-26 16:55:15.936 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2019-12-26 16:55:15.936 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2019-12-26 16:55:15.937 Detail, contrlr, Queuing (Command) FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2019-12-26 16:55:15.937 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2019-12-26 16:55:15.937 Detail,
2019-12-26 16:55:15.937 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x15) - FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2019-12-26 16:55:16.938 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-12-26 16:55:16.938 Detail, contrlr, Removing current message
2019-12-26 16:55:16.938 Detail, contrlr, Notification: Notification - TimeOut
2019-12-26 16:55:16.946 Detail,
2019-12-26 16:55:16.946 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x20) - FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2019-12-26 16:55:17.946 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-12-26 16:55:17.947 Detail, contrlr, Removing current message
2019-12-26 16:55:17.947 Detail, contrlr, Notification: Notification - TimeOut
2019-12-26 16:55:17.953 Detail,
2019-12-26 16:55:17.953 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x05) - FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2019-12-26 16:55:18.954 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-12-26 16:55:18.954 Detail, contrlr, Removing current message
2019-12-26 16:55:18.954 Detail, contrlr, Notification: Notification - TimeOut
2019-12-26 16:55:18.960 Detail,
2019-12-26 16:55:18.961 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x07) - FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2019-12-26 16:55:19.961 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-12-26 16:55:19.961 Detail, contrlr, Removing current message
2019-12-26 16:55:19.962 Detail, contrlr, Notification: Notification - TimeOut
2019-12-26 16:55:19.973 Detail,
2019-12-26 16:55:19.973 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x56) - FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2019-12-26 16:55:20.974 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-12-26 16:55:20.974 Detail, contrlr, Removing current message
2019-12-26 16:55:20.974 Detail, contrlr, Notification: Notification - TimeOut

Log de RFLink:
Thu Dec 26 2019 12:29:54 GMT+0100 (Central European Standard Time) - Jeedom url : h…p://127.0.0.1:80/plugins/rflink/core/api/rflink.php?apikey=8A0Vxl3ayjI5hLhBFZveysm9md6bOBBx, gwAddress : /dev/ttyAMA0
Thu Dec 26 2019 12:29:54 GMT+0100 (Central European Standard Time) - server bound on 8020
Thu Dec 26 2019 12:29:54 GMT+0100 (Central European Standard Time) Error gateway: Error: Error Resource temporarily unavailable Cannot lock port Error: Error Resource temporarily unavailable Cannot lock port
Thu Dec 26 2019 12:29:57 GMT+0100 (Central European Standard Time) - Server connected
Thu Dec 26 2019 13:23:22 GMT+0100 (GMT+01:00) - Jeedom url : h–p://127.0.0.1:80/plugins/rflink/core/api/rflink.php?apikey=8A0Vxl3ayjI5hLhBFZveysm9md6bOBBx, gwAddress : /dev/ttyAMA0
Thu Dec 26 2019 13:23:22 GMT+0100 (GMT+01:00) - server bound on 8020
Port open
Thu Dec 26 2019 13:23:24 GMT+0100 (GMT+01:00) - Server connected
Thu Dec 26 2019 13:25:06 GMT+0100 (GMT+01:00) - Jeedom url : hp://127.0.0.1:80/plugins/rflink/core/api/rflink.php?apikey=8A0Vxl3ayjI5hLhBFZveysm9md6bOBBx, gwAddress : /dev/ttyAMA0
Thu Dec 26 2019 13:25:06 GMT+0100 (GMT+01:00) - server bound on 8020
Thu Dec 26 2019 13:25:06 GMT+0100 (GMT+01:00) Error gateway: Error: Error Resource temporarily unavailable Cannot lock port Error: Error Resource temporarily unavailable Cannot lock port
Thu Dec 26 2019 13:25:09 GMT+0100 (GMT+01:00) - Server connected
Thu Dec 26 2019 13:43:06 GMT+0100 (Central European Standard Time) - Jeedom url : h
p://127.0.0.1:80/plugins/rflink/core/api/rflink.php?apikey=8A0Vxl3ayjI5hLhBFZveysm9md6bOBBx, gwAddress : /dev/ttyAMA0
Thu Dec 26 2019 13:43:07 GMT+0100 (Central European Standard Time) - server bound on 8020
Thu Dec 26 2019 13:43:07 GMT+0100 (Central European Standard Time) Error gateway: Error: Error Resource temporarily unavailable Cannot lock port Error: Error Resource temporarily unavailable Cannot lock port
Thu Dec 26 2019 13:43:08 GMT+0100 (Central European Standard Time) - Server connected
Thu Dec 26 2019 13:46:17 GMT+0100 (Central European Standard Time) - Jeedom url : hp://127.0.0.1:80/plugins/rflink/core/api/rflink.php?apikey=8A0Vxl3ayjI5hLhBFZveysm9md6bOBBx, gwAddress : /dev/ttyAMA0
Thu Dec 26 2019 13:46:18 GMT+0100 (Central European Standard Time) - server bound on 8020
Port open
Thu Dec 26 2019 13:46:20 GMT+0100 (Central European Standard Time) - Server connected
Thu Dec 26 2019 13:47:02 GMT+0100 (Central European Standard Time) - Jeedom url : h
p://127.0.0.1:80/plugins/rflink/core/api/rflink.php?apikey=8A0Vxl3ayjI5hLhBFZveysm9md6bOBBx, gwAddress : /dev/ttyAMA0
Thu Dec 26 2019 13:47:02 GMT+0100 (Central European Standard Time) - server bound on 8020
Port open
Thu Dec 26 2019 13:47:05 GMT+0100 (Central European Standard Time) - Server connected
Thu Dec 26 2019 13:54:29 GMT+0100 (GMT+01:00) - Jeedom url : hp://127.0.0.1:80/plugins/rflink/core/api/rflink.php?apikey=8A0Vxl3ayjI5hLhBFZveysm9md6bOBBx, gwAddress : /dev/ttyAMA0
Thu Dec 26 2019 13:54:30 GMT+0100 (GMT+01:00) - server bound on 8020
Port open
Thu Dec 26 2019 13:54:31 GMT+0100 (GMT+01:00) - Server connected
Thu Dec 26 2019 14:35:06 GMT+0100 (GMT+01:00) - Jeedom url : h
p://127.0.0.1:80/plugins/rflink/core/api/rflink.php?apikey=8A0Vxl3ayjI5hLhBFZveysm9md6bOBBx, gwAddress : /dev/ttyAMA0
Thu Dec 26 2019 14:35:06 GMT+0100 (GMT+01:00) - server bound on 8020
Port open
Thu Dec 26 2019 14:35:09 GMT+0100 (GMT+01:00) - Server connected
Thu Dec 26 2019 14:36:24 GMT+0100 (Central European Standard Time) - Jeedom url : h…p://127.0.0.1:80/plugins/rflink/core/api/rflink.php?apikey=8A0Vxl3ayjI5hLhBFZveysm9md6bOBBx, gwAddress : /dev/ttyAMA0
Thu Dec 26 2019 14:36:25 GMT+0100 (Central European Standard Time) - server bound on 8020
Port open
Thu Dec 26 2019 14:36:28 GMT+0100 (Central European Standard Time) - Server connected
Thu Dec 26 2019 14:45:07 GMT+0100 (GMT+01:00) - Jeedom url : h…p://127.0.0.1:80/plugins/rflink/core/api/rflink.php?apikey=8A0Vxl3ayjI5hLhBFZveysm9md6bOBBx, gwAddress : /dev/ttyAMA0
Thu Dec 26 2019 14:45:07 GMT+0100 (GMT+01:00) - server bound on 8020
Port open
Thu Dec 26 2019 14:45:10 GMT+0100 (GMT+01:00) - Server connected
Thu Dec 26 2019 15:09:24 GMT+0100 (GMT+01:00) - Jeedom url : h…p://127.0.0.1:80/plugins/rflink/core/api/rflink.php?apikey=8A0Vxl3ayjI5hLhBFZveysm9md6bOBBx, gwAddress : /dev/ttyAMA0
Thu Dec 26 2019 15:09:25 GMT+0100 (GMT+01:00) - server bound on 8020
Port open
Thu Dec 26 2019 15:09:26 GMT+0100 (GMT+01:00) - Server connected
Thu Dec 26 2019 15:20:07 GMT+0100 (GMT+01:00) - Jeedom url : h**p://127.0.0.1:80/plugins/rflink/core/api/rflink.php?apikey=8A0Vxl3ayjI5hLhBFZveysm9md6bOBBx, gwAddress : /dev/ttyAMA0
Thu Dec 26 2019 15:20:07 GMT+0100 (GMT+01:00) - server bound on 8020
Port open
Thu Dec 26 2019 15:20:10 GMT+0100 (GMT+01:00) - Server connected
Thu Dec 26 2019 17:14:45 GMT+0100 (Central European Standard Time) - Jeedom url : h…p://127.0.0.1:80/plugins/rflink/core/api/rflink.php?apikey=8A0Vxl3ayjI5hLhBFZveysm9md6bOBBx, gwAddress : /dev/ttyAMA0
Thu Dec 26 2019 17:14:45 GMT+0100 (Central European Standard Time) - server bound on 8020
Thu Dec 26 2019 17:14:45 GMT+0100 (Central European Standard Time) Error gateway: Error: Error Resource temporarily unavailable Cannot lock port Error: Error Resource temporarily unavailable Cannot lock port
Thu Dec 26 2019 17:14:47 GMT+0100 (Central European Standard Time) - Server connected!

J ai les plugins ipx800_v3 avec des problemes avec ca
2019-12-26_171810
LOG:
[2019-12-26 17:17:04][DEBUG] : cron start
[2019-12-26 17:17:04][DEBUG] : cron stop
[2019-12-26 17:17:10][DEBUG] : Lancement de : /var/www/html/core/class/…/…/core/php/jeePlugin.php plugin_id=ipx800 function=remove callInstallFunction=1
[2019-12-26 17:17:28][INFO] : Début d’activation du plugin
[2019-12-26 17:17:29][INFO] : Info sur le démon : {« launchable_message »:«  »,« launchable »:« nok »,« state »:« nok »,« log »:« nok »,« auto »:0}
[2019-12-26 17:17:29][DEBUG] : Lancement de : /var/www/html/core/class/…/…/core/php/jeePlugin.php plugin_id=ipx800 function=install callInstallFunction=1
[2019-12-26 17:18:03][DEBUG] : cron start
[2019-12-26 17:18:03][DEBUG] : cron stop
[2019-12-26 17:19:03][DEBUG] : cron start
[2019-12-26 17:19:03][DEBUG] : cron stop
[2019-12-26 17:20:05][DEBUG] : cron start
[2019-12-26 17:20:05][DEBUG] : cron stop
[2019-12-26 17:21:03][DEBUG] : cron start
[2019-12-26 17:21:03][DEBUG] : cron stop
[2019-12-26 17:22:04][DEBUG] : cron start
[2019-12-26 17:22:04][DEBUG] : cron stop
[2019-12-26 17:23:04][DEBUG] : cron start
[2019-12-26 17:23:04][DEBUG] : cron stop

j ai fait une demande de support sur jeedom car trop de problème.

Rflink te dit qu’il peut pas se connecter à ce que tu lui as donné (le ttyAMA0)
Pourquoi configures tu le même port sur les 2 plugins ? t’as regardé ce qu’il y avait d’autre de proposer au moins ? T’as essayer de les brancher débrancher pour voir si ca changeait ta liste.
Tu joues avec udev pourtant à côté de ca tu donnes aucune indication basique et demande un appel au support, y a un minimum à faire.

mon problème c’est qu’il y a qu’un choix possible .j ai essaye utiliser qu’un plugin a la fois .mais c’est pareil.
j ai tout fait.
j ai même fait un fichier dans: /etc/udev/rules.d/99-usb-serial.rules
je croit que c’est Jeedom qui a un souci .
je suis sous rasbian 4. 14 et les probleme son arriver lors de la dernier mise a jour de Jeedom

Bonsoir .
je viens de refaire toute l’installe avec uniquement le dongle zwave Aeotec Z-Stick S2 et c’est toujours le même problème.

LOG ZWAVE:
2019-12-27 00:34:39.431 Always, OpenZwave Version 1.4.0 Starting Up
2019-12-27 00:34:41.819 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-12-27 00:34:42.821 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-12-27 00:34:43.824 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-12-27 00:34:44.826 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-12-27 00:34:45.828 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)

L’erreur sur la perte des paquets, c’est la suite logique du port inaccessible…
Si tu as fait une réinstallation, tu as bien relancé les dépendances? Ainsi que la réactivation des services tty manuellement ?

Je vais te dire une grosse connerie mais tu as regardé du coté de ton alimentation ?

Bonjour @manunbgs,

Ton problème de ports USB pour Z-wave et RFlink ne semble pas être lié à la mise à jour de Jeedom.

Souvent c’est lié à un rédémarrage du Pi car dans ce cas le système peut redistribuer les ports différemment.

Toutefois le port que tu as sélectionné est
/dev/ttyAMA0. Cela ne peut pas fonctionner car sur un Pi cela correspond au port série d’une carte GPIO, hors tu utilises des clés USB.

et par ailleurs normalement si tu mets 2 clés USB sur ton Pi, le système les montent sur /dev/ttyUSB0 et /dev/ttyUSB1.

Hors tu dis ne voir que AMA0 dans la liste des ports dans la configuration des plugins.

Donc le problème se situe déjà au niveau du montage des ports USB par le système.
Buster sur Pi2 non recommandé.

Pour visualiser les clés USB montées, lancer la commande système:

lsusb

Pour visualiser l’affectation des clés USB Sur des ports USB, lancer la commande système :

dmesg | grep USB

Comme évoqué par @ebouriffeur24, une autre hypothèse pourrait Être une insuffisance d’alimentation.

Avec plusieurs clés USB l’utilisation d’un Pi2 est un peu juste, préférer a minima un Pi3.

Une alimentation de 3 ampères est conseillée, à défaut utiliser un hub USB avec sa propre alimentation.

akenad :slight_smile:

j ai déjà vérifier alim. c est ok
pour mes dongle usb elle est sont la aussi2019-12-27_103920

hier soir j ai relancé l installe complète et toujours le même problème.

et j ai aussi des problèmes avec les plugins ecodevice et IPX800_V3.
si je veux installé mon Ecodevice j ai ^

a comme erreur:

je viens peu être de trouver la réponse sur un autre site du au problème de raspbian. voila ce que j ai trouvé:

" Certains ont remonté quelques problèmes à l’installation ce derniers temps. Ces problèmes sembles venir de Raspbian dans sa dernière version. Pour les Raspberry Pi 1, 2 voir 3 préférez l’installation d’une ancienne version de raspbian."

Bonjour,
Pour l’ipx800 une mise a jour demain devrait corriger le soucis

si c’est ca je remonterais info au développeur de jeedom.

Euh c’est moi, enfin on a repris le plugin en mode legacy donc la correction est faite et sera disponible demain

bonsoir,
je viens de tomber sur un post de Dapolux qui a eu le meme probleme que moi.Perte du réseau Z-Wave suite à passage Stretch
et qui a un SSD sur raspberry pi 2.le problème est apparus lors de la mise a jour de Rasbian (Passage en Stretch).
c’est au même moment que j ai fait la mise a jour de Jeedom et comme il y avais des problèmes dans jeedom que j ai fait la mise a jour du Raspberry.
je viens de faire l’installe sur une carte SD et j ai récupéré le RFlink. plus a faire un test avec Zwave.

Merci quand à la communauté pour sa réactivité

je vous donne des nouvelles tres bonne.
jeedom refonctionne avec SSD suite a des infos de BRONCHE qui a fournis des images de jeedom.
et quelque modif des fichiers qui ma permis de retrouver les ports séries.
2019-12-30_232548
j’avance pas a pas.
je donnerais les infos des manip.

j’ai réussi a passé en jeedom v4 avec les plugins Zwave et RFLink
mais je n arrive pas a rajouter mon ecodevice.
j ai se message erreur.

Pour IPX800 ça fonctionne.
Merci Loïc

Bonjour,
Je viens de pousser la correction

il y a un défaut dans ecodevice .
je change de catégorie.
Probleme Ecodevice V4