Resume Zwave vide

Hello,

je suis en train d’essayer d’ajouter Zigbee via le plugin Zigbeelinker, et en suivant la FAQ du plugin (Plugin ZigbeeLinker (Jeedom) : FAQ – Pasteck, le passe technique), j’ai effectue les modifications suivantes:

**Désactiver ModemManager**
Modem Manager est un logiciel de gestion de modem qui peut tenter de déconnecter/connecter les périphériques USB nouvellement connectés. Des problèmes ont étés constastés avec certaines clés USB (dont la conbeeII)
sudo systemctl disable ModemManager
sudo systemctl stop ModemManager
sudo apt-get purge modemmanager

**Désactivez le Port série, le SPI, le Bluetooth et le Wifi du RPI**
Le Bluetooth et le Wifi du Raspberry peuvent faire des interférences avec l’adaptateur. Une box domotique étant généralement branchée au réseau par cable RJ45, et le Bluetooth étant généralement utilisé via une clé SENA ou autre (le Bluetooth du RPI étant trop faible), on peut désactiver ces deux éléments. En ssh : 
sudo systemctl disable wpa_supplicant
sudo systemctl disable bluetooth
sudo systemctl disable hciuart

Il faudra maintenant utiliser un logiciel comme Putty et Winscp pour éditer le fichier /boot/config.txt et placer ces lignes à la fin du fichier : 
sudo nano /boot/config.txt
enable_uart=0
dtoverlay=disable-wifi
dtoverlay=disable-bt
dtparam=spi=off

Sauf que maintenant mon Resume Zwave est vide (cf capture).

logs openzwave

0075|[2022-06-15 13:58:05]ERROR : RequestHandler Unknow node id 3
0076|[2022-06-15 13:59:53]ERROR : No config file found to backup
0077|[2022-06-15 14:22:39]ERROR : No config file found to backup
0078|[2022-06-15 14:30:02]ERROR : No config file found to backup

logs openzwaved

0000|2022-06-15 14:32:02.554 Always, OpenZwave Version 1.4.0 Starting Up
0001|2022-06-15 14:32:03.571 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
0002|2022-06-15 14:32:04.573 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
0003|2022-06-15 14:32:05.575 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
0004|2022-06-15 14:32:06.576 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
0005|2022-06-15 14:32:07.577 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)

Ca m’apprendra a suivre un tuto sans completement en maitriser les etapes…

Sante Jeedom:

Config: Je suis sur RPI 3B+, sur SSD et ma carte Zwave est mon ancienne Razberry de ma Mini+

Que suggerez-vous pour remettre Zwave en etat svp?
Merci

Bonjour,

C’est un peu confus de tag deux plugins sans rapport.

Je suppose que la question porte sur openzwave et pas zigbeelinker du coup.

si vous utilisez une carte zwave sur le port gpio (razberry) alors vous ne pouvez pas désactiver le port série.

C’est assez invraisemblable de conseiller de désactiver ceci + le Wifi ! + le bluetooth !! Pour installer zigbeelinker.

Faudra qu’on m’explique le lien entre tout ça et l’utilité de tel config

Merci. J’ai corrige le double tag, effectivement ca n’etait pas tres clair.
Le tuto est pour tenter de faire marcher le plugin zigbeelinker lorsqu’il ne fonctionne pas tel quel, mais c’est vrai qu’il ne detaille pas les consequences, ni ne prend en compte les specificites des installations de chacun

Donc pour corriger, tu me confirmes qu’il faut faire?

sudo systemctl enable hciuart
sudo systemctl start hciuart peut etre aussi?

Et dans /boot/config.txt supprimer enable_uart=0

Quid de dtparam=spi=off ?

Puis redemarrer le RPI
Autre chose?

Je remettrais les settings comme précédemment et reboot oui

Concernant zigbee, il faudrait voir quel est le problème avant de tenter quelque chose :slight_smile:

J’essaie, mais ca n’est pas si simple…
J’ai fait

sudo apt-get update
sudo apt-get -y install modemmanager

sudo systemctl enable hciuart
sudo systemctl enable wpa_supplicant
sudo systemctl enable bluetooth

J’ai commenté tout ca dans /boot/config.txt

#enable_uart=0
#dtoverlay=disable-wifi
#dtoverlay=disable-bt
#dtparam=spi=off

Redemarrage du RPI mais pas mieux…

log openzwave

