Je n’arrive pas a lancer le démon du plugin en version stable
log Hkcontrol_deamon
Node.js v18.19.0
/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:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12) {
errno: 97,
code: 'EAFNOSUPPORT',
syscall: 'socket'
}
Node.js v18.19.0
== Jeedom 4.3.21 sur Debian GNU/Linux 10 (buster)/amd64/x86_64/64bits aka 'diy' avec nodeJS v18.19.0 et jsonrpc:enable et hkControl (stable)
2023-12-02 14:43:29 (avant:inconnu) ====================================================================== ==
24/12/2023 18:22:34 == 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 : v18.19.0 : [ **OK** ]
[Check Version NPM : 10.2.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 ======================================================================
Node.js v18.19.0
/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:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12) {
errno: 97,
code: 'EAFNOSUPPORT',
syscall: 'socket'
}
Node.js v18.19.0
Comme écrit sur la fiche market, docker n’est pas supporté.
La librairie a un problème si le système n’a pas de Bluetooth, le développeur a été mis au courant dernièrement et devrait résoudre le problème après les fêtes, mais en attendant vous pouvez tenter du Bluetooth pass through.