Ik krijg het echt niet voor elkaar...
Allemaal herinstallaties geprobeerd maar ik krijg de service niet aan de praat.
Misschien dat iemand meet meer verstand van Linux eens mee kan kijken.
Vandaag dit gedraaid:
login as: pi
pi@'s password:
Linux domoticz 4.14.87-v7+ #1178 SMP Tue Dec 11 14:47:38 GMT 2018 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Jan 12 13:42:56 2019
pi@domoticz:~ $ sudo apt-get install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version (1:2.11.0-3+deb9u4).
0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
pi@domoticz:~ $ hash -r
pi@domoticz:~ $ sudo apt-get install nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
nodejs is already the newest version (8.11.1~dfsg-2~bpo9+1).
0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
pi@domoticz:~ $ curl --silent --location https://deb.nodesource.com/setup_0.12 | sudo bash -
================================================================================
================================================================================
DEPRECATION WARNING
Node.js 0.12 is no longer actively supported!
You will not receive security or critical stability updates for this version.
You should migrate to a supported version of Node.js as soon as possible.
Use the installation script that corresponds to the version of Node.js you
wish to install. e.g.
*
https://deb.nodesource.com/setup_8.x — Node.js 8 LTS "Carbon" (recommended)
*
https://deb.nodesource.com/setup_10.x — Node.js 10 Current
Please see
https://github.com/nodejs/Release for details about which
version may be appropriate for you.
The NodeSource Node.js distributions repository contains
information both about supported versions of Node.js and supported Linux
distributions. To learn more about usage, see the repository:
https://github.com/nodesource/distributions
================================================================================
================================================================================
Continuing in 20 seconds ...
## Installing the NodeSource Node.js 0.12 repo...
## Populating apt-get cache...
+ apt-get update
Hit:1
http://raspbian.raspberrypi.org/raspbian stretch InRelease
Hit:2
http://archive.raspberrypi.org/debian stretch InRelease
Hit:3
https://deb.nodesource.com/node_7.x stretch InRelease
Hit:4
https://download.docker.com/linux/raspbian stretch InRelease
Reading package lists... Done
## Confirming "stretch" is supported...
+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_0.12/dists/stretch/Release'
## Your distribution, identified as "stretch", is not currently supported, please contact NodeSource at
https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support
pi@domoticz:~ $ sudo apt-get install libkrb5-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
comerr-dev krb5-multidev libgssrpc4 libkadm5clnt-mit11 libkadm5srv-mit11 libkdb5-8
Suggested packages:
doc-base krb5-doc krb5-user
The following NEW packages will be installed:
comerr-dev krb5-multidev libgssrpc4 libkadm5clnt-mit11 libkadm5srv-mit11 libkdb5-8 libkrb5-dev
0 upgraded, 7 newly installed, 0 to remove and 15 not upgraded.
Need to get 528 kB of archives.
After this operation, 1,886 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1
http://mirror.serverius.net/raspbian/raspbian stretch/main armhf libgssrpc4 armhf 1.15-1+deb9u1 [81.7 kB]
Get:2
http://mirror.serverius.net/raspbian/raspbian stretch/main armhf libkadm5clnt-mit11 armhf 1.15-1+deb9u1 [67.6 kB]
Get:3
http://mirror.serverius.net/raspbian/raspbian stretch/main armhf libkdb5-8 armhf 1.15-1+deb9u1 [66.1 kB]
Get:4
http://mirror.serverius.net/raspbian/raspbian stretch/main armhf libkadm5srv-mit11 armhf 1.15-1+deb9u1 [79.2 kB]
Get:5
http://mirror.serverius.net/raspbian/raspbian stretch/main armhf comerr-dev armhf 2.1-1.43.4-2 [37.7 kB]
Get:6
http://mirror.serverius.net/raspbian/raspbian stretch/main armhf krb5-multidev armhf 1.15-1+deb9u1 [151 kB]
Get:7
http://mirror.serverius.net/raspbian/raspbian stretch/main armhf libkrb5-dev armhf 1.15-1+deb9u1 [45.7 kB]
Fetched 528 kB in 1s (515 kB/s)
Selecting previously unselected package libgssrpc4:armhf.
(Reading database ... 143207 files and directories currently installed.)
Preparing to unpack .../0-libgssrpc4_1.15-1+deb9u1_armhf.deb ...
Unpacking libgssrpc4:armhf (1.15-1+deb9u1) ...
Selecting previously unselected package libkadm5clnt-mit11:armhf.
Preparing to unpack .../1-libkadm5clnt-mit11_1.15-1+deb9u1_armhf.deb ...
Unpacking libkadm5clnt-mit11:armhf (1.15-1+deb9u1) ...
Selecting previously unselected package libkdb5-8:armhf.
Preparing to unpack .../2-libkdb5-8_1.15-1+deb9u1_armhf.deb ...
Unpacking libkdb5-8:armhf (1.15-1+deb9u1) ...
Selecting previously unselected package libkadm5srv-mit11:armhf.
Preparing to unpack .../3-libkadm5srv-mit11_1.15-1+deb9u1_armhf.deb ...
Unpacking libkadm5srv-mit11:armhf (1.15-1+deb9u1) ...
Selecting previously unselected package comerr-dev.
Preparing to unpack .../4-comerr-dev_2.1-1.43.4-2_armhf.deb ...
Unpacking comerr-dev (2.1-1.43.4-2) ...
Selecting previously unselected package krb5-multidev.
Preparing to unpack .../5-krb5-multidev_1.15-1+deb9u1_armhf.deb ...
Unpacking krb5-multidev (1.15-1+deb9u1) ...
Selecting previously unselected package libkrb5-dev.
Preparing to unpack .../6-libkrb5-dev_1.15-1+deb9u1_armhf.deb ...
Unpacking libkrb5-dev (1.15-1+deb9u1) ...
Setting up libgssrpc4:armhf (1.15-1+deb9u1) ...
Setting up comerr-dev (2.1-1.43.4-2) ...
Processing triggers for install-info (6.3.0.dfsg.1-1+b1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up libkdb5-8:armhf (1.15-1+deb9u1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up libkadm5clnt-mit11:armhf (1.15-1+deb9u1) ...
Setting up libkadm5srv-mit11:armhf (1.15-1+deb9u1) ...
Setting up krb5-multidev (1.15-1+deb9u1) ...
Setting up libkrb5-dev (1.15-1+deb9u1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
pi@domoticz:~ $ sudo apt-get install libavahi-compat-libdnssd-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libavahi-compat-libdnssd-dev is already the newest version (0.6.32-2).
0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
pi@domoticz:~ $ sudo apt-get install nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
nodejs is already the newest version (8.11.1~dfsg-2~bpo9+1).
0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
pi@domoticz:~ $ sudo npm install -g n
/usr/local/bin/n -> /usr/local/lib/node_modules/n/bin/n
n@2.1.12 /usr/local/lib/node_modules/n
pi@domoticz:~ $ sudo n lts
install : node-v10.15.0
mkdir : /usr/local/n/versions/node/10.15.0
fetch :
https://nodejs.org/dist/v....15.0-linux-armv7l.tar.gz
######################################################################## 100.0%
installed : v10.15.0
pi@domoticz:~ $ sudo npm install -g homebridge && sudo npm install -g forever
/usr/local/bin/homebridge -> /usr/local/lib/node_modules/homebridge/bin/homebridge
> curve25519-n@1.4.0 install /usr/local/lib/node_modules/homebridge/node_modules/curve25519-n
> node-gyp rebuild
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/10.15.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/homebridge/node_modules/curve25519-n/.node-gyp"
make: Entering directory '/usr/local/lib/node_modules/homebridge/node_modules/curve25519-n/build'
CXX(target) Release/obj.target/curve/node_curve.o
../node_curve.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE DoCurve(Nan::NAN_METHOD_ARGS_TYPE)’:
../node_curve.cc:18:79: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
unsigned char* arg0 = (unsigned char*) node::Buffer::Data(info[0]->ToObject());
^
In file included from /usr/local/lib/node_modules/homebridge/node_modules/curve25519-n/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../../nan/nan.h:53,
from ../node_curve.cc:10:
/usr/local/lib/node_modules/homebridge/node_modules/curve25519-n/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../node_curve.cc:19:79: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
unsigned char* arg1 = (unsigned char*) node::Buffer::Data(info[1]->ToObject());
^
In file included from /usr/local/lib/node_modules/homebridge/node_modules/curve25519-n/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../../nan/nan.h:53,
from ../node_curve.cc:10:
/usr/local/lib/node_modules/homebridge/node_modules/curve25519-n/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../node_curve.cc:20:79: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
unsigned char* arg2 = (unsigned char*) node::Buffer::Data(info[2]->ToObject());
^
In file included from /usr/local/lib/node_modules/homebridge/node_modules/curve25519-n/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../../nan/nan.h:53,
from ../node_curve.cc:10:
/usr/local/lib/node_modules/homebridge/node_modules/curve25519-n/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
SOLINK_MODULE(target) Release/obj.target/curve.node
COPY Release/curve.node
make: Leaving directory '/usr/local/lib/node_modules/homebridge/node_modules/curve25519-n/build'
> ed25519-hap@0.0.5 install /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap
> node-gyp rebuild
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/10.15.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp"
make: Entering directory '/usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/build'
CC(target) Release/obj.target/ed25519/src/ed25519/keypair.o
CC(target) Release/obj.target/ed25519/src/ed25519/sign.o
CC(target) Release/obj.target/ed25519/src/ed25519/open.o
CC(target) Release/obj.target/ed25519/src/ed25519/crypto_verify_32.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_double_scalarmult.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_frombytes.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_scalarmult_base.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_precomp_0.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_0.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_dbl.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_0.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_dbl.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_p2.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_cached.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_tobytes.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_madd.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_add.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_msub.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_sub.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p3.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p2.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_tobytes.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_0.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_1.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_cmov.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_copy.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_neg.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_add.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_sub.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_mul.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq2.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_invert.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_tobytes.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnegative.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnonzero.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_frombytes.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_pow22523.o
CC(target) Release/obj.target/ed25519/src/ed25519/sc_reduce.o
CC(target) Release/obj.target/ed25519/src/ed25519/sc_muladd.o
CXX(target) Release/obj.target/ed25519/src/ed25519.o
../src/ed25519.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE MakeKeypair(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/ed25519.cc:19:98: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if ((info.Length() < 1) || (!Buffer::HasInstance(info[0])) || (Buffer::Length(info[0]->ToObject()) != 32)) {
^
In file included from /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/ed25519.cc:1:
/usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/ed25519.cc:22:77: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
const unsigned char* seed = (unsigned char*)Buffer::Data(info[0]->ToObject());
^
In file included from /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/ed25519.cc:1:
/usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/ed25519.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Sign(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/ed25519.cc:53:69: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if ((info.Length() < 2) || (!Buffer::HasInstance(info[0]->ToObject()))) {
^
In file included from /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/ed25519.cc:1:
/usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/ed25519.cc:56:74: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if ((Buffer::HasInstance(info[1])) && (Buffer::Length(info[1]->ToObject()) == 32)) {
^
In file included from /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/ed25519.cc:1:
/usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/ed25519.cc:57:72: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
unsigned char* seed = (unsigned char*)Buffer::Data(info[1]->ToObject());
^
In file included from /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/ed25519.cc:1:
/usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/ed25519.cc:65:81: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
} else if ((Buffer::HasInstance(info[1])) && (Buffer::Length(info[1]->ToObject()) == 64)) {
^
In file included from /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/ed25519.cc:1:
/usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/ed25519.cc:66:63: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
privateKey = (unsigned char*)Buffer::Data(info[1]->ToObject());
^
In file included from /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/ed25519.cc:1:
/usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/ed25519.cc:68:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Local<Value> privateKeyBuffer = info[1]->ToObject()->Get(Nan::New<String>("privateKey").ToLocalChecked())->ToObject();
^
In file included from /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/ed25519.cc:1:
/usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/ed25519.cc:68:119: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
al<Value> privateKeyBuffer = info[1]->ToObject()->Get(Nan::New<String>("privateKey").ToLocalChecked())->ToObject();
^
In file included from /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/ed25519.cc:1:
/usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/ed25519.cc:76:45: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Handle<Object> message = info[0]->ToObject();
^
In file included from /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/ed25519.cc:1:
/usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/ed25519.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Verify(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/ed25519.cc:101:69: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if ((info.Length() < 3) || (!Buffer::HasInstance(info[0]->ToObject())) ||
^
In file included from /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/ed25519.cc:1:
/usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/ed25519.cc:102:43: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
(!Buffer::HasInstance(info[1]->ToObject())) || (!Buffer::HasInstance(info[2]->ToObject()))) {
^
In file included from /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/ed25519.cc:1:
/usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/ed25519.cc:102:90: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
(!Buffer::HasInstance(info[1]->ToObject())) || (!Buffer::HasInstance(info[2]->ToObject()))) {
^
In file included from /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/ed25519.cc:1:
/usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/ed25519.cc:105:45: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Handle<Object> message = info[0]->ToObject();
^
In file included from /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/ed25519.cc:1:
/usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/ed25519.cc:106:47: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Handle<Object> signature = info[1]->ToObject();
^
In file included from /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/ed25519.cc:1:
/usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/ed25519.cc:107:47: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Handle<Object> publicKey = info[2]->ToObject();
^
In file included from /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/ed25519.cc:1:
/usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
SOLINK_MODULE(target) Release/obj.target/ed25519.node
COPY Release/ed25519.node
make: Leaving directory '/usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/build'
+ homebridge@0.4.45
removed 4 packages, updated 1 package and moved 31 packages in 97.174s
/usr/local/bin/forever -> /usr/local/lib/node_modules/forever/bin/forever
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/forever/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
+ forever@0.15.3
added 242 packages from 153 contributors in 59.124s
pi@domoticz:~ $ sudo npm install -g homebridge-edomoticz
+ homebridge-edomoticz@2.1.11
removed 16 packages, updated 1 package and moved 111 packages in 22.929s
pi@domoticz:~ $ sudo pico /lib/systemd/system/homebridge.service
pi@domoticz:~ $ sudo chmod 644 /lib/systemd/system/homebridge.service
pi@domoticz:~ $ sudo systemctl daemon-reload
pi@domoticz:~ $ sudo systemctl enable homebridge.service
Synchronizing state of homebridge.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable homebridge
update-rc.d: error: homebridge Default-Start contains no runlevels, aborting.
pi@domoticz:~ $ sudo reboot
Hij geeft ook een error bij het handmatig starten van de service... Ik ben het spoor bijster.
'
Ik heb deze handleiding gevolgd:
Domoticz / raspberry Pi: Homebridge & Domoticz installeren op een Raspberry Pi