det Ich habe jetzt mal Schlüsselbund auf allen Geräten aktiviert. Vielleicht läuft es ja dadurch etwas besser.?
Beiträge von xMAIKx
-
-
Und dann diese Meldung beim Plugin.
Code
Alles anzeigensudo npm install -g homebridge-amazondash > [email protected] install /usr/local/lib/node_modules/homebridge-amazondash/node_modules/socketwatcher > node-gyp rebuild gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/7.10.0" gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/homebridge-amazondash/node_modules/socketwatcher/.node-gyp" make: Entering directory '/usr/local/lib/node_modules/homebridge-amazondash/node_modules/socketwatcher/build' CXX(target) Release/obj.target/socketwatcher/socket_watcher.o ../socket_watcher.cpp: In static member function 'static void SocketWatcher::New(const Nan::FunctionCallbackInfo<v8::Value>&)': ../socket_watcher.cpp:104:49: warning: 'v8::Local<v8::Object> v8::Function::NewInstance() const' is deprecated (declared at /usr/local/lib/node_modules/homebridge-amazondash/node_modules/socketwatcher/.node-gyp/7.10.0/include/node/v8.h:3662): Use maybe version [-Wdeprecated-declarations] info.GetReturnValue().Set(cons->NewInstance()); ^ SOLINK_MODULE(target) Release/obj.target/socketwatcher.node COPY Release/socketwatcher.node make: Leaving directory '/usr/local/lib/node_modules/homebridge-amazondash/node_modules/socketwatcher/build' > [email protected] install /usr/local/lib/node_modules/homebridge-amazondash/node_modules/pcap > node-gyp rebuild gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/7.10.0" gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/homebridge-amazondash/node_modules/pcap/.node-gyp" make: Entering directory '/usr/local/lib/node_modules/homebridge-amazondash/node_modules/pcap/build' CXX(target) Release/obj.target/pcap_binding/pcap_binding.o CXX(target) Release/obj.target/pcap_binding/pcap_session.o ../pcap_session.cc: In static member function 'static void PcapSession::New(const Nan::FunctionCallbackInfo<v8::Value>&)': ../pcap_session.cc:46:49: warning: 'v8::Local<v8::Object> v8::Function::NewInstance() const' is deprecated (declared at /usr/local/lib/node_modules/homebridge-amazondash/node_modules/pcap/.node-gyp/7.10.0/include/node/v8.h:3662): Use maybe version [-Wdeprecated-declarations] info.GetReturnValue().Set(cons->NewInstance()); ^ SOLINK_MODULE(target) Release/obj.target/pcap_binding.node COPY Release/pcap_binding.node make: Leaving directory '/usr/local/lib/node_modules/homebridge-amazondash/node_modules/pcap/build' /usr/local/lib ??? [email protected] ??? [email protected] ??? [email protected] (git+https://github.com/mranney/node_pcap.git#d920204745c8b00ef4b7a3fe27d902b263cdb70f) ? ??? [email protected] ? ??? [email protected] ? ??? [email protected] deduped ??? [email protected] -
Wenn ich die Meldung dann ingnoriere und hiermit ,sudo node node_modules/node-dash-button/bin/findbutton, weiter mache finde ich auch kein Amazon Dash .
-
Hey Leute,wollte heute Amazon Dash auf den Rasp machen aber ich bekomme diese Fehlermeldung. Habe meine Homebridge bereits als Root laufen und nicht als Dienst.Kann mir evtl jemand helfen?
Code
Alles anzeigensudo npm install node-dash-button > [email protected] install /home/pi/node_modules/socketwatcher > node-gyp rebuild gyp WARN EACCES user "root" does not have permission to access the dev dir "/roo t/.node-gyp/7.10.0" gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/node_m odules/socketwatcher/.node-gyp" make: Entering directory '/home/pi/node_modules/socketwatcher/build' CXX(target) Release/obj.target/socketwatcher/socket_watcher.o ../socket_watcher.cpp: In static member function 'static void SocketWatcher::New (const Nan::FunctionCallbackInfo<v8::Value>&)': ../socket_watcher.cpp:104:49: warning: 'v8::Local<v8::Object> v8::Function::NewI nstance() const' is deprecated (declared at /home/pi/node_modules/socketwatcher/ .node-gyp/7.10.0/include/node/v8.h:3662): Use maybe version [-Wdeprecated-declar ations] info.GetReturnValue().Set(cons->NewInstance()); ^ SOLINK_MODULE(target) Release/obj.target/socketwatcher.node COPY Release/socketwatcher.node make: Leaving directory '/home/pi/node_modules/socketwatcher/build' > [email protected] install /home/pi/node_modules/pcap > node-gyp rebuild gyp WARN EACCES user "root" does not have permission to access the dev dir "/roo t/.node-gyp/7.10.0" gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/node_m odules/pcap/.node-gyp" make: Entering directory '/home/pi/node_modules/pcap/build' CXX(target) Release/obj.target/pcap_binding/pcap_binding.o CXX(target) Release/obj.target/pcap_binding/pcap_session.o ../pcap_session.cc: In static member function 'static void PcapSession::New(cons t Nan::FunctionCallbackInfo<v8::Value>&)': ../pcap_session.cc:46:49: warning: 'v8::Local<v8::Object> v8::Function::NewInsta nce() const' is deprecated (declared at /home/pi/node_modules/pcap/.node-gyp/7.1 0.0/include/node/v8.h:3662): Use maybe version [-Wdeprecated-declarations] info.GetReturnValue().Set(cons->NewInstance()); ^ SOLINK_MODULE(target) Release/obj.target/pcap_binding.node COPY Release/pcap_binding.node make: Leaving directory '/home/pi/node_modules/pcap/build' /home/pi ??? [email protected] ??? [email protected] (git+https://github.com/mranney/node_pcap.git#d920204745c8b00e f4b7a3fe27d902b263cdb70f) ? ??? [email protected] ? ??? [email protected] ? ??? [email protected] deduped ??? [email protected] npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN pi No description npm WARN pi No repository field. npm WARN pi No README data npm WARN pi No license field. -
det Habe ein ATV 4 und dort gibt es den Punkt Schlüsselbund gar nicht. Und zusätzlich habe ich ein IPad als Steuerungszentrale, da ist Schlüsselbund aber deaktiviert und es funktioniert trotzdem.
-
Und jetzt nochmal eine Anfängerfrage. Wie merke ich denn überhaupt ob ich die Datein richtig gelöscht habe und wie bekomme ich die Datei wieder zurückkopiert?
-
Schlüsselbund muss nicht aktiviert werden. Habe ich auf mein IPhone auch nicht aktiv.
-
Moin dan7788 , wenn du es aus der Ferne steuern möchtest dann benötigst du halt ein IPad oder ATV. Müsste eigentlich auch mit dem 3 er funktionieren. Es muss im Menü halt Home bzw Steuerungszentrale aktiviert werden für den Fernzugriff.
-
Wird damit die Datei von /root/.homebridge/ nach /home/pi/.homebridge kopiert?
-
Würde ich gerne machen. Ich habe nur leider keine Idee wie ich das anstellen kann.
-
Vielen lieben Dank für deine Hilfe. Ich werde es die Tage mal probieren. Es wäre echt interessant ob bei deinstallieren von Homebridge und bei wieder installieren die Datei auch gelöscht wird. Denn das habe ich die Tage schon gemacht. Dann habe ich die Bridge aus HomeKit entfernt und wieder neu eingebunden. Dann war schon mal die doppelten Schalter von Harmony weg aber alles war in HomeKit wieder auf Anfang. Die Netatmo Welcome hat er mir dann aber trotzdem angezeigt bzw neu eingebunden. Nur es ist echt mühselig die Geräte wieder einzuordnen. Und ich habe echt keine Ahnung ob dann die Welcome wieder raus ist. Finde es grundsätzlich merkwürdig das ich auf einmal Geräte doppelt habe bzw nicht mehr raus bekomme. Wie kann ich kontrollieren ob die Datei eigentlich gelöscht wurde oder wird mir da etwas angezeigt?
-
Hä??? Hattest du den Befehl nochmal abgeändert?
-
-
Sei mir bitte nicht böse, aber ich dachte das die Bridge als Dienst läuft. Wir haben das ganze ja zusammen umgestellt und mir war nicht bewusst das sie nur als Root User läuft. Dachte immer Root wäre = Dienst. In der Befehlssammlung steht nur wie man den Accesories löscht und nicht nur die cachedAccessories.
-
Ich Danke dir sehr für deine Hilfe. Sorry das ich noch nicht so ein Plan von der Materie habe. Ist es das selbe die Ordner zu löschen als wenn ich Homebridge deinstalliere und wieder installiere? Denn das habe ich vor Tagen schon gemacht. Wie wäre jetzt der Befehl zum löschen des cachedAccessories Ordners?
-
und nach den ls befehlen???
-
Code
Alles anzeigensudo ls -al /root/.homebridge/accessories/ total 12 drwxr-xr-x 2 root root 4096 May 20 18:59 . drwxrwxrwx 4 root root 4096 May 20 19:21 .. -rw-r--r-- 1 root root 2 May 21 17:23 cachedAccessories pi@raspberrypi:~ $ sudo ls -al /root/.homebridge/persist/ total 56 drwxr-xr-x 2 root root 4096 May 20 18:58 . drwxrwxrwx 4 root root 4096 May 20 19:21 .. -rw-r--r-- 1 root root 709 May 21 16:03 AccessoryInfo.CC223DE3CE30.json -rw-r--r-- 1 root root 44981 May 21 17:01 IdentifierCache.CC223DE3CE30.json -
ich versuche es gerne nochmal. Gestern ist da nichts passiert.
-
Code
sudo ls -al /root/.homebridge/ total 96 drwxrwxrwx 4 root root 4096 May 20 19:21 . drwx------ 8 root root 4096 May 21 15:48 .. drwxr-xr-x 2 root root 4096 May 20 18:59 accessories -rwxrwxrwx 1 root root 3643 May 20 13:51 config.json -rwxrwxrwx 1 root root 3665 May 13 15:38 config.json.save drwxr-xr-x 2 root root 4096 May 20 18:58 persist -rw-r--r-- 1 root root 72830 May 20 19:21 Philips hue.json -
Bash
Alles anzeigen#!/bin/sh ### BEGIN INIT INFO # Provides: homebridge # Required-Start: $network $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start daemon at boot time for homebridge # Description: Enable service provided by daemon. ### END INIT INFO export PATH=$PATH:/usr/local/bin export NODE_PATH=$NODE_PATH:/usr/local/lib/node_modules PID=`pidof homebridge` case "$1" in start) if ps -p $PID > /dev/null 2>&1; then echo "Homebridge is already running" else su - root -c "homebridge > /dev/null 2>&1 &" echo "Homebridge starting" sleep 5 $0 status fi ;; stop) if ! ps -p $PID > /dev/null 2>&1; then echo "Homebridge is not running" else kill $PID echo "Homebridge closed" fi ;; restart) if ! ps -p $PID > /dev/null 2>&1; then $0 start else $0 stop $0 start fi ;; status) if ps -p $PID > /dev/null 2>&1; then echo "Homebridge is running PID $PID" else echo "Homebridge is not running" fi ;; *) echo "Usage: $0 {start|stop|status|restart}" exit 1 ;; esac exit 0