Problème de clé zwave

bonjour

j’ai déjà écrit un sujet mais les réponses sont restées sommaires.
je vais donc compléter mon propos

je viens de découvrir la commande hswinfo
je vous mets a la fin le fichier

il y a quelques jours suites a installation de nouveau modules j’ai rencontré des difficultés pour la reconnaissances de fabricant
j’ai alors fais plusieurs mise a jours sans que cela ne change
j’ai donc mis a jour buster oui je suis sur pi 4 debian 10.4 et jeedom v4
a cette minute j’ai perdu tout mon reseau zwave l’interface (voir le logg) dit que tout est démarré
mais la pade de configuration du lugin reste vide.
l’interface du la cle (et c’est bizarre) ne donne que ttyAMAO, ors avant la mise a jour c’etait tty ACM0
dans les premiere ligne du rapport hwinfo je retrouve bien le modem de la cle en ttyACM0

pour autant le lsubb donne bien la clé
pour info suite à la première demande d’assistance pas de progrès (modifier le swap , qui n’est pas utilise et vider le buffer) et au préconisation de certain d’entre vous j’ai acheté une autre ce (originale aeotec) et un hub alimenté mais cela n’a rien changé (la clé aeotec étant plus difficle e reconnaitre).

pour moi le problème est dans la config de buster le /dev/ttyACM0 n’existe pas
qui peut me dire comment la créer.

avec tous mes remerciements
Yann

