Haha 😂
Ich hab n sonoff mini mit tasmota drauf
Haha 😂
Ich hab n sonoff mini mit tasmota drauf
Und dann kann ich per smart Home auch noch den Ventilator steuern?
Ja und ja das könnte ich! Allerdings würde dann jedesmal der deckenventilator mit an oder aus gehen 🤪 deswegen ja die Frage
Hi Morvan,
Ja das klingt spektakulär! Danke für deinen Input!
Meine Gedanken waren dazu eher Software orientiert… ich weiß das ich den physischen Schalter deaktivieren kann und dann könnte ich es nur noch mit homebridge/HomeKit steuern hier… allerdings hab ich keine Ahnung wie oder ob ich dann quasi den physischen Schalter ach für was anderes benutzen kann…
Hallo alle zusammen,
Ich hab n sonoff mini in der Wand als Lichtschalter, nun ist seit kurzem ein Deckenventilator dort angeschlossen (ohne Licht) und als einzige Licht Quelle in dem Raum fungiert nun eine Stehlampe mit wlan Steckdose.
Nun würde ich gerne mit dem sonoff mini in der Wand die wlan Steckdose schalten statt den direkt angeschlossen deckenventilator und den deckenventilator mit nem anderem smarthome Schalter.
Ich tippe das man das mit tasmota programmieren kann ich hab’s nur nicht rausgefunden. Kann einer von euch mir helfen?
Danke!!
Habs gerade mal alles rein gebastelt, funktioniert wunderbar
Ich danke dir vielmals OrangeX
OrangeX Mega es geht! Musste es noch etwas anpassen siehe Fotos. Jetzt gehts JUHU
Kannst du mir eventuell noch verraten wie ich den Kurzbefehl vorweg prüfen lasse ob die Übergeordnete Erinnerung "ALDI" existiert und falls nicht er sie erstellt und dann den Unterpunkte einträgt???
Danke Vielmals bin hier gerade mega happy das es geht
Ich habe leider keinen weg gefunden da überhaupt was brauchbares einzustellen... kannst du helfen OrangeX??
Nabend Leute,
Ich breche mir hier gerade einen ab bei dem Versuch eine neue Erinnerung einer schon vorhandenen unter zu ordnen.
Man ich komme mir schon etwas blöd vor. Also was mach ich falsch?
Ich hänge drei Screenshots an.
Bild 1 & 2 zeigen wie es momentan aussieht.
Bild 3 zeigt wie ich es eigentlich haben möchte.
Danke für eure Hilfe.
Nabend alle zusammen,
Ich bin Anfänger in Sachen Siri-Shortcuts und hoffe auf euere Fähigkeiten und Ideen.
Ich möchte ein Bestellformular auf einer Webseite durch einen Kurzbefehl eine konkrete Nummer ausfüllen lassen und dann auf den "bestell button" drücken lassen. Plan ist bei einem Händler Lebensmitte in den Warenkorb zu legen durch den Kurzbefehl z.b. mit NFC Tag. Im weiteren würde ich gerne abrufen wie hoch mein bestellwert ist und wenn dieser eine bestimmte Summe übersteigt das mir dann der Kurzbefehl bescheid gibt und ich gegebenenfalls direkt auf bestellen drücken kann. Allerdings wäre der erste schritt schon genial und der "rest" die Kirsche auf der sahne
Ich hab vorgestern schon mal im Quellcode der Webseite gestöbert und auch einzelne werte wie zum Beispiel den bestellwert gefunden bin allerdings mehr als überfordert wie ich das in einen Kurzbefehl programmiere. Als ich auf gab sah es so aus als wenn ein java Skript in form eines Kurzbefehles vielleicht klappen könnte und da war es dann vorbei für mich und ich dachte ich frage mal was ihr so denkt zu der Thematik.
Habt ihr ähnliches schon mal realisiert oder Ideen wie man sodass angehen kann??
Freue mich über alle Ideen die mich voran bringen! Vielen Dank
Danke Leute! Guter Input!
Hi liebe community,
Ich interessiere mich für eine 4k Lösung die mit Homebridge läuft, wahrscheinlich mit mehreren Pi‘s.
Hat jemand von euch eventuell schon was in Betrieb? Mir schweben 4 Kameras vor für mein Projekt. Das einzige was ich finden konnte war die arlo Ultra 4k die wohl nativ mit Apple Arbeiter.
Kostenpunkt für 4 Kameras um 1.200€.
Wenn es mit Pi‘s und Homebridge umzusetzen ist sollte man da ja deutlich günstiger wegkommen?!?
Freu mich auf eure Ideen
Moin Moin,
Ich nutze schon einige Kontaktsensoren über die Sonoff rf Bridge in Verbindung mit dem Homebridge Mqttthing plugin.
Nun Habe ich einen RF Wandschalter geliefert bekommen der EINEN RF Code sendet nicht zwei wie bei den Kontaktsensoren.
Diesen würde ich nun gerne verwenden um damit das Licht sowohl ein als auch aus zuschalten.
Das gelingt mir aber leider nicht... Ich bekomme ihn bis jetzt nur als Bewegungssensor zum laufen aber das ist nicht so befriedigend für den geplanten Einsatz.
Vor allem habe ich so das Gefühl das die Lösung höchst einfach sein müsste ich einfach nur nicht das knowhow dazu habe
Also die eigentliche frage ist wie ich einen Schalter erstelle der mit dem einen RF Code einschalten und dann ausschalten kann...
hier mal die config von den Kontaktsensoren :
{
"accessory": "mqttthing",
"type": "contactSensor",
"name": "Einganstür",
"url": "xxx",
"username": "xxxx",
"password": "xxxx",
"caption": "",
"topics": {
"getContactSensorState": {
"topic": "tele/sonoff_rf/RESULT",
"apply": "return( ( JSON.parse(message).RfReceived.Data == 'xxx' ) ? 1 : null ( JSON.parse(message).RfReceived.Data == 'xxx' ) ? 0 : null);"
},
"getStatusTampered": {
"topic": "tele/sonoff_rf/RESULT",
"apply": "return( ( JSON.parse(message).RfReceived.Data == 'tempered_code' ) ? 1 : null );"
},
"getStatusLowBattery": {
"topic": "tele/sonoff_rf/RESULT",
"apply": "return( ( JSON.parse(message).RfReceived.Data == 'battery_low_code' ) ? 1 : null );"
}
},
"integerValue": true,
"logMqtt": false
},
Hoffe jemand kann mir helfen. Danke
Moin Moin liebe Community,
Ich bastel hier gerade mit meinen Rollladen rum und bin am verzweifeln.
Ich hoffe auf eure Erfahrung und Hilfsbereitschaft mir bei meinem problem unter die arme zu greifen.
Ich benutze Fibaro Roller Shutter 3 die mit einem Z-Wave ZMEERAZ2 Modul über einen Pi 3b+ mit Homebridge Zway Plugin in HomeKit eingepflegt sind.
Soweit so gut. Sie lassen sich wunderbar an den Wandschaltern steuern. In der Home App lassen sie sich "nur" hoch und runter fahren allerdings nicht auf z.b. 32% fahren.
Wenn ich sie nun in HomeKit hoch gefahrenen habe und sie dann am Wandschalter runterfahre ändert sich der status in der Home App nicht was zur folge hat das Automationen nicht Funktionieren oder auch einfache Kommandos für Siri nicht.
Ich hab schon gegoogelt und auch hier im Forum gesucht und nichts gefunden was mir weiter geholfen hat.
Vielen Dank
Ich ergänze vielleicht noch das ich auch eine andere Lösung anstreben würden wenn mich jemand bei der Ideenfindung unterstützt
Hallo ihr Lieben,
Ich habe in den letzten Wochen ein paar Eve Thermo installiert. Einer der Heizkörper wird in einem anderen Raum geregelt als welchen er eigentlich heizt, was bedeute das der Temperatursensor vom Eve nicht die Temperatur mist von dem räum den er heizt.
Nun habe ich einen Aqara sensor in dem Raum der die tatsächliche Temperatur mist.
Nun die eigentliche frage: Wie kann ich nun mit der vom Aqara sensor gemäßenen Temperatur den Eve Thermo füttern damit der nach den werten des Aqara Sensors heizt ?
Hat da jemand von euch Erfahrungen, Ideen oder ähnliches?
So habe eben 4 Aqara Temperature Sensoren in unter 5 Minuten.
Also definitiv mag das plugin keine vibrations Sensoren von Aqara!?
Gibs da eine Lösung mit dem Zigbee plugin oder müsste ich ein anderes Plugin verwenden und wenn ja welches empfehlt ihr??
Dank an alle
ohhh wow, so einfach habe ich nicht gedacht.
Habe ihn gefunden! Danke euch für die Hilfe!
Ich habe nun zwar noch kein Glück gehabt meinen Aqara Vibrationssensor zu pairen aber ich warte mal auf die anderen Sensoren die bald kommen sollen... Vielleicht finde ich dann den gründ dafür.
Oder gibt es da noch was zu beachten oder einen trick z-smoker?
Dank für eure Hilfe!
Danke euch beiden!
Die Installation war recht erfolgreich nach dem ich auf Node 10.20.1 gewechselt habe.
pi@raspberrypi:~ $ sudo npm install -g --unsafe-perm homebridge-zigbee
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but npm-shrinkwrap.json was generated for lockfileVersion@0. I'll try to do my best with it!
> [email protected] install /usr/local/lib/node_modules/homebridge-zigbee/node_modules/serialport
> prebuild-install || node-gyp rebuild
prebuild-install WARN install No prebuilt binaries found (target=10.20.1 runtime=node arch=arm platform=linux)
make: Verzeichnis „/usr/local/lib/node_modules/homebridge-zigbee/node_modules/serialport/build“ wird betreten
CXX(target) Release/obj.target/serialport/src/serialport.o
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:41:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
v8::String::Utf8Value path(info[0]->ToString());
^
In file included from /root/.cache/node-gyp/10.20.1/include/node/v8.h:26:0,
from /root/.cache/node-gyp/10.20.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:6,
from ../src/serialport.cpp:1:
/root/.cache/node-gyp/10.20.1/include/node/v8.h:2892:28: note: declared here
explicit Utf8Value(Local<v8::Value> obj));
^
/root/.cache/node-gyp/10.20.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:48:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> options = info[1]->ToObject();
^
In file included from /root/.cache/node-gyp/10.20.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:6,
from ../src/serialport.cpp:1:
/root/.cache/node-gyp/10.20.1/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(2, argv);
^
In file included from ../src/./serialport.h:6:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:113:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> options = info[1]->ToObject();
^
In file included from /root/.cache/node-gyp/10.20.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:6,
from ../src/serialport.cpp:1:
/root/.cache/node-gyp/10.20.1/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:
../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from ../src/./serialport.h:6:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from ../src/./serialport.h:6:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from ../src/./serialport.h:6:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:250:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> options = info[1]->ToObject();
^
In file included from /root/.cache/node-gyp/10.20.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:6,
from ../src/serialport.cpp:1:
/root/.cache/node-gyp/10.20.1/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from ../src/./serialport.h:6:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(2, argv);
^
In file included from ../src/./serialport.h:6:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(2, argv);
^
In file included from ../src/./serialport.h:6:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from ../src/./serialport.h:6:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
CXX(target) Release/obj.target/serialport/src/serialport_unix.o
CXX(target) Release/obj.target/serialport/src/poller.o
../src/poller.cpp: In static member function ‘static void Poller::onData(uv_poll_t*, int, int)’:
../src/poller.cpp:69:29: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
obj->callback.Call(2, argv);
^
In file included from ../src/poller.cpp:1:0:
../../nan/nan.h:1740:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
CXX(target) Release/obj.target/serialport/src/serialport_linux.o
SOLINK_MODULE(target) Release/obj.target/serialport.node
COPY Release/serialport.node
make: Verzeichnis „/usr/local/lib/node_modules/homebridge-zigbee/node_modules/serialport/build“ wird verlassen
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"~0.10.0"} (current: {"node":"10.20.1","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"~0.10.0"} (current: {"node":"10.20.1","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
+ [email protected]
added 241 packages from 104 contributors in 63.063s
Alles anzeigen
Homebridge startet auch ganz normal und man sieht auch das Zigbee plugin
[2020-4-14 3:04:12 PM] [ZigBee] ZigBee platform initialized, info:
[2020-4-14 3:04:12 PM] [ZigBee] ------------------------------------
[2020-4-14 3:04:12 PM] [ZigBee] channel: 11
[2020-4-14 3:04:12 PM] [ZigBee] pan id: 0xeb23
[2020-4-14 3:04:12 PM] [ZigBee] extended pan id: 0xdddddddddddddddd
[2020-4-14 3:04:12 PM] [ZigBee] ieee address: 0x00124b0018e26e88
[2020-4-14 3:04:12 PM] [ZigBee] nwk address: 0
[2020-4-14 3:04:12 PM] [ZigBee] firmware version: 2.6.3
[2020-4-14 3:04:12 PM] [ZigBee] firmware revision: 20190608
[2020-4-14 3:04:12 PM] [ZigBee] ------------------------------------
Es taucht auch in der Homebridge UI auf auch die einstellungen für das plugin aber ich finde den Permit Join button nicht.
Wo wäre der?
Muss man den noch irgendwie aktivieren?
Danke für diene Hilfe und mühen
Danke das du das bei dir ausprobiert hast!
Ich hab das auch noch mal versucht mit folgenden Meldungen und Fehlern.
pi@raspberrypi:~ $ sudo npm install -g --unsafe-perm homebridge-zigbee
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but npm-shrinkwrap.json was generated for lockfileVersion@0. I'll try to do my best with it!
> [email protected] install /usr/local/lib/node_modules/homebridge-zigbee/node_modules/serialport
> prebuild-install || node-gyp rebuild
prebuild-install WARN install No prebuilt binaries found (target=12.16.1 runtime=node arch=arm platform=linux)
make: Verzeichnis „/usr/local/lib/node_modules/homebridge-zigbee/node_modules/serialport/build“ wird betreten
CXX(target) Release/obj.target/serialport/src/serialport.o
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:41:48: error: no matching function for call to ‘v8::Value::ToString()’
v8::String::Utf8Value path(info[0]->ToString());
^
In file included from /root/.cache/node-gyp/12.16.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:6,
from ../src/serialport.cpp:1:
/root/.cache/node-gyp/12.16.1/include/node/v8.h:2668:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/root/.cache/node-gyp/12.16.1/include/node/v8.h:2668:44: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.16.1/include/node/v8.h:27,
from /root/.cache/node-gyp/12.16.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:6,
from ../src/serialport.cpp:1:
/root/.cache/node-gyp/12.16.1/include/node/v8.h:2684:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.16.1/include/node/v8.h:2684:31: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:48:53: error: no matching function for call to ‘v8::Value::ToObject()’
v8::Local<v8::Object> options = info[1]->ToObject();
^
In file included from /root/.cache/node-gyp/12.16.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:6,
from ../src/serialport.cpp:1:
/root/.cache/node-gyp/12.16.1/include/node/v8.h:2672:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.16.1/include/node/v8.h:2672:44: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.16.1/include/node/v8.h:27,
from /root/.cache/node-gyp/12.16.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:6,
from ../src/serialport.cpp:1:
/root/.cache/node-gyp/12.16.1/include/node/v8.h:2686:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.16.1/include/node/v8.h:2686:31: note: candidate expects 1 argument, 0 provided
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated -Wdeprecated-declarations]
data->callback.Call(2, argv);
^
In file included from ../src/./serialport.h:6:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:113:53: error: no matching function for call to ‘v8::Value::ToObject()’
v8::Local<v8::Object> options = info[1]->ToObject();
^
In file included from /root/.cache/node-gyp/12.16.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:6,
from ../src/serialport.cpp:1:
/root/.cache/node-gyp/12.16.1/include/node/v8.h:2672:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.16.1/include/node/v8.h:2672:44: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.16.1/include/node/v8.h:27,
from /root/.cache/node-gyp/12.16.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:6,
from ../src/serialport.cpp:1:
/root/.cache/node-gyp/12.16.1/include/node/v8.h:2686:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.16.1/include/node/v8.h:2686:31: note: candidate expects 1 argument, 0 provided
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:
../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from ../src/./serialport.h:6:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from ../src/./serialport.h:6:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from ../src/./serialport.h:6:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:250:53: error: no matching function for call to ‘v8::Value::ToObject()’
v8::Local<v8::Object> options = info[1]->ToObject();
^
In file included from /root/.cache/node-gyp/12.16.1/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:6,
from ../src/serialport.cpp:1:
/root/.cache/node-gyp/12.16.1/include/node/v8.h:2672:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/root/.cache/node-gyp/12.16.1/include/node/v8.h:2672:44: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.16.1/include/node/v8.h:27,
from /root/.cache/node-gyp/12.16.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:6,
from ../src/serialport.cpp:1:
/root/.cache/node-gyp/12.16.1/include/node/v8.h:2686:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/root/.cache/node-gyp/12.16.1/include/node/v8.h:2686:31: note: candidate expects 1 argument, 0 provided
Local<Object> ToObject(Isolate* isolate) const);
^
/root/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from ../src/./serialport.h:6:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
../src/serialport.cpp:329:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));
^
In file included from /root/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.16.1/include/node/v8.h:27,
from /root/.cache/node-gyp/12.16.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:6,
from ../src/serialport.cpp:1:
/root/.cache/node-gyp/12.16.1/include/node/v8.h:3499:22: note: declared here
bool Set(Local<Value> key, Local<Value> value));
^
/root/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:330:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));
^
In file included from /root/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.16.1/include/node/v8.h:27,
from /root/.cache/node-gyp/12.16.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:6,
from ../src/serialport.cpp:1:
/root/.cache/node-gyp/12.16.1/include/node/v8.h:3499:22: note: declared here
bool Set(Local<Value> key, Local<Value> value));
^
/root/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:331:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));
^
In file included from /root/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.16.1/include/node/v8.h:27,
from /root/.cache/node-gyp/12.16.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:6,
from ../src/serialport.cpp:1:
/root/.cache/node-gyp/12.16.1/include/node/v8.h:3499:22: note: declared here
bool Set(Local<Value> key, Local<Value> value));
^
/root/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(2, argv);
^
In file included from ../src/./serialport.h:6:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
../src/serialport.cpp:378:106: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));
^
In file included from /root/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.16.1/include/node/v8.h:27,
from /root/.cache/node-gyp/12.16.1/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:6,
from ../src/serialport.cpp:1:
/root/.cache/node-gyp/12.16.1/include/node/v8.h:3499:22: note: declared here
bool Set(Local<Value> key, Local<Value> value));
^
/root/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(2, argv);
^
In file included from ../src/./serialport.h:6:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from ../src/./serialport.h:6:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
../src/serialport.cpp: At global scope:
../src/serialport.cpp:460:17: error: variable or field ‘init’ declared void
void init(v8::Handle<v8::Object> target) {
^~~~~~
../src/serialport.cpp:460:13: error: ‘Handle’ is not a member of ‘v8’
void init(v8::Handle<v8::Object> target) {
^~
../src/serialport.cpp:460:34: error: expected primary-expression before ‘>’ token
void init(v8::Handle<v8::Object> target) {
^
../src/serialport.cpp:460:36: error: ‘target’ was not declared in this scope
void init(v8::Handle<v8::Object> target) {
^~~~~~
In file included from ../../nan/nan.h:54:0,
from ../src/./serialport.h:6,
from ../src/serialport.cpp:1:
../src/serialport.cpp:485:25: error: ‘init’ was not declared in this scope
NODE_MODULE(serialport, init);
^
/root/.cache/node-gyp/12.16.1/include/node/node.h:601:36: note: in definition of macro ‘NODE_MODULE_X’
(node::addon_register_func) (regfunc), \
^~~~~~~
../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(serialport, init);
^~~~~~~~~~~
serialport.target.mk:112: die Regel für Ziel „Release/obj.target/serialport/src/serialport.o“ scheiterte
make: *** [Release/obj.target/serialport/src/serialport.o] Fehler 1
make: Verzeichnis „/usr/local/lib/node_modules/homebridge-zigbee/node_modules/serialport/build“ wird verlassen
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:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:311:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.19.66-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-zigbee/node_modules/serialport
gyp ERR! node -v v12.16.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"~0.10.0"} (current: {"node":"12.16.1","npm":"6.14.3"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"~0.10.0"} (current: {"node":"12.16.1","npm":"6.14.3"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `prebuild-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! /root/.npm/_logs/2020-04-14T06_03_02_846Z-debug.log
pi@raspberrypi:~ $
Alles anzeigen
Und dann habe ich deine config übernommen für meine config.json und Homebridge gestartet ohne erfolg bis jetzt mit folgenden Meldungen:
pi@raspberrypi:~ $ homebridge
[2020-4-14 8:07:41] Loaded config.json with 25 accessories and 4 platforms.
[2020-4-14 8:07:41] ---
[2020-4-14 8:07:42] Loaded plugin: homebridge-harmonyhub
[2020-4-14 8:07:42] Registering platform 'homebridge-harmonyhub.HarmonyHub'
[2020-4-14 8:07:42] ---
[2020-4-14 8:07:43] Loaded plugin: homebridge-mqtt-switch-tasmota
[2020-4-14 8:07:43] Registering accessory 'homebridge-mqtt-switch-tasmota.mqtt-switch-tasmota'
[2020-4-14 8:07:43] ---
[2020-4-14 8:07:43] Loaded plugin: homebridge-config-ui-x
[2020-4-14 8:07:43] Registering platform 'homebridge-config-ui-x.config'
[2020-4-14 8:07:43] ---
[2020-4-14 8:07:45] Loaded plugin: homebridge-mqttthing
[2020-4-14 8:07:45] Registering accessory 'homebridge-mqttthing.mqttthing'
[2020-4-14 8:07:45] ---
[2020-4-14 8:07:45] Loaded plugin: homebridge-zway
[2020-4-14 8:07:45] Registering accessory 'homebridge-zway.ZWayServer'
[2020-4-14 8:07:45] Registering platform 'homebridge-zway.ZWayServer'
[2020-4-14 8:07:45] ---
[2020-4-14 8:07:45] Loading 4 platforms...
[2020-4-14 8:07:45] [Harmony Hub] Initializing HarmonyHub platform...
[2020-4-14 8:07:45] [Harmony Hub] Searching for Logitech Harmony remote hubs...
[2020-4-14 8:07:45] [Config] Initializing config platform...
[2020-4-14 8:07:45] [Config] Spawning homebridge-config-ui-x with PID 1852
[2020-4-14 8:07:45] [ZWayServer] Initializing ZWayServer platform...
[2020-4-14 8:07:45] Error: The requested platform 'ZigBeePlatform' was not registered by any plugin.
at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:134:13)
at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:327:45)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:90:36)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:59:10)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (internal/modules/cjs/loader.js:1158:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
at Module.load (internal/modules/cjs/loader.js:1002:32)
at Function.Module._load (internal/modules/cjs/loader.js:901:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
[2020-4-14 8:07:45] Got SIGTERM, shutting down Homebridge...
[2020-4-14 8:07:46] [ZWayServer] Initializing platform accessory 'Fibaro Blind (3.0)'...
[2020-4-14 8:07:46] [ZWayServer] Initializing platform accessory 'Fibaro Blind 2'...
[2020-4-14 8:07:46] [ZWayServer] Initializing platform accessory 'Fibaro3'...
[2020-4-14 8:07:46] [ZWayServer] Initializing platform accessory 'Fibaro 4'...
[2020-4-14 8:07:46] [ZWayServer] Initializing platform accessory 'Fibaro Blind (10.0)'...
[2020-4-14 8:07:47] [Harmony Hub] Found Logitech Harmony remote hub: 192.168.178.46
[2020-4-14 8:07:47] [Harmony Hub] Connecting to Logitech Harmony remote hub...
[2020-4-14 8:07:47] [Harmony Hub] Connected to Logitech Harmony remote hub
[2020-4-14 8:07:47] [Harmony Hub] Fetching Logitech Harmony devices and activites...
[2020-4-14 8:07:47] [Harmony Hub] Fetching Logitech Harmony activities...
[2020-4-14 8:07:48] [Harmony Hub] Found activities:
Alle
Staubsaugen
PowerOff
Tannenbaum
Lichterketten
[2020-4-14 8:07:48] [Harmony Hub] Initializing platform accessory 'Alle'...
[2020-4-14 8:07:48] [Harmony Hub] Initializing platform accessory 'Lichterketten'...
[2020-4-14 8:07:48] [Harmony Hub] Initializing platform accessory 'Staubsaugen'...
[2020-4-14 8:07:48] [Harmony Hub] Initializing platform accessory 'Tannenbaum'...
pi@raspberrypi:~ $ [2020-4-14 8:07:51] [Config] Homebridge Config UI X v4.13.0 is listening on :: port 8080
Alles anzeigen
Kannst du erkennen wo das problem liegt, was ich anders machen muss????