0233|[2022-06-16 13:06:27]INFO : 200 GET /network?type=info&info=getStatus&apikey=xxxx (127.0.0.1) 3.88ms
0234|[2022-06-16 13:06:30]INFO : 200 GET /network?type=info&info=getNeighbours&apikey=xxxx (127.0.0.1) 5.89ms
0235|[2022-06-16 13:06:30]INFO : 200 GET /network?type=info&info=getStatus&apikey=xxxx (127.0.0.1) 3.01ms
0236|[2022-06-16 13:08:41]INFO : 200 GET /network?type=info&info=getStatus&apikey=xxxx (127.0.0.1) 3.15ms
0237|[2022-06-16 13:13:26]DEBUG : List all backups : ['2022-06-11-08-45-40_stop_zwcfg_0xebd499c6.xml', '2022-03-08-21-01-23_stop_zwcfg_0xebd499c6.xml', '2022-02-25-23-40-16_stop_zwcfg_0xebd499c6.xml', '2021-10-20-18-54-04_stop_zwcfg_0xebd499c6.xml', '2021-09-18-18-59-27_stop_zwcfg_0xebd499c6.xml', '2021-09-01-22-57-57_stop_zwcfg_0xebd499c6.xml', '2021-08-21-15-39-56_stop_zwcfg_0xebd499c6.xml', '2020-11-23-23-49-05_stop_zwcfg_0xebd499c6.xml', '2020-10-23-18-51-25_stop_zwcfg_0xebd499c6.xml', '2020-10-23-18-50-23_stop_zwcfg_0xebd499c6.xml', '2020-07-07-22-46-46_stop_zwcfg_0xebd499c6.xml', '2020-07-01-21-11-11_stop_zwcfg_0xebd499c6.xml', '2020-06-17-22-39-38_stop_zwcfg_0xebd499c6.xml']
0238|[2022-06-16 13:13:26]INFO : 200 GET /backup?type=list&apikey=xxxx (127.0.0.1) 5.15ms
0239|[2022-06-16 13:13:33]DEBUG : List all backups : ['2022-06-11-08-45-40_stop_zwcfg_0xebd499c6.xml', '2022-03-08-21-01-23_stop_zwcfg_0xebd499c6.xml', '2022-02-25-23-40-16_stop_zwcfg_0xebd499c6.xml', '2021-10-20-18-54-04_stop_zwcfg_0xebd499c6.xml', '2021-09-18-18-59-27_stop_zwcfg_0xebd499c6.xml', '2021-09-01-22-57-57_stop_zwcfg_0xebd499c6.xml', '2021-08-21-15-39-56_stop_zwcfg_0xebd499c6.xml', '2020-11-23-23-49-05_stop_zwcfg_0xebd499c6.xml', '2020-10-23-18-51-25_stop_zwcfg_0xebd499c6.xml', '2020-10-23-18-50-23_stop_zwcfg_0xebd499c6.xml', '2020-07-07-22-46-46_stop_zwcfg_0xebd499c6.xml', '2020-07-01-21-11-11_stop_zwcfg_0xebd499c6.xml', '2020-06-17-22-39-38_stop_zwcfg_0xebd499c6.xml']
0240|[2022-06-16 13:13:33]INFO : 200 GET /backup?type=list&apikey=xxxx (127.0.0.1) 3.81ms
0241|[2022-06-16 13:14:05]DEBUG : List all backups : ['2022-06-11-08-45-40_stop_zwcfg_0xebd499c6.xml', '2022-03-08-21-01-23_stop_zwcfg_0xebd499c6.xml', '2022-02-25-23-40-16_stop_zwcfg_0xebd499c6.xml', '2021-10-20-18-54-04_stop_zwcfg_0xebd499c6.xml', '2021-09-18-18-59-27_stop_zwcfg_0xebd499c6.xml', '2021-09-01-22-57-57_stop_zwcfg_0xebd499c6.xml', '2021-08-21-15-39-56_stop_zwcfg_0xebd499c6.xml', '2020-11-23-23-49-05_stop_zwcfg_0xebd499c6.xml', '2020-10-23-18-51-25_stop_zwcfg_0xebd499c6.xml', '2020-10-23-18-50-23_stop_zwcfg_0xebd499c6.xml', '2020-07-07-22-46-46_stop_zwcfg_0xebd499c6.xml', '2020-07-01-21-11-11_stop_zwcfg_0xebd499c6.xml', '2020-06-17-22-39-38_stop_zwcfg_0xebd499c6.xml']
0242|[2022-06-16 13:14:05]INFO : 200 GET /backup?type=list&apikey=xxxx (127.0.0.1) 4.98ms
0243|[2022-06-16 13:14:21]INFO : 200 GET /network?type=info&info=getNeighbours&apikey=xxxx (127.0.0.1) 2.85ms
0244|[2022-06-16 13:14:21]INFO : 200 GET /network?type=info&info=getStatus&apikey=xxxx (127.0.0.1) 2.70ms
0245|[2022-06-16 13:14:35]ERROR : RequestHandler Unknow node id 1
0246|[2022-06-16 13:14:35]INFO : 200 GET /node?node_id=1&type=info&info=getNodeStatistics&apikey=xxxx (127.0.0.1) 3.74ms
0247|[2022-06-16 13:14:35]INFO : 200 GET /network?type=info&info=getNodesList&apikey=xxxx (127.0.0.1) 2.42ms
0248|[2022-06-16 13:14:35]ERROR : RequestHandler Unknow node id 1
0249|[2022-06-16 13:14:35]INFO : 200 GET /node?node_id=1&type=info&info=all&apikey=xxxx (127.0.0.1) 3.28ms
0250|[2022-06-16 13:35:53]INFO : 200 GET /network?type=info&info=getStatus&apikey=xxxx (127.0.0.1) 1.95ms
0251|[2022-06-16 13:40:32]INFO : Lancement démon openzwave : /usr/bin/python /var/www/html/plugins/openzwave/core/class/../../resources/openzwaved/openzwaved.py  --device auto --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 xxxx --suppressRefresh 0 --cycle 0.3 --pid /tmp/jeedom/openzwave/deamon.pid --disabledNodes 18,12,5,10
0252|[2022-06-16 13:40:34]INFO : Start openzwaved
0253|[2022-06-16 13:40:34]INFO : Log level : debug
0254|[2022-06-16 13:40:34]DEBUG : PID file : /tmp/jeedom/openzwave/deamon.pid
0255|[2022-06-16 13:40:34]INFO : Device : auto
0256|[2022-06-16 13:40:34]DEBUG : Apikey : xxxx
0257|[2022-06-16 13:40:34]INFO : Callback : http://127.0.0.1:80/plugins/openzwave/core/php/jeeZwave.php
0258|[2022-06-16 13:40:34]INFO : Cycle : 0.3
0259|[2022-06-16 13:40:34]DEBUG : Initial disabled nodes list: [18, 12, 5, 10]
0260|[2022-06-16 13:40:34]DEBUG : Init request module v2.27.1
0261|[2022-06-16 13:40:34]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
0262|[2022-06-16 13:40:34]DEBUG : http://127.0.0.1:80 "GET /plugins/openzwave/core/php/jeeZwave.php?apikey=xxxx HTTP/1.1" 200 0
0263|[2022-06-16 13:40:34]INFO : Check if the port REST server available
0264|[2022-06-16 13:40:34]INFO : --> pass
0265|[2022-06-16 13:40:34]INFO : Check OpenZWave Devices Database
0266|[2022-06-16 13:40:34]INFO : --> pass
0267|[2022-06-16 13:40:35]INFO : USB Z-Wave Stick found : Cygnal Integrated Products, Inc. CP210x UART Bridge at /dev/ttyUSB0
0268|[2022-06-16 13:40:35]INFO : Validate zwcfg configuration file(s)
0269|[2022-06-16 13:40:35]INFO : ... check: /var/www/html/plugins/openzwave/core/class/../../data/zwcfg_0xebd499c6.xml
0270|[2022-06-16 13:40:35]DEBUG : Create network object.
0271|[2022-06-16 13:40:35]DEBUG : Use sqlite version : (u'3.27.2',)
0272|[2022-06-16 13:40:35]DEBUG : connect to the louie dispatcher
0273|[2022-06-16 13:40:35]INFO : ******** The ZWave network is being started ********
0274|[2022-06-16 13:40:35]INFO : Start Openzwave network.
0275|[2022-06-16 13:40:35]INFO : OpenZwave Library Version 1.4.0
0276|[2022-06-16 13:40:35]INFO : Python-OpenZwave Wrapper Version 0.3.1
0277|[2022-06-16 13:40:35]INFO : --> pass
0278|[2022-06-16 13:40:35]INFO : Waiting for network to become ready
0279|[2022-06-16 13:40:35]DEBUG : Writing PID 2215 to /tmp/jeedom/openzwave/deamon.pid
0280|[2022-06-16 13:40:36]INFO : Démon openzwave lancé
0281|[2022-06-16 13:40:36]DEBUG : notif_callback : new notification
0282|[2022-06-16 13:40:36]DEBUG : notif_callback : Notification type : 26, nodeId : 255
0283|[2022-06-16 13:40:36]DEBUG : notif_callback : call callback context
0284|[2022-06-16 13:40:36]DEBUG : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
0285|[2022-06-16 13:40:36]DEBUG : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
0286|[2022-06-16 13:40:36]DEBUG : notif_callback : end
0287|[2022-06-16 13:40:37]DEBUG : notif_callback : new notification
0288|[2022-06-16 13:40:37]DEBUG : notif_callback : Notification type : 26, nodeId : 255
0289|[2022-06-16 13:40:37]DEBUG : notif_callback : call callback context
0290|[2022-06-16 13:40:37]DEBUG : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
0291|[2022-06-16 13:40:37]DEBUG : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
0292|[2022-06-16 13:40:37]DEBUG : notif_callback : end
0293|[2022-06-16 13:40:38]DEBUG : notif_callback : new notification
0294|[2022-06-16 13:40:38]DEBUG : notif_callback : Notification type : 26, nodeId : 255
0295|[2022-06-16 13:40:38]DEBUG : notif_callback : call callback context
0296|[2022-06-16 13:40:38]DEBUG : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
0297|[2022-06-16 13:40:38]DEBUG : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
0298|[2022-06-16 13:40:38]DEBUG : notif_callback : end
0299|[2022-06-16 13:40:39]DEBUG : notif_callback : new notification
0300|[2022-06-16 13:40:39]DEBUG : notif_callback : Notification type : 26, nodeId : 255
0301|[2022-06-16 13:40:39]DEBUG : notif_callback : call callback context
0302|[2022-06-16 13:40:39]DEBUG : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
0303|[2022-06-16 13:40:39]DEBUG : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
0304|[2022-06-16 13:40:39]DEBUG : notif_callback : end
0305|[2022-06-16 13:40:40]DEBUG : notif_callback : new notification
0306|[2022-06-16 13:40:40]DEBUG : notif_callback : Notification type : 26, nodeId : 255
0307|[2022-06-16 13:40:40]DEBUG : notif_callback : call callback context
0308|[2022-06-16 13:40:40]DEBUG : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
0309|[2022-06-16 13:40:40]DEBUG : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
0310|[2022-06-16 13:40:40]DEBUG : notif_callback : end
0311|[2022-06-16 13:51:51]INFO : 200 GET /network?type=info&info=getStatus&apikey=xxxx (127.0.0.1) 3.96ms
0312|[2022-06-16 13:51:54]INFO : 200 GET /network?type=info&info=getNeighbours&apikey=xxxx (127.0.0.1) 5.09ms
0313|[2022-06-16 13:51:54]INFO : 200 GET /network?type=info&info=getStatus&apikey=xxxx (127.0.0.1) 2.14ms
0314|[2022-06-16 13:52:02]INFO : 200 GET /network?type=info&info=getHealth&apikey=xxxx (127.0.0.1) 2.96ms
0315|[2022-06-16 13:52:39]DEBUG : List all backups : ['2022-06-11-08-45-40_stop_zwcfg_0xebd499c6.xml', '2022-03-08-21-01-23_stop_zwcfg_0xebd499c6.xml', '2022-02-25-23-40-16_stop_zwcfg_0xebd499c6.xml', '2021-10-20-18-54-04_stop_zwcfg_0xebd499c6.xml', '2021-09-18-18-59-27_stop_zwcfg_0xebd499c6.xml', '2021-09-01-22-57-57_stop_zwcfg_0xebd499c6.xml', '2021-08-21-15-39-56_stop_zwcfg_0xebd499c6.xml', '2020-11-23-23-49-05_stop_zwcfg_0xebd499c6.xml', '2020-10-23-18-51-25_stop_zwcfg_0xebd499c6.xml', '2020-10-23-18-50-23_stop_zwcfg_0xebd499c6.xml', '2020-07-07-22-46-46_stop_zwcfg_0xebd499c6.xml', '2020-07-01-21-11-11_stop_zwcfg_0xebd499c6.xml', '2020-06-17-22-39-38_stop_zwcfg_0xebd499c6.xml']
0316|[2022-06-16 13:52:39]INFO : 200 GET /backup?type=list&apikey=xxxx (127.0.0.1) 6.73ms

Faut-il laisser le port du controleur Zwave en Auto ou en choisir un (et lequel)?

Restaurer un backup openzwave existant?
Autre?

Le port sera /dev/ttyAMA0 normalement.

Restaurer un backup n’aidera pas.

Probleme resolu, merci!

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