[2020-08-07 16:03:22][INFO] : Lancement démon openzwave : /usr/bin/python /var/www/html/plugins/openzwave/core/class/../../resources/openzwaved/openzwaved.py  --device /dev/ttyAMA0 --loglevel debug --port 8083 --config_folder /var/www/html/plugins/openzwave/core/class/../../resources/openzwaved/config --data_folder /var/www/html/plugins/openzwave/core/class/../../data --callback http://127.0.0.1:80/plugins/openzwave/core/php/jeeZwave.php --apikey xbqdvZNjd8r6bCg3J7VZWBMEKmqH0Ck6 --suppressRefresh 0 --cycle 0.3 --pid /tmp/jeedom/openzwave/deamon.pid
[2020-08-07 16:03:26][INFO] : Start openzwaved
[2020-08-07 16:03:26][INFO] : Log level : debug
[2020-08-07 16:03:26][DEBUG] : PID file : /tmp/jeedom/openzwave/deamon.pid
[2020-08-07 16:03:26][INFO] : Device : /dev/ttyAMA0
[2020-08-07 16:03:26][DEBUG] : Apikey : xbqdvZNjd8r6bCg3J7VZWBMEKmqH0Ck6
[2020-08-07 16:03:26][INFO] : Callback : http://127.0.0.1:80/plugins/openzwave/core/php/jeeZwave.php
[2020-08-07 16:03:26][INFO] : Cycle : 0.3
[2020-08-07 16:03:26][DEBUG] : Initial disabled nodes list: []
[2020-08-07 16:03:26][DEBUG] : Init request module v2.21.0
[2020-08-07 16:03:26][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-08-07 16:03:26][DEBUG] : http://127.0.0.1:80 "GET /plugins/openzwave/core/php/jeeZwave.php?apikey=xbqdvZNjd8r6bCg3J7VZWBMEKmqH0Ck6 HTTP/1.1" 200 0
[2020-08-07 16:03:26][INFO] : Check if the port REST server available
[2020-08-07 16:03:26][INFO] : --> pass
[2020-08-07 16:03:26][INFO] : Check OpenZWave Devices Database
[2020-08-07 16:03:26][INFO] : --> pass
[2020-08-07 16:03:26][INFO] : Validate zwcfg configuration file(s)
[2020-08-07 16:03:26][INFO] : ... check: /var/www/html/plugins/openzwave/core/class/../../data/zwcfg_0xc36083b6.xml
[2020-08-07 16:03:27][DEBUG] : Create network object.
[2020-08-07 16:03:27][DEBUG] : Use sqlite version : (u'3.27.2',)
[2020-08-07 16:03:27][DEBUG] : connect to the louie dispatcher
[2020-08-07 16:03:27][INFO] : ******** The ZWave network is being started ********
[2020-08-07 16:03:27][INFO] : Start Openzwave network.
[2020-08-07 16:03:27][INFO] : OpenZwave Library Version 1.4.0
[2020-08-07 16:03:27][INFO] : Python-OpenZwave Wrapper Version 0.3.1
[2020-08-07 16:03:27][INFO] : --> pass
[2020-08-07 16:03:27][INFO] : Waiting for network to become ready
[2020-08-07 16:03:27][DEBUG] : Writing PID 1390 to /tmp/jeedom/openzwave/deamon.pid
[2020-08-07 16:03:27][INFO] : Démon openzwave lancé
[2020-08-07 16:03:28][DEBUG] : notif_callback : new notification
[2020-08-07 16:03:28][DEBUG] : notif_callback : Notification type : 26, nodeId : 255
[2020-08-07 16:03:28][DEBUG] : notif_callback : call callback context
[2020-08-07 16:03:28][DEBUG] : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2020-08-07 16:03:28][DEBUG] : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2020-08-07 16:03:28][DEBUG] : notif_callback : end
[2020-08-07 16:03:29][DEBUG] : notif_callback : new notification
[2020-08-07 16:03:29][DEBUG] : notif_callback : Notification type : 26, nodeId : 255
[2020-08-07 16:03:29][DEBUG] : notif_callback : call callback context
[2020-08-07 16:03:29][DEBUG] : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2020-08-07 16:03:29][DEBUG] : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2020-08-07 16:03:29][DEBUG] : notif_callback : end
[2020-08-07 16:03:30][DEBUG] : notif_callback : new notification
[2020-08-07 16:03:30][DEBUG] : notif_callback : Notification type : 26, nodeId : 255
[2020-08-07 16:03:30][DEBUG] : notif_callback : call callback context
[2020-08-07 16:03:30][DEBUG] : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2020-08-07 16:03:30][DEBUG] : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2020-08-07 16:03:30][DEBUG] : notif_callback : end
[2020-08-07 16:03:31][DEBUG] : notif_callback : new notification
[2020-08-07 16:03:31][DEBUG] : notif_callback : Notification type : 26, nodeId : 255
[2020-08-07 16:03:31][DEBUG] : notif_callback : call callback context
[2020-08-07 16:03:31][DEBUG] : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2020-08-07 16:03:31][DEBUG] : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2020-08-07 16:03:31][DEBUG] : notif_callback : end
[2020-08-07 16:03:32][DEBUG] : notif_callback : new notification
[2020-08-07 16:03:32][DEBUG] : notif_callback : Notification type : 26, nodeId : 255
[2020-08-07 16:03:32][DEBUG] : notif_callback : call callback context
[2020-08-07 16:03:32][DEBUG] : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2020-08-07 16:03:32][DEBUG] : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2020-08-07 16:03:32][DEBUG] : notif_callback : end
[2020-08-07 16:14:19][INFO] : Lancement démon openzwave : /usr/bin/python /var/www/html/plugins/openzwave/core/class/../../resources/openzwaved/openzwaved.py  --device /dev/ttyAMA0 --loglevel debug --port 8083 --config_folder /var/www/html/plugins/openzwave/core/class/../../resources/openzwaved/config --data_folder /var/www/html/plugins/openzwave/core/class/../../data --callback http://127.0.0.1:80/plugins/openzwave/core/php/jeeZwave.php --apikey xbqdvZNjd8r6bCg3J7VZWBMEKmqH0Ck6 --suppressRefresh 0 --cycle 0.3 --pid /tmp/jeedom/openzwave/deamon.pid
[2020-08-07 16:14:24][INFO] : Start openzwaved
[2020-08-07 16:14:24][INFO] : Log level : debug
[2020-08-07 16:14:24][DEBUG] : PID file : /tmp/jeedom/openzwave/deamon.pid
[2020-08-07 16:14:24][INFO] : Device : /dev/ttyAMA0
[2020-08-07 16:14:24][DEBUG] : Apikey : xbqdvZNjd8r6bCg3J7VZWBMEKmqH0Ck6
[2020-08-07 16:14:24][INFO] : Callback : http://127.0.0.1:80/plugins/openzwave/core/php/jeeZwave.php
[2020-08-07 16:14:24][INFO] : Cycle : 0.3
[2020-08-07 16:14:24][DEBUG] : Initial disabled nodes list: []
[2020-08-07 16:14:24][DEBUG] : Init request module v2.21.0
[2020-08-07 16:14:24][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-08-07 16:14:24][DEBUG] : http://127.0.0.1:80 "GET /plugins/openzwave/core/php/jeeZwave.php?apikey=xbqdvZNjd8r6bCg3J7VZWBMEKmqH0Ck6 HTTP/1.1" 200 0
[2020-08-07 16:14:24][INFO] : Check if the port REST server available
[2020-08-07 16:14:24][INFO] : --> pass
[2020-08-07 16:14:24][INFO] : Check OpenZWave Devices Database
[2020-08-07 16:14:24][INFO] : --> pass
[2020-08-07 16:14:24][INFO] : Validate zwcfg configuration file(s)
[2020-08-07 16:14:24][INFO] : ... check: /var/www/html/plugins/openzwave/core/class/../../data/zwcfg_0xc36083b6.xml
[2020-08-07 16:14:24][DEBUG] : Create network object.
[2020-08-07 16:14:24][DEBUG] : Use sqlite version : (u'3.27.2',)
[2020-08-07 16:14:24][DEBUG] : connect to the louie dispatcher
[2020-08-07 16:14:24][INFO] : ******** The ZWave network is being started ********
[2020-08-07 16:14:24][INFO] : Start Openzwave network.
[2020-08-07 16:14:24][INFO] : OpenZwave Library Version 1.4.0
[2020-08-07 16:14:24][INFO] : Python-OpenZwave Wrapper Version 0.3.1
[2020-08-07 16:14:24][INFO] : --> pass
[2020-08-07 16:14:24][INFO] : Waiting for network to become ready
[2020-08-07 16:14:24][DEBUG] : Writing PID 1421 to /tmp/jeedom/openzwave/deamon.pid
[2020-08-07 16:14:25][INFO] : Démon openzwave lancé
[2020-08-07 16:14:25][DEBUG] : notif_callback : new notification
[2020-08-07 16:14:25][DEBUG] : notif_callback : Notification type : 26, nodeId : 255
[2020-08-07 16:14:25][DEBUG] : notif_callback : call callback context
[2020-08-07 16:14:25][DEBUG] : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2020-08-07 16:14:25][DEBUG] : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2020-08-07 16:14:25][DEBUG] : notif_callback : end
[2020-08-07 16:14:26][DEBUG] : notif_callback : new notification
[2020-08-07 16:14:26][DEBUG] : notif_callback : Notification type : 26, nodeId : 255
[2020-08-07 16:14:26][DEBUG] : notif_callback : call callback context
[2020-08-07 16:14:26][DEBUG] : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2020-08-07 16:14:26][DEBUG] : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2020-08-07 16:14:26][DEBUG] : notif_callback : end
[2020-08-07 16:14:27][DEBUG] : notif_callback : new notification
[2020-08-07 16:14:27][DEBUG] : notif_callback : Notification type : 26, nodeId : 255
[2020-08-07 16:14:27][DEBUG] : notif_callback : call callback context
[2020-08-07 16:14:27][DEBUG] : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2020-08-07 16:14:27][DEBUG] : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2020-08-07 16:14:27][DEBUG] : notif_callback : end
[2020-08-07 16:14:28][DEBUG] : notif_callback : new notification
[2020-08-07 16:14:28][DEBUG] : notif_callback : Notification type : 26, nodeId : 255
[2020-08-07 16:14:28][DEBUG] : notif_callback : call callback context
[2020-08-07 16:14:28][DEBUG] : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2020-08-07 16:14:28][DEBUG] : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2020-08-07 16:14:28][DEBUG] : notif_callback : end
[2020-08-07 16:14:29][DEBUG] : notif_callback : new notification
[2020-08-07 16:14:29][DEBUG] : notif_callback : Notification type : 26, nodeId : 255
[2020-08-07 16:14:29][DEBUG] : notif_callback : call callback context
[2020-08-07 16:14:29][DEBUG] : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2020-08-07 16:14:29][DEBUG] : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2020-08-07 16:14:29][DEBUG] : notif_callback : end
[2020-08-07 16:59:34][INFO] : 200 GET /network?type=info&info=getStatus&apikey=xbqdvZNjd8r6bCg3J7VZWBMEKmqH0Ck6 (127.0.0.1) 3.34ms

