Suite des épisodes, j’avance
, j’ai réussis à faire démarré leS démons en relançant un update du code Alpha.
Mais visiblement mon driver zwave ne s’initialise pas : ( j’ai testé en 9.4 ET 8.26)
Log Z-Wave JS UI :
2023-11-20 21:03:10.784 INFO Z-WAVE: Connecting to /dev/ttyAMA10
2023-11-20 21:03:16.438 DEBUG MQTT: Publishing to zwave/_EVENTS/ZWAVE_GATEWAY-Jeedom/driver/driver_error: {
data: [
ZWaveError: Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200)
at Driver.sendMessage (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:5240:23)
at ZWaveController.identify (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/controller/Controller.ts:897:37)
at Driver.initializeControllerAndNodes (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1432:26)
at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1226:16) (ZW0100)
at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1246:6) {
[stack]: 'ZWaveError: Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200)\n' +
' at Driver.sendMessage (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:5240:23)\n' +
' at ZWaveController.identify (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/controller/Controller.ts:897:37)\n' +
' at Driver.initializeControllerAndNodes (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1432:26)\n' +
' at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1226:16) (ZW0100)\n' +
' at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1246:6)',
message: 'Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200)\n' +
' at Driver.sendMessage (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:5240:23)\n' +
' at ZWaveController.identify (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/controller/Controller.ts:897:37)\n' +
' at Driver.initializeControllerAndNodes (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1432:26)\n' +
' at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1226:16) (ZW0100)',
code: 100,
context: undefined,
transactionSource: undefined,
name: 'ZWaveError'
},
[length]: 1
]
} with options { qos: 1, retain: false }
2023-11-20 21:03:16.438 INFO Z-WAVE: Restarting client in 15 seconds, retry 107
2023-11-20 21:03:31.454 INFO GATEWAY: Driver is CLOSED
2023-11-20 21:03:31.454 DEBUG MQTT: Publishing to zwave/driver/status: false with options { qos: 1, retain: true }
2023-11-20 21:03:31.455 INFO Z-WAVE: Client closed
2023-11-20 21:03:31.455 INFO GATEWAY: Driver is CLOSED
2023-11-20 21:03:31.456 DEBUG MQTT: Publishing to zwave/driver/status: false with options { qos: 1, retain: true }
Log http.error :
0000|[Mon Nov 20 21:05:44.247092 2023] [php:warn] [pid 996] [client 127.0.0.1:59112] PHP Warning: foreach() argument must be of type array|object, null given in /var/www/html/plugins/mqtt2/core/php/jeeMqtt2.php on line 30
Log mqtt2d :
0000|[2023-11-20 20:05:41]DEBUG : Received message on topic : zwave/_EVENTS/ZWAVE_GATEWAY-Jeedom/driver/driver_error => {"data":[{"message":"Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200)\n at Driver.sendMessage (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:5240:23)\n at ZWaveController.identify (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/controller/Controller.ts:897:37)\n at Driver.initializeControllerAndNodes (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1432:26)\n at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1226:16) (ZW0100)","code":100}]}
0001|[2023-11-20 20:05:41]DEBUG : Send data to jeedom : {"zwave":{"_EVENTS":{"ZWAVE_GATEWAY-Jeedom":{"driver":{"driver_error":{"data":[{"message":"Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200)\n at Driver.sendMessage (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:5240:23)\n at ZWaveController.identify (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/controller/Controller.ts:897:37)\n at Driver.initializeControllerAndNodes (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1432:26)\n at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1226:16) (ZW0100)","code":100}]}}}}}}
0002|[2023-11-20 20:05:44]INFO : Start mqtt2d
0003|[2023-11-20 20:05:44]INFO : Log level on : debug
0004|[2023-11-20 20:05:44]INFO : Socket port : 55035
0005|[2023-11-20 20:05:44]INFO : MQTT : mqtts://127.0.0.1:8883
0006|[2023-11-20 20:05:44]INFO : Username : jeedom
0007|[2023-11-20 20:05:44]INFO : Password : XXXX
0008|[2023-11-20 20:05:44]INFO : PID file : /tmp/jeedom/mqtt2/deamon.pid
0009|[2023-11-20 20:05:44]INFO : Apikey : XXXX
0010|[2023-11-20 20:05:44]INFO : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
0011|[2023-11-20 20:05:44]INFO : Cycle : 0.3
0012|[2023-11-20 20:05:44]INFO : Client key : /var/www/html/plugins/mqtt2/data/ssl/client.key
0013|[2023-11-20 20:05:44]INFO : Client crt : /var/www/html/plugins/mqtt2/data/ssl/client.crt
0014|[2023-11-20 20:05:44]INFO : CA : /var/www/html/plugins/mqtt2/data/ssl/ca.crt
0015|[2023-11-20 20:05:44]INFO : Connect to mqtt server
0016|Mon, 20 Nov 2023 20:05:44 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
0017|[2023-11-20 20:05:44]DEBUG : HTTP listen on 127.0.0.1 port : 55035 started
0018|[2023-11-20 20:05:44]INFO : Connection to mqtt server successfull
0019|[2023-11-20 20:05:44]INFO : Subscription to all topics
0020|[2023-11-20 20:05:44]INFO : Subscription to all topics succesfull
0021|[2023-11-20 20:05:44]DEBUG : Received message on topic : zwave/_CLIENTS/ZWAVE_GATEWAY-Jeedom/version => {"value":"9.4.0","time":1700508446443}
0022|[2023-11-20 20:05:44]DEBUG : Received message on topic : zwave/_CLIENTS/ZWAVE_GATEWAY-Jeedom/status => {"value":true,"time":1700508446443}
0023|[2023-11-20 20:05:44]DEBUG : Received message on topic : zwave/driver/status => false
0024|[2023-11-20 20:05:44]DEBUG : Send data to jeedom : {"zwave":{"_CLIENTS":{"ZWAVE_GATEWAY-Jeedom":{"version":{"value":"9.4.0","time":1700508446443},"status":{"value":true,"time":1700508446443}}},"driver":{"status":false}}}
0025|[2023-11-20 20:05:56]DEBUG : Received message on topic : zwave/driver/status => false
0026|[2023-11-20 20:05:56]DEBUG : Received message on topic : zwave/driver/status => false
0027|[2023-11-20 20:05:56]DEBUG : Send data to jeedom : {"zwave":{"driver":{"status":false}}}
0028|[2023-11-20 20:06:01]DEBUG : Received message on topic : zwave/_EVENTS/ZWAVE_GATEWAY-Jeedom/driver/driver_error => {"data":[{"message":"Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200)\n at Driver.sendMessage (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:5240:23)\n at ZWaveController.identify (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/controller/Controller.ts:897:37)\n at Driver.initializeControllerAndNodes (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1432:26)\n at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1226:16) (ZW0100)","code":100}]}
0029|[2023-11-20 20:06:01]DEBUG : Send data to jeedom : {"zwave":{"_EVENTS":{"ZWAVE_GATEWAY-Jeedom":{"driver":{"driver_error":{"data":[{"message":"Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200)\n at Driver.sendMessage (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:5240:23)\n at ZWaveController.identify (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/controller/Controller.ts:897:37)\n at Driver.initializeControllerAndNodes (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1432:26)\n at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1226:16) (ZW0100)","code":100}]}}}}}}
0030|[2023-11-20 20:06:16]DEBUG : Received message on topic : zwave/driver/status => false
Log zwavejsd :
0315|e[90m2023-11-20 21:08:26.213e[39m e[32mINFOe[39m e[1mZ-WAVEe[22m: Restarting client in 15 seconds, retry 122
0316|e[90m2023-11-20 21:08:41.213e[39m e[32mINFOe[39m e[1mGATEWAYe[22m: Driver is CLOSED
0317|e[90m2023-11-20 21:08:41.214e[39m e[34mDEBUGe[39m e[1mMQTTe[22m: Publishing to zwave/driver/status: false with options { qos: 1, retain: true }
0318|e[90m2023-11-20 21:08:41.215e[39m e[32mINFOe[39m e[1mZ-WAVEe[22m: Client closed
0319|e[90m2023-11-20 21:08:41.215e[39m e[32mINFOe[39m e[1mGATEWAYe[22m: Driver is CLOSED
0320|e[90m2023-11-20 21:08:41.216e[39m e[34mDEBUGe[39m e[1mMQTTe[22m: Publishing to zwave/driver/status: false with options { qos: 1, retain: true }
0321|e[90m2023-11-20 21:08:41.219e[39m e[32mINFOe[39m e[1mZ-WAVEe[22m: Connecting to /dev/ttyAMA10
0322|Logging to file:
0323|/var/www/html/plugins/zwavejs/data/store/logs/zwavejs_2023-11-20.log
0324|e[90m2023-11-20 21:08:46.868e[39m e[34mDEBUGe[39m e[1mMQTTe[22m: Publishing to zwave/_EVENTS/ZWAVE_GATEWAY-Jeedom/driver/driver_error: {
0325|data: [
0326|ZWaveError: Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200)
0327|at Driver.sendMessage (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:5240:23)
0328|at ZWaveController.identify (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/controller/Controller.ts:897:37)
0329|at Driver.initializeControllerAndNodes (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1432:26)
0330|at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1226:16) (ZW0100)
0331|at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1246:6) {
0332|[stack]: 'ZWaveError: Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200)\n' +
0333|' at Driver.sendMessage (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:5240:23)\n' +
0334|' at ZWaveController.identify (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/controller/Controller.ts:897:37)\n' +
0335|' at Driver.initializeControllerAndNodes (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1432:26)\n' +
0336|' at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1226:16) (ZW0100)\n' +
0337|' at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1246:6)',
0338|message: 'Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK from the controller (ZW0200)\n' +
0339|' at Driver.sendMessage (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:5240:23)\n' +
0340|' at ZWaveController.identify (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/controller/Controller.ts:897:37)\n' +
0341|' at Driver.initializeControllerAndNodes (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1432:26)\n' +
0342|' at Immediate.<anonymous> (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/zwave-js/src/lib/driver/Driver.ts:1226:16) (ZW0100)',
0343|code: 100,
0344|context: undefined,
0345|transactionSource: undefined,
0346|name: 'ZWaveError'
0347|},
0348|[length]: 1
0349|]
0350|} with options { qos: 1, retain: false }
0351|e[90m2023-11-20 21:08:46.869e[39m e[32mINFOe[39m e[1mZ-WAVEe[22m: Restarting client in 15 seconds, retry 123