bonjour @nebz
je viens d’installer le plugin pour mon iDiamant et le DEMON ne se lance pas .
voici mes log en DEBUG
== Jeedom 4.3.17 sur Debian GNU/Linux 10 (buster)/arm64/aarch64/64bits aka 'diy' avec nodeJS v16.19.1 et jsonrpc:enable et hkControl (stable) 2023-04-03 09:06:08 (avant:inconnu)
======================================================================
== 07/04/2023 12:18:11 == Installation des dépendances de hkControl
======================================================================
[ 0% ] : Vérification des droits...
[ 4% ] : Vérification des droits : [ OK ]
[ 5% ] : Mise à jour APT et installation des packages nécessaires...
[ 9% ] : Mise à jour APT et installation des packages nécessaires : [ OK ]
[ 10% ] : Prérequis...
[ 14% ] : Prérequis : [ OK ]
[ 15% ] : Installation des packages nécessaires...
[ 19% ] : Installation des packages nécessaires : [ OK ]
[ 20% ] : Vérification du système...
[ 24% ] : Vérification du système : [ OK ]
[ 25% ] : Vérification de la version de NodeJS installée...
[Check Version NodeJS actuelle : v16.19.1 : [ OK ]
[Check Version NPM : 8.19.3 : [ OK ]
[Check Prefixe : /usr et sudo prefixe : /usr et www-data prefixe : /usr : [ OK ]
[ 49% ] : Vérification de la version de NodeJS installée : [ OK ]
[ 50% ] : Nettoyage...
[ 59% ] : Nettoyage : [ OK ]
[ 60% ] : Nettoyage anciens modules...
[ 69% ] : Nettoyage anciens modules : [ OK ]
[ 70% ] : Installation des librairies, veuillez patienter svp...
[ 89% ] : Installation des librairies, veuillez patienter svp : [ OK ]
[ 90% ] : Mise à jour class utilitaires...
[ 99% ] : Mise à jour class utilitaires : [ OK ]
[100% ] : Terminé !
======================================================================
== OK == Installation Réussie
======================================================================
/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/bluetooth-hci-socket/lib/native.js:9
super(...args);
^
Error: EAFNOSUPPORT, Address family not supported by protocol
at new BluetoothHciSocketWrapped (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/bluetooth-hci-socket/lib/native.js:9:5)
at new Hci (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/lib/hci-socket/hci.js:99:18)
at new NobleBindings (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:27:15)
at module.exports (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/lib/resolve-bindings.js:34:12)
at module.exports (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/with-custom-binding.js:3:53)
at Object. (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/index.js:1:50)
at Module._compile (node:internal/modules/cjs/loader:1191:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
at Module.load (node:internal/modules/cjs/loader:1069:32)
at Function.Module._load (node:internal/modules/cjs/loader:904:12) {
errno: 97,
code: 'EAFNOSUPPORT',
syscall: 'socket'
}
/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/bluetooth-hci-socket/lib/native.js:9
super(...args);
^
Error: EAFNOSUPPORT, Address family not supported by protocol
at new BluetoothHciSocketWrapped (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/bluetooth-hci-socket/lib/native.js:9:5)
at new Hci (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/lib/hci-socket/hci.js:99:18)
at new NobleBindings (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:27:15)
at module.exports (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/lib/resolve-bindings.js:34:12)
at module.exports (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/with-custom-binding.js:3:53)
at Object. (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/index.js:1:50)
at Module._compile (node:internal/modules/cjs/loader:1191:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
at Module.load (node:internal/modules/cjs/loader:1069:32)
at Function.Module._load (node:internal/modules/cjs/loader:904:12) {
errno: 97,
code: 'EAFNOSUPPORT',
syscall: 'socket'
}
et enfin :
[2023-04-07 12:20:06]ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2023-04-07 12:20:06]INFO : Arrêt du démon hkControl
[2023-04-07 12:20:11]INFO : Lancement du démon hkControl
[2023-04-07 12:20:11]DEBUG : Lancement démon hkControl : nice -n 19 node /var/www/html/plugins/hkControl/resources/hkControl.js http://192.168.1.41/core/api/jeeApi.php H8D9rKBruDHEexJqfnsH6yPlJylYrBslpdOLpK2y2yWEmEcM98AvWdNGjbEAZbHE 62622 debug /var/www/html/plugins/hkControl/data/pairings.json 1 NoCam
[2023-04-07 12:20:11]INFO : Démon hkControl lancé
[2023-04-07 12:20:14]ERROR : Erreur sur la fonction deamon_start du plugin : Vous devez attendre au moins 45 secondes entre deux lancements du démon. Dernier lancement : 2023-04-07 12:20:06
[2023-04-07 12:25:05]ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2023-04-07 12:25:05]INFO : Arrêt du démon hkControl
[2023-04-07 12:25:10]INFO : Lancement du démon hkControl
[2023-04-07 12:25:10]DEBUG : Lancement démon hkControl : nice -n 19 node /var/www/html/plugins/hkControl/resources/hkControl.js http://192.168.1.41/core/api/jeeApi.php H8D9rKBruDHEexJqfnsH6yPlJylYrBslpdOLpK2y2yWEmEcM98AvWdNGjbEAZbHE 37768 debug /var/www/html/plugins/hkControl/data/pairings.json 1 NoCam
[2023-04-07 12:25:10]INFO : Démon hkControl lancé
[2023-04-07 12:30:06]ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2023-04-07 12:30:06]INFO : Arrêt du démon hkControl
[2023-04-07 12:30:11]INFO : Lancement du démon hkControl
[2023-04-07 12:30:12]DEBUG : Lancement démon hkControl : nice -n 19 node /var/www/html/plugins/hkControl/resources/hkControl.js http://192.168.1.41/core/api/jeeApi.php H8D9rKBruDHEexJqfnsH6yPlJylYrBslpdOLpK2y2yWEmEcM98AvWdNGjbEAZbHE 5648 debug /var/www/html/plugins/hkControl/data/pairings.json 1 NoCam
[2023-04-07 12:30:12]INFO : Démon hkControl lancé
@nebz
oups je ne les ai pas nommés
en voici un plus complet:
/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/bluetooth-hci-socket/lib/native.js:9
super(...args);
^
Error: EAFNOSUPPORT, Address family not supported by protocol
at new BluetoothHciSocketWrapped (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/bluetooth-hci-socket/lib/native.js:9:5)
at new Hci (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/lib/hci-socket/hci.js:99:18)
at new NobleBindings (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:27:15)
at module.exports (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/lib/resolve-bindings.js:34:12)
at module.exports (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/with-custom-binding.js:3:53)
at Object. (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/index.js:1:50)
at Module._compile (node:internal/modules/cjs/loader:1191:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
at Module.load (node:internal/modules/cjs/loader:1069:32)
at Function.Module._load (node:internal/modules/cjs/loader:904:12) {
errno: 97,
code: 'EAFNOSUPPORT',
syscall: 'socket'
}
/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/bluetooth-hci-socket/lib/native.js:9
super(...args);
^
Error: EAFNOSUPPORT, Address family not supported by protocol
at new BluetoothHciSocketWrapped (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/bluetooth-hci-socket/lib/native.js:9:5)
at new Hci (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/lib/hci-socket/hci.js:99:18)
at new NobleBindings (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:27:15)
at module.exports (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/lib/resolve-bindings.js:34:12)
at module.exports (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/with-custom-binding.js:3:53)
at Object. (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/index.js:1:50)
at Module._compile (node:internal/modules/cjs/loader:1191:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
at Module.load (node:internal/modules/cjs/loader:1069:32)
at Function.Module._load (node:internal/modules/cjs/loader:904:12) {
errno: 97,
code: 'EAFNOSUPPORT',
syscall: 'socket'
}
/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/bluetooth-hci-socket/lib/native.js:9
super(...args);
^
Error: EAFNOSUPPORT, Address family not supported by protocol
at new BluetoothHciSocketWrapped (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/bluetooth-hci-socket/lib/native.js:9:5)
at new Hci (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/lib/hci-socket/hci.js:99:18)
at new NobleBindings (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:27:15)
at module.exports (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/lib/resolve-bindings.js:34:12)
at module.exports (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/with-custom-binding.js:3:53)
at Object. (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/index.js:1:50)
at Module._compile (node:internal/modules/cjs/loader:1191:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
at Module.load (node:internal/modules/cjs/loader:1069:32)
at Function.Module._load (node:internal/modules/cjs/loader:904:12) {
errno: 97,
code: 'EAFNOSUPPORT',
syscall: 'socket'
}
/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/bluetooth-hci-socket/lib/native.js:9
super(...args);
^
Error: EAFNOSUPPORT, Address family not supported by protocol
at new BluetoothHciSocketWrapped (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/bluetooth-hci-socket/lib/native.js:9:5)
at new Hci (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/lib/hci-socket/hci.js:99:18)
at new NobleBindings (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:27:15)
at module.exports (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/lib/resolve-bindings.js:34:12)
at module.exports (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/with-custom-binding.js:3:53)
at Object. (/var/www/html/plugins/hkControl/resources/node_modules/@abandonware/noble/index.js:1:50)
at Module._compile (node:internal/modules/cjs/loader:1191:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
at Module.load (node:internal/modules/cjs/loader:1069:32)
at Function.Module._load (node:internal/modules/cjs/loader:904:12) {
errno: 97,
code: 'EAFNOSUPPORT',
syscall: 'socket'
}