pi@raspberrypi4:/dev $ lsusb
Bus 002 Device 002: ID 1058:25a2 Western Digital Technologies, Inc. Elements 25A2
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 012: ID 0658:0200 Sigma Designs, Inc. Aeotec Z-Stick Gen5 (ZW090) - UZB
Bus 001 Device 010: ID 14cd:8601 Super Top 4-Port hub
Bus 001 Device 009: ID 14cd:8601 Super Top 4-Port hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@raspberrypi4:/dev $

pi@raspberrypi4:/dev $ ls
autofs           loop1               ram1     shm     tty23  tty42  tty61      vcsa2
block            loop2               ram10    stderr  tty24  tty43  tty62      vcsa3
bsg              loop3               ram11    stdin   tty25  tty44  tty63      vcsa4
bus              loop4               ram12    stdout  tty26  tty45  tty7       vcsa5
cachefiles       loop5               ram13    tty     tty27  tty46  tty8       vcsa6
char             loop6               ram14    tty0    tty28  tty47  tty9       vcsm
console          loop7               ram15    tty1    tty29  tty48  ttyAMA0    vcsu
cpu_dma_latency  loop-control        ram2     tty10   tty3   tty49  ttyprintk  vcsu1
disk             mem                 ram3     tty11   tty30  tty5   urandom    vcsu2
fd               memory_bandwidth    ram4     tty12   tty31  tty50  vchiq      vcsu3
full             mmcblk0             ram5     tty13   tty32  tty51  vcio       vcsu4
gpiochip0        mmcblk0p1           ram6     tty14   tty33  tty52  vc-mem     vcsu5
gpiochip1        mmcblk0p2           ram7     tty15   tty34  tty53  vcs        vcsu6
gpiochip2        mqueue              ram8     tty16   tty35  tty54  vcs1       vga_arbiter
gpiomem          network_latency     ram9     tty17   tty36  tty55  vcs2       watchdog
hwrng            network_throughput  random   tty18   tty37  tty56  vcs3       watchdog0
initctl          null                raw      tty19   tty38  tty57  vcs4       zero
input            port                sda      tty2    tty39  tty58  vcs5
kmsg             ptmx                sda1     tty20   tty4   tty59  vcs6
log              pts                 sda2     tty21   tty40  tty6   vcsa
loop0            ram0                serial1  tty22   tty41  tty60  vcsa1

