Hallo alles zusammen,
habe vor ein paar tagen meine alte Homebridge plattgemacht, da diese nicht mehr funktioniert hat durch eine neue ersetzt. Diese funktioniert seit mehreren Tagen einwandfrei.
Hab bisher meine alten Plugins wieder installiert bis auf "Remote Outlet" (zum steuern der Brennenstuhl 433 Mhz Funksteckdosen). Wenn ich über Config UI X versuch das Plugin zu installieren kommt folgende Fehlermeldung un bricht die Installation ab.
> [email protected] install /usr/local/lib/node_modules/homebridge-remote-outlet/node_modules/rcswitch
> node-gyp rebuild
make: Entering directory '/usr/local/lib/node_modules/homebridge-remote-outlet/node_modules/rcswitch/build'
CXX(target) Release/obj.target/rcswitch/src/rcswitch.o
CXX(target) Release/obj.target/rcswitch/src/RCSwitchNode.o
In file included from ../src/RCSwitchNode.cpp:1:0:
../src/RCSwitchNode.cpp: In static member function ‘static void RCSwitchNode::SwitchOp(const Nan::FunctionCallbackInfo<v8::Value>&, bool)’:
../src/RCSwitchNode.cpp:46:35: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
switchOp2(group->Int32Value(), swtch->Int32Value());
^
../src/RCSwitchNode.h:19:69: note: in definition of macro ‘switchOp2’
#define switchOp2(p1, p2) { if(switchOn) thiz->rcswitch.switchOn((p1), (p2)); else thiz->rcswitch.switchOff((p1), (p2)); }
^~
In file included from /home/homebridge/.node-gyp/11.9.0/include/node/v8.h:26:0,
from /home/homebridge/.node-gyp/11.9.0/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/RCSwitchNode.h:4,
from ../src/RCSwitchNode.cpp:1:
/home/homebridge/.node-gyp/11.9.0/include/node/v8.h:2572:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/home/homebridge/.node-gyp/11.9.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/RCSwitchNode.cpp:1:0:
../src/RCSwitchNode.cpp:46:56: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
switchOp2(group->Int32Value(), swtch->Int32Value());
^
../src/RCSwitchNode.h:19:75: note: in definition of macro ‘switchOp2’
ine switchOp2(p1, p2) { if(switchOn) thiz->rcswitch.switchOn((p1), (p2)); else thiz->rcswitch.switchOff((p1), (p2)); }
^~
In file included from /home/homebridge/.node-gyp/11.9.0/include/node/v8.h:26:0,
from /home/homebridge/.node-gyp/11.9.0/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/RCSwitchNode.h:4,
from ../src/RCSwitchNode.cpp:1:
/home/homebridge/.node-gyp/11.9.0/include/node/v8.h:2572:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/home/homebridge/.node-gyp/11.9.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/RCSwitchNode.cpp:1:0:
../src/RCSwitchNode.cpp:46:35: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
switchOp2(group->Int32Value(), swtch->Int32Value());
^
../src/RCSwitchNode.h:19:112: note: in definition of macro ‘switchOp2’
thiz->rcswitch.switchOn((p1), (p2)); else thiz->rcswitch.switchOff((p1), (p2)); }
^~
In file included from /home/homebridge/.node-gyp/11.9.0/include/node/v8.h:26:0,
from /home/homebridge/.node-gyp/11.9.0/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/RCSwitchNode.h:4,
from ../src/RCSwitchNode.cpp:1:
/home/homebridge/.node-gyp/11.9.0/include/node/v8.h:2572:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/home/homebridge/.node-gyp/11.9.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/RCSwitchNode.cpp:1:0:
../src/RCSwitchNode.cpp:46:56: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
switchOp2(group->Int32Value(), swtch->Int32Value());
^
../src/RCSwitchNode.h:19:118: note: in definition of macro ‘switchOp2’
iz->rcswitch.switchOn((p1), (p2)); else thiz->rcswitch.switchOff((p1), (p2)); }
^~
In file included from /home/homebridge/.node-gyp/11.9.0/include/node/v8.h:26:0,
from /home/homebridge/.node-gyp/11.9.0/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/RCSwitchNode.h:4,
from ../src/RCSwitchNode.cpp:1:
/home/homebridge/.node-gyp/11.9.0/include/node/v8.h:2572:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/home/homebridge/.node-gyp/11.9.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/RCSwitchNode.cpp:1:0:
../src/RCSwitchNode.cpp:52:46: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
switchOp2(*sGroup, swtch->Int32Value());
^
../src/RCSwitchNode.h:19:75: note: in definition of macro ‘switchOp2’
ine switchOp2(p1, p2) { if(switchOn) thiz->rcswitch.switchOn((p1), (p2)); else thiz->rcswitch.switchOff((p1), (p2)); }
^~
In file included from /home/homebridge/.node-gyp/11.9.0/include/node/v8.h:26:0,
from /home/homebridge/.node-gyp/11.9.0/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/RCSwitchNode.h:4,
from ../src/RCSwitchNode.cpp:1:
/home/homebridge/.node-gyp/11.9.0/include/node/v8.h:2572:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/home/homebridge/.node-gyp/11.9.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/RCSwitchNode.cpp:1:0:
../src/RCSwitchNode.cpp:52:46: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
switchOp2(*sGroup, swtch->Int32Value());
^
../src/RCSwitchNode.h:19:118: note: in definition of macro ‘switchOp2’
iz->rcswitch.switchOn((p1), (p2)); else thiz->rcswitch.switchOff((p1), (p2)); }
^~
In file included from /home/homebridge/.node-gyp/11.9.0/include/node/v8.h:26:0,
from /home/homebridge/.node-gyp/11.9.0/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/RCSwitchNode.h:4,
from ../src/RCSwitchNode.cpp:1:
/home/homebridge/.node-gyp/11.9.0/include/node/v8.h:2572:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/home/homebridge/.node-gyp/11.9.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/RCSwitchNode.cpp:1:0:
../src/RCSwitchNode.cpp:65:48: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
switchOp3(*(*v8str), group->Int32Value(), devce->Int32Value());
^
../src/RCSwitchNode.h:20:79: note: in definition of macro ‘switchOp3’
switchOp3(p1, p2, p3) { if(switchOn) thiz->rcswitch.switchOn((p1), (p2), (p3)); else thiz->rcswitch.switchOff((p1), (p2), (p3)); }
^~
In file included from /home/homebridge/.node-gyp/11.9.0/include/node/v8.h:26:0,
from /home/homebridge/.node-gyp/11.9.0/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/RCSwitchNode.h:4,
from ../src/RCSwitchNode.cpp:1:
/home/homebridge/.node-gyp/11.9.0/include/node/v8.h:2572:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/home/homebridge/.node-gyp/11.9.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/RCSwitchNode.cpp:1:0:
../src/RCSwitchNode.cpp:65:69: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
switchOp3(*(*v8str), group->Int32Value(), devce->Int32Value());
^
../src/RCSwitchNode.h:20:85: note: in definition of macro ‘switchOp3’
Op3(p1, p2, p3) { if(switchOn) thiz->rcswitch.switchOn((p1), (p2), (p3)); else thiz->rcswitch.switchOff((p1), (p2), (p3)); }
^~
In file included from /home/homebridge/.node-gyp/11.9.0/include/node/v8.h:26:0,
from /home/homebridge/.node-gyp/11.9.0/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/RCSwitchNode.h:4,
from ../src/RCSwitchNode.cpp:1:
/home/homebridge/.node-gyp/11.9.0/include/node/v8.h:2572:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/home/homebridge/.node-gyp/11.9.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/RCSwitchNode.cpp:1:0:
../src/RCSwitchNode.cpp:65:48: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
switchOp3(*(*v8str), group->Int32Value(), devce->Int32Value());
^
../src/RCSwitchNode.h:20:128: note: in definition of macro ‘switchOp3’
ch.switchOn((p1), (p2), (p3)); else thiz->rcswitch.switchOff((p1), (p2), (p3)); }
^~
In file included from /home/homebridge/.node-gyp/11.9.0/include/node/v8.h:26:0,
from /home/homebridge/.node-gyp/11.9.0/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/RCSwitchNode.h:4,
from ../src/RCSwitchNode.cpp:1:
/home/homebridge/.node-gyp/11.9.0/include/node/v8.h:2572:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/home/homebridge/.node-gyp/11.9.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/RCSwitchNode.cpp:1:0:
../src/RCSwitchNode.cpp:65:69: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
switchOp3(*(*v8str), group->Int32Value(), devce->Int32Value());
^
../src/RCSwitchNode.h:20:134: note: in definition of macro ‘switchOp3’
.switchOn((p1), (p2), (p3)); else thiz->rcswitch.switchOff((p1), (p2), (p3)); }
^~
In file included from /home/homebridge/.node-gyp/11.9.0/include/node/v8.h:26:0,
from /home/homebridge/.node-gyp/11.9.0/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/RCSwitchNode.h:4,
from ../src/RCSwitchNode.cpp:1:
/home/homebridge/.node-gyp/11.9.0/include/node/v8.h:2572:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/home/homebridge/.node-gyp/11.9.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/RCSwitchNode.cpp: In static member function ‘static void RCSwitchNode::New(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../src/RCSwitchNode.cpp:83:59: error: no matching function for call to ‘v8::Function::NewInstance(const int&, v8::Local<v8::Value> [0])’
info.GetReturnValue().Set(cons->NewInstance(argc, argv));
^
In file included from /home/homebridge/.node-gyp/11.9.0/include/node/node.h:63:0,
from ../../nan/nan.h:53,
from ../src/RCSwitchNode.h:4,
from ../src/RCSwitchNode.cpp:1:
/home/homebridge/.node-gyp/11.9.0/include/node/v8.h:4105:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/homebridge/.node-gyp/11.9.0/include/node/v8.h:4105:44: note: candidate expects 3 arguments, 2 provided
/home/homebridge/.node-gyp/11.9.0/include/node/v8.h:4108:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/homebridge/.node-gyp/11.9.0/include/node/v8.h:4108:44: note: candidate expects 1 argument, 2 provided
../src/RCSwitchNode.cpp: In static member function ‘static void RCSwitchNode::EnableTransmit(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../src/RCSwitchNode.cpp:115:52: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
obj->rcswitch.enableTransmit(pinNr->Int32Value());
^
In file included from /home/homebridge/.node-gyp/11.9.0/include/node/v8.h:26:0,
from /home/homebridge/.node-gyp/11.9.0/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/RCSwitchNode.h:4,
from ../src/RCSwitchNode.cpp:1:
/home/homebridge/.node-gyp/11.9.0/include/node/v8.h:2572:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/home/homebridge/.node-gyp/11.9.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/RCSwitchNode.cpp: In static member function ‘static void RCSwitchNode::SetProtocol(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<v8::Value>&)’:
../src/RCSwitchNode.cpp:144:49: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
obj->rcswitch.setProtocol(value->Int32Value());
^
In file included from /home/homebridge/.node-gyp/11.9.0/include/node/v8.h:26:0,
from /home/homebridge/.node-gyp/11.9.0/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/RCSwitchNode.h:4,
from ../src/RCSwitchNode.cpp:1:
/home/homebridge/.node-gyp/11.9.0/include/node/v8.h:2572:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/home/homebridge/.node-gyp/11.9.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
rcswitch.target.mk:103: recipe for target 'Release/obj.target/rcswitch/src/RCSwitchNode.o' failed
make: *** [Release/obj.target/rcswitch/src/RCSwitchNode.o] Error 1
make: Leaving directory '/usr/local/lib/node_modules/homebridge-remote-outlet/node_modules/rcswitch/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:197:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
gyp ERR! System Linux 4.14.79-v7+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/homebridge-remote-outlet/node_modules/rcswitch
gyp ERR! node -v v11.9.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/homebridge/.npm/_logs/2019-02-02T12_30_17_176Z-debug.log
Command failed. Please review log for details
Alles anzeigen
Hab schon verschiedene 433 Steckdosen Plugins versucht zu installieren, aber alle schlagen fehl. Über das Terminal kann ich die Steckdosen an und wieder aus schalten. Wiring Pi und Raspberry Remote sind installiert.
Woran kann das liegen ? Und hat vielleicht einer eine Idee oder Alternative zum Steuern der Funksteckdosen?
Grüße Bene
edit:
nachdem ich jetzt seit Stunden daran herum versuche, bin ich glaub ich dem Problem auf die Schliche gekommen. Jedesmal wenn ich ein Accessory zur Homebridge hinzufügen möchte, stürzt das Ding komplett ab. Sobald ich das Accessory wieder entferne funktioniert alles wieder.
Woran kann das liegen? Ich brauch dringend eure Hilfe.
Unten meine jetzige funktionierende Config.
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:31",
"port": 51826,
"pin": "031-45-154"
},
"description": "Home Smart Home",
"platforms": [{
"platform": "config",
"name": "Config",
"port": 8080,
"auth": "form",
"theme": "red",
"restart": "sudo -n systemctl restart homebridge",
"temp": "/sys/class/thermal/thermal_zone0/temp",
"sudo": true,
"log": {
"method": "systemd",
"service": "homebridge"
}
},
{
"platform": "MagicHome-Platform",
"debug": true,
"lights": [{
"name": "Kitchen LED Strip",
"ip": "192.168.2.103",
"setup": "RGBW",
"purewhite": false,
"timeout": 10000
}]
},
{
"platform": "TuyaPlatform",
"name": "TuyaPlatform",
"devices": [{
"name": "Tuya Outlet Device 1",
"devId": "0120077068c63a92527b",
"localKey": "c564222eb270243c"
}]
},
{
"platform": "BroadlinkRM",
"name": "Broadlink",
"hideScanFrequencyButton": false,
"hideLearnButton": false,
"hideWelcomeMessage": true,
"accessories": [{
"name": "Learnbutton",
"type": "learn-code",
"host": "192.168.2.115",
"enableAutoOff": true,
"onDuration": 60,
"scanFrequency": false
},
{
"name": "Fernseher",
"type": "switch",
"host": "192.168.2.115",
"data": {
"on": "26008c009495123811391238111312131213121313121238123812381213121311141114111411141138131212131312121312131213123812131238123713371337123812381100060594951238113912381114121213121213121312381238123811141114111411141114111411381312121312131312121312131238111412381238123713371238123812000d05000000000000000000000000",
"off": "26008c009595113813371238121312131114121312131139113813371213121312131114121311141139111411141114111312131213133713121238123812381138133712381200060495951237123813371213121311141213121312381237133712131213121312131213111412381213121312131114121311131238131213371238113912381237123812000d05000000000000000000000000"
}
}
]
}
],
"accessories": []
}
Alles anzeigen