Bonjour à toutes et à tous,
Suite à un redémarrage de ma Freebox et de ma VM Jeedom hier, je rencontre un soucis avec le plug-in ikealight.
Voici les logs en mode default:
> [2022-08-16 15:18:19]ERROR : The gateway is unreachable or did not respond in time : {"code":1}
> [2022-08-16 17:20:47]ERROR : Impossible de lancer le démon ikealightd, vérifiez le log
> [2022-08-16 15:22:02]ERROR : The gateway is unreachable or did not respond in time : {"code":1}
> [2022-08-16 15:25:57]ERROR : Callback error.Please check your network configuration page : null
> [2022-08-16 17:26:22]ERROR : Impossible de lancer le démon ikealightd, vérifiez le log
> [2022-08-16 15:30:17]ERROR : The gateway is unreachable or did not respond in time : {"code":1}
> [2022-08-16 15:31:57]ERROR : The gateway is unreachable or did not respond in time : {"code":1}
> [2022-08-16 15:39:06]ERROR : The gateway is unreachable or did not respond in time : {"code":1}
> [2022-08-16 17:40:26]ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
En mode debug:
> [2022-08-17 11:40:23]INFO : Lancement démon ikealight : sudo /usr/bin/node /var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.js --loglevel debug --socketport 55025 --callback http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php --apikey B0HkQPPjhhZLrTNI4BVadWYk04Ki5mSh --cycle 0.1 --pid /tmp/jeedom/ikealight/deamon.pid --gatewayip 192.168.0.25 --gatewaycode hGLRJqO3kwYQFw4b
> [2022-08-17 09:40:26]INFO : Start ikealightd
> [2022-08-17 09:40:26]INFO : Log level on : debug
> [2022-08-17 09:40:26]INFO : Socket port : 55025
> [2022-08-17 09:40:26]INFO : Gateway ip : 192.168.0.25
> [2022-08-17 09:40:26]INFO : Gateway code : XXXXXXXXXXXX
> [2022-08-17 09:40:26]INFO : PID file : /tmp/jeedom/ikealight/deamon.pid
> [2022-08-17 09:40:26]INFO : Apikey : ZGREGERSSZQRTRE
> [2022-08-17 09:40:26]INFO : Callback : http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php
> [2022-08-17 09:40:26]INFO : Cycle : 0.1
> [2022-08-17 09:40:26]INFO : Start ikealightd
> [2022-08-17 09:40:26]INFO : Ikealightd initialise, try connect...
> [2022-08-17 09:40:26]DEBUG : Connect to gateway with : {"identity":"tradfri_00000000000","psk":"XXXXXXXXXX"}
> [2022-08-17 09:40:26]DEBUG : HTTP listen on 127.0.0.1 port : 55025 started
> [2022-08-17 11:40:26]DEBUG : Received message : []
> [2022-08-17 09:41:00]DEBUG : Can not connect with psk, try authenticate
> [2022-08-17 09:41:00]DEBUG : Authenticate to gateway with : XXXXXXXXXXXX
> [2022-08-17 09:41:03]ERROR : The gateway is unreachable or did not respond in time : {"code":1}
A noter qu’il y a un problème dans l’horodatage des logs…???
J’ai bien sûr relancé l’installation des dépendances et redémarré la gateway Tradfri, mais sans meilleur résultat.
J’ai par contre constaté, dans l’application mobile Ikea que la Gateway avait récemment été mise à jour.
L’application et la passerelle voient bien les équipements de leur côté.
N.B. l’adresse IP de la Gateway n’a pas changé car bail DHCP statique.
@Loic : une nouvelle dépendance à mettre à jour suite à cette mise à jour de la passerelle?
Suis-je le seul à avoir ce soucis?
Merci d’avance
- les logs d’installation de dépendances avec quelques warning dedans:
********************************************************
* Installation des dépendances *
********************************************************
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:4 http://deb.debian.org/debian buster-backports InRelease [46.7 kB]
Hit:5 https://deb.nodesource.com/node_8.x buster InRelease
Get:6 http://deb.debian.org/debian buster-backports/main Sources.diff/Index [27.8 kB]
Get:7 http://deb.debian.org/debian buster-backports/main arm64 Packages.diff/Index [27.8 kB]
Get:8 http://deb.debian.org/debian buster-backports/main Sources 2020-07-06-1401.05.pdiff [564 B]
Get:8 http://deb.debian.org/debian buster-backports/main Sources 2020-07-06-1401.05.pdiff [564 B]
Get:9 http://deb.debian.org/debian buster-backports/main arm64 Packages 2020-07-06-1401.05.pdiff [189 B]
Get:9 http://deb.debian.org/debian buster-backports/main arm64 Packages 2020-07-06-1401.05.pdiff [189 B]
Fetched 155 kB in 1s (110 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (10.2019051400).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Version actuelle : 10
Ok, version suffisante
Reading package lists...
Building dependency tree...
Reading state information...
npm is already the newest version (5.8.0+ds6-4+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
npm WARN npm npm does not support Node.js v10.21.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
> node-aead-crypto@2.2.0 preinstall /var/www/html/plugins/ikealight/resources/ikealightd/node_modules/node-aead-crypto
> node lib/preinstall.js
node-aead-crypto not needed on this system, since all ciphers are natively supported
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN ikealightd No description
npm WARN ikealightd No repository field.
npm WARN ikealightd No README data
npm WARN ikealightd No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 (node_modules/node-aead-crypto):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 preinstall: `node lib/preinstall.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
+ node-tradfri-client@2.1.6
added 12 packages from 13 contributors in 20.278s
npm WARN npm npm does not support Node.js v10.21.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
> node-aead-crypto@2.2.0 preinstall /var/www/html/plugins/ikealight/resources/ikealightd/node_modules/node-aead-crypto
> node lib/preinstall.js
node-aead-crypto not needed on this system, since all ciphers are natively supported
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN ikealightd No description
npm WARN ikealightd No repository field.
npm WARN ikealightd No README data
npm WARN ikealightd No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 (node_modules/node-aead-crypto):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 preinstall: `node lib/preinstall.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
+ fs@0.0.1-security
added 1 package in 6.97s
npm WARN npm npm does not support Node.js v10.21.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
> node-aead-crypto@2.2.0 preinstall /var/www/html/plugins/ikealight/resources/ikealightd/node_modules/node-aead-crypto
> node lib/preinstall.js
node-aead-crypto not needed on this system, since all ciphers are natively supported
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN ikealightd No description
npm WARN ikealightd No repository field.
npm WARN ikealightd No README data
npm WARN ikealightd No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 (node_modules/node-aead-crypto):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 preinstall: `node lib/preinstall.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
+ request@2.88.2
added 46 packages from 57 contributors in 11.712s
npm WARN npm npm does not support Node.js v10.21.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
> node-aead-crypto@2.2.0 preinstall /var/www/html/plugins/ikealight/resources/ikealightd/node_modules/node-aead-crypto
> node lib/preinstall.js
node-aead-crypto not needed on this system, since all ciphers are natively supported
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN ikealightd No description
npm WARN ikealightd No repository field.
npm WARN ikealightd No README data
npm WARN ikealightd No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 (node_modules/node-aead-crypto):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 preinstall: `node lib/preinstall.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
+ express@4.17.1
added 55 packages from 35 contributors in 13.211s
********************************************************
* Installation terminée *
********************************************************
> saisissez ou collez du code ici