pi@raspberrypi4:~ $ sudo hwinfo --short
cpu:
                       CPU
                       CPU
                       CPU
                       CPU
network:
  eth0                 ARM Ethernet controller
modem:
  **/dev/ttyACM0         Sigma Designs Aeotec Z-Stick Gen5 (ZW090) - UZB**
network interface:
  eth0                 Ethernet network interface
  lo                   Loopback network interface
disk:
  /dev/ram11           Disk
  /dev/ram2            Disk
  /dev/ram0            Disk
  /dev/ram9            Disk
  /dev/ram7            Disk
  /dev/ram14           Disk
  /dev/ram5            Disk
  /dev/ram12           Disk
  /dev/ram3            Disk
  /dev/ram10           Disk
  /dev/ram1            Disk
  /dev/sda             WD Elements 25A2
  /dev/ram8            Disk
  /dev/ram15           Disk
  /dev/ram6            Disk
  /dev/mmcblk0         Disk
  /dev/ram13           Disk
  /dev/ram4            Disk
partition:
  /dev/sda1            Partition
  /dev/sda2            Partition
  /dev/mmcblk0p1       Partition
  /dev/mmcblk0p2       Partition
usb controller:
                       VIA VL805 USB 3.0 Host Controller
bridge:
                       Broadcom PCI bridge
