Beiträge von xMAIKx

    Ich habe eine neue Karte verwendet und bereits 3 mal Formatiert und dann das System aufgespielt. Ich habe immer Sudo eingegeben. Wenn ich jetzt die Config ändere für das erte Plugin bdann bekomme ich die Meldung: Was mache ich denn ständig falsch? Habe alles genau nach Anleitung gemacht sogar 3mal. Kann ich denn nicht die alte Config übernehmen?? Habe ich jetzt nicht gemacht aber wäre das nicht möglich?? Ich drehe echt bald durch,wollte doch nur die App raus haben um zu schauen ob es dann stabiler läuft.


    [2/11/2017, 2:26:23 PM] Loaded plugin: homebridge-wol


    [2/11/2017, 2:26:23 PM] Registering accessory 'homebridge-wol.Computer'


    [2/11/2017, 2:26:23 PM] ---


    [2/11/2017, 2:26:23 PM] Loaded config.json with 1 accessories and 0 platforms.


    [2/11/2017, 2:26:23 PM] ---


    [2/11/2017, 2:26:23 PM] Loading 0 platforms...


    [2/11/2017, 2:26:23 PM] Loading 1 accessories...


    [2/11/2017, 2:26:23 PM] [Wx10] Initializing Computer accessory...


    /usr/lib/node_modules/homebridge-wol/node_modules/raw-socket/index.js:47


    this.wrap = new raw.SocketWrap (


    ^



    Error: Operation not permitted


    at Error (native)


    at new Socket (/usr/lib/node_modules/homebridge-wol/node_modules/raw-socket/index.js:47:14)


    at Object.exports.createSocket (/usr/lib/node_modules/homebridge-wol/node_modules/raw-socket/index.js:202:9)


    at Session.getSocket (/usr/lib/node_modules/homebridge-wol/node_modules/net-ping/index.js:147:20)


    at new Session (/usr/lib/node_modules/homebridge-wol/node_modules/net-ping/index.js:101:7)


    at Object.exports.createSession (/usr/lib/node_modules/homebridge-wol/node_modules/net-ping/index.js:545:9)


    at new Pinger (/usr/lib/node_modules/homebridge-wol/index.js:102:24)


    at new Computer (/usr/lib/node_modules/homebridge-wol/index.js:23:16)


    at Server._loadAccessories (/usr/lib/node_modules/homebridge/lib/server.js:265:29)


    at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:81:38)

    und wenn ich ein Plugin instaliere dann kommt das hier:


    gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.7.3"


    gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/homebridge-wol/node_modules/raw-socket/.node-gyp"


    make: Entering directory '/usr/lib/node_modules/homebridge-wol/node_modules/raw-socket/build'


    CXX(target) Release/obj.target/raw/src/raw.o


    SOLINK_MODULE(target) Release/obj.target/raw.node


    COPY Release/raw.node


    make: Leaving directory '/usr/lib/node_modules/homebridge-wol/node_modules/raw-socket/build'


    /usr/lib


    ??? [email protected]


    ??? [email protected]


    ? ??? [email protected]


    ? ??? [email protected]


    ??? [email protected]

    Hey Andi, ich habe jetzt ja das 3 mal aufgesetzt, da ich die App raus haben möchte. Nur meine Homeapp findet die Homebridge nicht.Habe jetzt nur die Config drin von der Seite. Ich starte die Homebridge mit dem Befehl Homebridge.

    Danke Andi, ist mir dann auch aufgefallen.Habe jetzt das 3 mal neu aufgesetzt,aber wenn ich die Homebride starte bekomme ich diese Fehlermeldung und finde die Homebridge auch nicht in der App:


    Error: listen EADDRINUSE :::51826


    at Object.exports._errnoException (util.js:907:11)


    at exports._exceptionWithHostPort (util.js:930:20)


    at Server._listen2 (net.js:1250:14)


    at listen (net.js:1286:10)


    at Server.listen (net.js:1382:5)


    at EventedHTTPServer.listen (/usr/lib/node_modules/homebridge/node_modules/h ap-nodejs/lib/util/eventedhttp.js:60:19)


    at HAPServer.listen (/usr/lib/node_modules/homebridge/node_modules/hap-nodej s/lib/HAPServer.js:158:20)


    at Bridge.Accessory.publish (/usr/lib/node_modules/homebridge/node_modules/h ap-nodejs/lib/Accessory.js:496:16)


    at Server._publish (/usr/lib/node_modules/homebridge/lib/server.js:114:16)


    at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:91:10)

    Und diese wenn ich jetzt Homebridge ausführe.


    Error: Operation not permitted


    at Error (native)


    at new Socket (/usr/local/lib/node_modules/homebridge-wol/node_modules/net-ping/node_modules/raw-socket/index.js:47:14)


    at Object.exports.createSocket (/usr/local/lib/node_modules/homebridge-wol/node_modules/net-ping/node_modules/raw-socket/index.js:202:9)


    at Session.getSocket (/usr/local/lib/node_modules/homebridge-wol/node_modules/net-ping/index.js:147:20)


    at new Session (/usr/local/lib/node_modules/homebridge-wol/node_modules/net-ping/index.js:101:7)


    at Object.exports.createSession (/usr/local/lib/node_modules/homebridge-wol/node_modules/net-ping/index.js:545:9)


    at new Pinger (/usr/local/lib/node_modules/homebridge-wol/index.js:102:24)


    at new Computer (/usr/local/lib/node_modules/homebridge-wol/index.js:23:16)


    at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:265:29)


    at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:81:38)

    Ich bekomm die Meldung wenn ich WOL instal.



    gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.6.0"


    gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/homebridge-wol/node_modules/net-ping/node_modules/raw-socket/.node-gyp"


    make: Entering directory '/usr/local/lib/node_modules/homebridge-wol/node_modules/net-ping/node_modules/raw-socket/build'


    CXX(target) Release/obj.target/raw/src/raw.o


    SOLINK_MODULE(target) Release/obj.target/raw.node


    COPY Release/raw.node


    make: Leaving directory '/usr/local/lib/node_modules/homebridge-wol/node_modules/net-ping/node_modules/raw-socket/build'


    [email protected] /usr/local/lib/node_modules/homebridge-wol


    ??? [email protected]


    ??? [email protected] ([email protected])


    pi@raspberrypi:~ $

    ich habe alles nach Anleitung von hier gemacht. Heute konnte ich komischer weise mit sudo alle Plugins ins instalieren. Nur wenn ich meine alte Config benutze kommt wenn ich Homebridge starte diese Fehlermeldung.Kann ich denn meine alte komplett übernehmen? Auch mit Bridge Unername und alter Pin??


    pi@raspberrypi:~ $ homebridge


    *** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.


    *** WARNING *** Please fix your application to use the native API of Avahi!


    *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libd ns_sd&e=node>


    *** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not su pported (or only supported partially) in the Apple Bonjour compatibility layer o f Avahi.


    *** WARNING *** Please fix your application to use the native API of Avahi!


    *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libd ns_sd&e=node&f=DNSServiceRegister>


    [2/11/2017, 10:39:58 AM] Loaded plugin: homebridge-harmonyhub


    [2/11/2017, 10:39:58 AM] Registering platform 'homebridge-harmonyhub.HarmonyHub'


    [2/11/2017, 10:39:58 AM] ---


    [2/11/2017, 10:39:59 AM] Loaded plugin: homebridge-people


    [2/11/2017, 10:39:59 AM] Registering platform 'homebridge-people.People'


    [2/11/2017, 10:39:59 AM] Registering accessory 'homebridge-people.PeopleAccessor y'


    [2/11/2017, 10:39:59 AM] Registering accessory 'homebridge-people.PeopleAllAcces sory'


    [2/11/2017, 10:39:59 AM] ---


    [2/11/2017, 10:40:01 AM] Loaded plugin: homebridge-sonos


    [2/11/2017, 10:40:01 AM] Registering accessory 'homebridge-sonos.Sonos'


    [2/11/2017, 10:40:01 AM] ---


    [2/11/2017, 10:40:01 AM] Loaded config.json with 3 accessories and 2 platforms.


    [2/11/2017, 10:40:01 AM] ---


    [2/11/2017, 10:40:01 AM] Loading 2 platforms...


    [2/11/2017, 10:40:01 AM] Initializing People platform...


    [2/11/2017, 10:40:01 AM] Initializing platform accessory 'Maik'...


    [2/11/2017, 10:40:01 AM] Initializing platform accessory 'Aniko'...


    [2/11/2017, 10:40:01 AM] Initializing platform accessory 'Anyone'...


    [2/11/2017, 10:40:01 AM] Initializing platform accessory 'No One'...


    [2/11/2017, 10:40:01 AM] WebHook: Started server on port '51828'.


    [2/11/2017, 10:40:01 AM] [Harmony Hub] Initializing HarmonyHub platform...


    [2/11/2017, 10:40:01 AM] [Harmony Hub] Searching for Logitech Harmony remote hub s...


    [2/11/2017, 10:40:01 AM] Loading 3 accessories...


    [2/11/2017, 10:40:01 AM] [Lautsprecher Bad] Initializing Sonos accessory...


    [2/11/2017, 10:40:01 AM] [Lautsprecher Küche] Initializing Sonos accessory...


    /usr/local/lib/node_modules/homebridge/lib/api.js:60


    throw new Error("The requested accessory '" + name + "' was not registered by any plugin.");


    ^



    Error: The requested accessory 'Computer' was not registered by any plugin.


    at API.accessory (/usr/local/lib/node_modules/homebridge/lib/api.js:60:13)


    at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/lib/serve r.js:254:42)


    at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:81:38)


    at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)


    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge :17:22)


    at Module._compile (module.js:409:26)


    at Object.Module._extensions..js (module.js:416:10)


    at Module.load (module.js:343:32)


    at Function.Module._load (module.js:300:12)


    at Function.Module.runMain (module.js:441:10)

    Hey habe folgendes Problem. Wollte mein Pi mal ohne App aufsetzen und habe alles nach der Anleitung von SmartApfel gemacht: Nur wenn ich ein Plugin instalieren will,dann bekomme ich diese Fehlermeldung. Hat jemand eine Idee???




    pi@raspberrypi:~ $ npm install -g homebridge-people


    npm ERR! tar.unpack untar error /home/pi/.npm/homebridge-people/0.5.0/package.tg z


    npm ERR! Linux 4.4.38-v7+


    npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "homebri dge-people"


    npm ERR! node v4.6.0


    npm ERR! npm v2.15.9


    npm ERR! path /usr/local/lib/node_modules/homebridge-people


    npm ERR! code EACCES


    npm ERR! errno -13


    npm ERR! syscall mkdir



    npm ERR! Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/ho mebridge-people'


    npm ERR! at Error (native)


    npm ERR! { [Error: EACCES: permission denied, mkdir '/usr/local/lib/node_module s/homebridge-people']


    npm ERR! errno: -13,


    npm ERR! code: 'EACCES',


    npm ERR! syscall: 'mkdir',


    npm ERR! path: '/usr/local/lib/node_modules/homebridge-people',


    npm ERR! fstream_type: 'Directory',


    npm ERR! fstream_path: '/usr/local/lib/node_modules/homebridge-people',


    npm ERR! fstream_class: 'DirWriter',


    npm ERR! fstream_stack:


    npm ERR! [ '/usr/local/lib/node_modules/npm/node_modules/fstream/lib/dir-writ er.js:35:25',


    npm ERR! '/usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:47:5 3',


    npm ERR! 'FSReqWrap.oncomplete (fs.js:82:15)' ] }


    npm ERR!


    npm ERR! Please try running this command again as root/Administrator.



    npm ERR! Please include the following file with any support request:


    npm ERR! /home/pi/npm-debug.log

    Hallo Andi, Radius habe ich bereits erhöht. Delay muss ich nochmal testen. Habe die Zeile in der APP schon paar mal kontrolliert. Kann es sein das der PI eine Firewall hat?

    Hallo, habe People in die Homebridge eingebunden. Mir sind aber die 15 Minuten vom Schwellenwert zu lang. Jetzt habe ich die APP Locative wie auf npm installiert. Wollte dann darüber per Geo die Zeit verkürzen. Nur leider bekomme ich ständig eine Fehlermeldung von Locative wenn ich mein Gebiet verlasse da der Befehl wohl nicht bis People durchdringen kann. Ich habe schon folgendes gemacht: Fritzbox Feste IP gegeben, Portweiterleitung zu PI(auch schon alle Ports), DS-Lite auf Dual Stack umstellen lassen ( Ipv4 und Ipv6). Hat jemand noch eine Idee bzw hatte auch schon jemand das Problem?

    Andi: Vielen vielen Dank. Dann werde ich mich heute Abend mal ans Werk machen. Ich dachte jetzt läuft People problemlos und das ich jetzt einen schritt weiter gehen kann. Ich musste aber wieder feststellen das es doch gar nicht so gut läuft. Auslöser heute Mittag für mich Sonos ein. Das funktioniert auch super aber als ich los bin hat er mir die Lautsprecher nicht ausgemacht obwohl es hierfür eine Scene gibt. Gestern funktionierte es problemlos.

    So, jetzt noch mal für Anfänger wie mich.


    1.Ich lade mir die App, wenn ich das jetzt richtig verstanden habe muss ich dort bei Auslöser Verlassen diesen Eintrag tätigen: http://xxxxxx.no-ip.biz:51828/?sensor=Name&state=false . Ich habe aber kein Plan welchen Schalter ich dort eingeben muss(false). Habe anyone und noone auf true. Muss ich denn in der App Benutzername und Passwort eingeben von noip ?


    2. Ich besorge mir ein Noip Konto .

    3. ??? Muss ich denn noch eine zusätzlichen Plugin für den Raspberry haben?

    4. und wie richte ich es in meinem Router als Dienst ein bzw was ist damit gemeint?


    Sorry für die Fragen aber ich bin einfach zu.... ;(