J'ai installé jeedom 3.3.31 sur un rpi4 avec Buster. Tout s'est bien passé et mes plugins sont fonctionnels, certains sont en en beta, d'autres en stable (merci l'équipe).
J'ai installé le plugin z-wave en beta et les dépendances sont OK, le démon me dit également qu'il est OK si je sélectionne le port /dev/ttyAMA0.
Ma clé est une Z-Wave Plus Z-Stick GEN5 - Aeon Labs
Le problème est que le z-wave ne fonctionne pas du tout malgré tous ces voyants verts. C'est en beta donc c'est normal que ça puisse planter mais peut-être que personne n'a encore essayé sur un rpi4?
NB : je précise que tout fonctionnait bien sur mon rpi3 mais j'aimerais le récupérer pour un autre projet
Voici les logs :
Code : Tout sélectionner
2019-09-09 16:09:27.888 Always, OpenZwave Version 1.4.0 Starting Up
2019-09-09 16:09:27.892 Info, Setting Up Provided Network Key for Secure Communications
2019-09-09 16:09:27.896 Info, mgr, Added driver for controller /dev/ttyAMA0
2019-09-09 16:09:27.896 Info, Opening controller /dev/ttyAMA0
2019-09-09 16:09:27.896 Info, Trying to open serial port /dev/ttyAMA0 (attempt 1)
2019-09-09 16:09:27.896 Info, Serial port /dev/ttyAMA0 opened (attempt 1)
2019-09-09 16:09:27.896 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2019-09-09 16:09:27.896 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2019-09-09 16:09:27.896 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2019-09-09 16:09:27.896 Detail, contrlr, Queuing (Command) FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2019-09-09 16:09:27.896 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2019-09-09 16:09:27.897 Detail,
2019-09-09 16:09:27.897 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x15) - FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2019-09-09 16:09:28.897 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-09-09 16:09:28.897 Detail, contrlr, Removing current message
2019-09-09 16:09:28.897 Detail, contrlr, Notification: Notification - TimeOut
2019-09-09 16:09:28.898 Detail,
2019-09-09 16:09:28.899 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x20) - FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2019-09-09 16:09:29.899 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-09-09 16:09:29.899 Detail, contrlr, Removing current message
2019-09-09 16:09:29.899 Detail, contrlr, Notification: Notification - TimeOut
2019-09-09 16:09:29.902 Detail,
2019-09-09 16:09:29.903 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x05) - FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2019-09-09 16:09:30.905 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-09-09 16:09:30.905 Detail, contrlr, Removing current message
2019-09-09 16:09:30.905 Detail, contrlr, Notification: Notification - TimeOut
2019-09-09 16:09:30.908 Detail,
2019-09-09 16:09:30.908 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x07) - FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2019-09-09 16:09:31.908 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-09-09 16:09:31.908 Detail, contrlr, Removing current message
2019-09-09 16:09:31.908 Detail, contrlr, Notification: Notification - TimeOut
2019-09-09 16:09:31.911 Detail,
2019-09-09 16:09:31.911 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x56) - FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2019-09-09 16:09:32.911 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-09-09 16:09:32.912 Detail, contrlr, Removing current message
2019-09-09 16:09:32.912 Detail, contrlr, Notification: Notification - TimeOut
Code : Tout sélectionner
[2019-09-09 16:01:04][INFO] : Start openzwaved
[2019-09-09 16:01:04][INFO] : Log level : debug
[2019-09-09 16:01:04][DEBUG] : PID file : /tmp/jeedom/openzwave/deamon.pid
[2019-09-09 16:01:04][INFO] : Device : /dev/ttyAMA0
[2019-09-09 16:01:04][DEBUG] : Apikey : ***
[2019-09-09 16:01:04][INFO] : Callback : http://127.0.0.1:80/plugins/openzwave/core/php/jeeZwave.php
[2019-09-09 16:01:04][INFO] : Cycle : 0.5
[2019-09-09 16:01:04][DEBUG] : Initial disabled nodes list: []
[2019-09-09 16:01:04][DEBUG] : Init request module v2.22.0
[2019-09-09 16:01:04][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-09-09 16:01:04][DEBUG] : http://127.0.0.1:80 "GET /plugins/openzwave/core/php/jeeZwave.php?apikey=*** HTTP/1.1" 200 0
[2019-09-09 16:01:04][INFO] : Check if the port REST server available
[2019-09-09 16:01:04][INFO] : --> pass
[2019-09-09 16:01:04][INFO] : Check OpenZWave Devices Database
[2019-09-09 16:01:04][INFO] : --> pass
[2019-09-09 16:01:04][INFO] : Validate zwcfg configuration file(s)
[2019-09-09 16:01:04][INFO] : ... check: /var/www/html/plugins/openzwave/core/class/../../data/zwcfg_0xdfbfd324.xml
[2019-09-09 16:01:04][DEBUG] : Create network object.
[2019-09-09 16:01:04][DEBUG] : Use sqlite version : (u'3.27.2',)
[2019-09-09 16:01:04][DEBUG] : connect to the louie dispatcher
[2019-09-09 16:01:04][INFO] : ******** The ZWave network is being started ********
[2019-09-09 16:01:04][INFO] : Start Openzwave network.
[2019-09-09 16:01:04][INFO] : OpenZwave Library Version 1.4.0
[2019-09-09 16:01:04][INFO] : Python-OpenZwave Wrapper Version 0.3.1
[2019-09-09 16:01:04][INFO] : --> pass
[2019-09-09 16:01:04][INFO] : Waiting for network to become ready
[2019-09-09 16:01:04][DEBUG] : Writing PID 6745 to /tmp/jeedom/openzwave/deamon.pid
[2019-09-09 17:01:04][INFO] : Démon openzwave lancé
[2019-09-09 16:01:05][DEBUG] : notif_callback : new notification
[2019-09-09 16:01:05][DEBUG] : notif_callback : Notification type : 26, nodeId : 255
[2019-09-09 16:01:05][DEBUG] : notif_callback : call callback context
[2019-09-09 16:01:05][DEBUG] : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2019-09-09 16:01:05][DEBUG] : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2019-09-09 16:01:05][DEBUG] : notif_callback : end
[2019-09-09 16:01:06][DEBUG] : notif_callback : new notification
[2019-09-09 16:01:06][DEBUG] : notif_callback : Notification type : 26, nodeId : 255
[2019-09-09 16:01:06][DEBUG] : notif_callback : call callback context
[2019-09-09 16:01:06][DEBUG] : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2019-09-09 16:01:06][DEBUG] : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2019-09-09 16:01:06][DEBUG] : notif_callback : end
[2019-09-09 16:01:07][DEBUG] : notif_callback : new notification
[2019-09-09 16:01:07][DEBUG] : notif_callback : Notification type : 26, nodeId : 255
[2019-09-09 16:01:07][DEBUG] : notif_callback : call callback context
[2019-09-09 16:01:07][DEBUG] : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2019-09-09 16:01:07][DEBUG] : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2019-09-09 16:01:07][DEBUG] : notif_callback : end
[2019-09-09 16:01:08][DEBUG] : notif_callback : new notification
[2019-09-09 16:01:08][DEBUG] : notif_callback : Notification type : 26, nodeId : 255
[2019-09-09 16:01:08][DEBUG] : notif_callback : call callback context
[2019-09-09 16:01:08][DEBUG] : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2019-09-09 16:01:08][DEBUG] : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2019-09-09 16:01:08][DEBUG] : notif_callback : end
[2019-09-09 16:01:08][INFO] : Graceful stopping the ZWave network.
[2019-09-09 16:01:08][INFO] : Stop Openzwave network.
[2019-09-09 16:01:08][DEBUG] : Wait for empty send_queue during 0 second(s).
[2019-09-09 16:01:08][INFO] : ZWave configuration written to user directory.
[2019-09-09 16:01:13][INFO] : Openzwave network are Network is stopped
[2019-09-09 16:01:13][DEBUG] : disconnect the louie dispatcher
[2019-09-09 16:01:13][INFO] : The Openzwave REST-server was stopped in a normal way
[2019-09-09 16:01:13][INFO] : Backup xml config file with mode: stop
[2019-09-09 16:01:13][ERROR] : No config file found to backup
[2019-09-09 17:09:26][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 *** --suppressRefresh 0 --cycle 0.5 --pid /tmp/jeedom/openzwave/deamon.pid
[2019-09-09 16:09:27][INFO] : Start openzwaved
[2019-09-09 16:09:27][INFO] : Log level : debug
[2019-09-09 16:09:27][DEBUG] : PID file : /tmp/jeedom/openzwave/deamon.pid
[2019-09-09 16:09:27][INFO] : Device : /dev/ttyAMA0
[2019-09-09 16:09:27][DEBUG] : Apikey : ***
[2019-09-09 16:09:27][INFO] : Callback : http://127.0.0.1:80/plugins/openzwave/core/php/jeeZwave.php
[2019-09-09 16:09:27][INFO] : Cycle : 0.5
[2019-09-09 16:09:27][DEBUG] : Initial disabled nodes list: []
[2019-09-09 16:09:27][DEBUG] : Init request module v2.22.0
[2019-09-09 16:09:27][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-09-09 16:09:27][DEBUG] : http://127.0.0.1:80 "GET /plugins/openzwave/core/php/jeeZwave.php?apikey=*** HTTP/1.1" 200 0
[2019-09-09 16:09:27][INFO] : Check if the port REST server available
[2019-09-09 16:09:27][INFO] : --> pass
[2019-09-09 16:09:27][INFO] : Check OpenZWave Devices Database
[2019-09-09 16:09:27][INFO] : --> pass
[2019-09-09 16:09:27][INFO] : Validate zwcfg configuration file(s)
[2019-09-09 16:09:27][INFO] : ... check: /var/www/html/plugins/openzwave/core/class/../../data/zwcfg_0xdfbfd324.xml
[2019-09-09 16:09:27][DEBUG] : Create network object.
[2019-09-09 16:09:27][DEBUG] : Use sqlite version : (u'3.27.2',)
[2019-09-09 16:09:27][DEBUG] : connect to the louie dispatcher
[2019-09-09 16:09:27][INFO] : ******** The ZWave network is being started ********
[2019-09-09 16:09:27][INFO] : Start Openzwave network.
[2019-09-09 16:09:27][INFO] : OpenZwave Library Version 1.4.0
[2019-09-09 16:09:27][INFO] : Python-OpenZwave Wrapper Version 0.3.1
[2019-09-09 16:09:27][INFO] : --> pass
[2019-09-09 16:09:27][INFO] : Waiting for network to become ready
[2019-09-09 16:09:27][DEBUG] : Writing PID 1832 to /tmp/jeedom/openzwave/deamon.pid
[2019-09-09 17:09:28][INFO] : Démon openzwave lancé
[2019-09-09 16:09:28][DEBUG] : notif_callback : new notification
[2019-09-09 16:09:28][DEBUG] : notif_callback : Notification type : 26, nodeId : 255
[2019-09-09 16:09:28][DEBUG] : notif_callback : call callback context
[2019-09-09 16:09:28][DEBUG] : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2019-09-09 16:09:28][DEBUG] : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2019-09-09 16:09:28][DEBUG] : notif_callback : end
[2019-09-09 16:09:29][DEBUG] : notif_callback : new notification
[2019-09-09 16:09:29][DEBUG] : notif_callback : Notification type : 26, nodeId : 255
[2019-09-09 16:09:29][DEBUG] : notif_callback : call callback context
[2019-09-09 16:09:29][DEBUG] : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2019-09-09 16:09:29][DEBUG] : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2019-09-09 16:09:29][DEBUG] : notif_callback : end
[2019-09-09 16:09:30][DEBUG] : notif_callback : new notification
[2019-09-09 16:09:30][DEBUG] : notif_callback : Notification type : 26, nodeId : 255
[2019-09-09 16:09:30][DEBUG] : notif_callback : call callback context
[2019-09-09 16:09:30][DEBUG] : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2019-09-09 16:09:30][DEBUG] : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2019-09-09 16:09:30][DEBUG] : notif_callback : end
[2019-09-09 16:09:31][DEBUG] : notif_callback : new notification
[2019-09-09 16:09:31][DEBUG] : notif_callback : Notification type : 26, nodeId : 255
[2019-09-09 16:09:31][DEBUG] : notif_callback : call callback context
[2019-09-09 16:09:31][DEBUG] : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2019-09-09 16:09:31][DEBUG] : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2019-09-09 16:09:31][DEBUG] : notif_callback : end
[2019-09-09 16:09:32][DEBUG] : notif_callback : new notification
[2019-09-09 16:09:32][DEBUG] : notif_callback : Notification type : 26, nodeId : 255
[2019-09-09 16:09:32][DEBUG] : notif_callback : call callback context
[2019-09-09 16:09:32][DEBUG] : zwcallback args=[{'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}]
[2019-09-09 16:09:32][DEBUG] : Z-Wave Notification : {'homeId': 0L, 'notificationCode': 1, 'notificationType': 'Notification', 'nodeId': 255}
[2019-09-09 16:09:32][DEBUG] : notif_callback : end
[2019-09-09 16:10:04][INFO] : 200 GET /network?type=info&info=getStatus&apikey=*** (127.0.0.1) 1.99ms
[2019-09-09 16:10:04][INFO] : 200 GET /network?type=info&info=getStatus&apikey=*** (127.0.0.1) 1.18ms
[2019-09-09 16:13:54][INFO] : 200 GET /network?type=info&info=getStatus&apikey=*** (127.0.0.1) 3.32ms
[2019-09-09 16:13:54][INFO] : 200 GET /network?type=info&info=getStatus&apikey=*** (127.0.0.1) 1.10ms