hub:
                       Super Top 4-Port hub
                       Super Top 4-Port hub
                       Linux Foundation 2.0 root hub
                       VIA Hub
                       Linux Foundation 3.0 root hub
memory:
                       Main Memory
unknown:
                       Broadcom BCM43430 WLAN card
                       Broadcom BCM43430 WLAN card
                       Broadcom BCM43430 WLAN card
                       Sigma Designs Aeotec Z-Stick Gen5 (ZW090) - UZB

Bonjour @Anissam,

c’est l’OS qui monte un port/clé USB sur un /dev/tty.
il monte que s’il voit bien la clé.
il voit bien la clé si le port USB est compatible et si l’alim est OK.

Pour Pi4 Buster, Jeedom V4, clé Z-stick et Hub voir ici :

j’ai mis la clé Z-Stick sur un HUB USB2 alimenté, lui même sur un port USB2 (noir) du Pi4.

la commande :
lsusb
donne l’ID de la clé :

exemple :

ID 0658:0200 Sigma Designs, Inc. Aeotec Z-Stick Gen5 (ZW090) - UZB

si l’OS a bien affecté un tty à la clé,
la commande :
dmesg | grep USB
permet de retrouver le tty associé à l’ID de la clé

exemple (pour ID 0658:0200 => idVendor=0658, idProduct=0200) :

usb 1-1.3.4.5: New USB device found, idVendor=0658, idProduct=0200, bcdDevice= 0.00
usb 1-1.3.4.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
cdc_acm 1-1.3.4.5:1.0: ttyACM0: USB ACM device

akenad :slight_smile:

3 « J'aime »

merci akenad

alors c’est bien l problème
le lsusb donne :
pi@raspberrypi4:~ $ lsusb
Bus 002 Device 002: ID 1058:25a2 Western Digital Technologies, Inc. Elements 25A 2
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0658:0200 Sigma Designs, Inc. Aeotec Z-Stick Gen5 (ZW090) - UZB
Bus 001 Device 004: ID 14cd:8601 Super Top 4-Port hub
Bus 001 Device 003: ID 14cd:8601 Super Top 4-Port hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
et ion voit bien la cle zwave
mais il n’y a rien dans le dmesg il trouve le disque et les hubs, pas la clé
qu’en penses tu

tout cea suite a la mise a jour de buster
pense tu qu’il faille que je mette a jour la eeprom du pi
ma version est de octobre 2019

Est ce un disque SSD ?
Est il mSATA? est il USB3 ? A t il sa propre alim ? Est il connecté sur un port USB3 (bleu) du Pi4 ?
Quel est l’intensité de l’alim du Pi4?
Et comme je l’ai déjà indiqué, as-tu la clé Z-Stick sur un HUB USB2 alimenté, lui même sur un port USB2 (noir) du Pi4 ?

Par ailleurs si ca fonctionnait correctement avant et que tu es certains que la seule modification apportée est une mise à jour de l’OS, alors je te suggère de faire une réinstallation de l’OS avec une image Jeedom ou en consultant : [Présentation] akenad

akenad :slight_smile:

1 « J'aime »