Homebridge läuft nicht mehr

  • Hallo zusammen

    Ich bin noch ziemlich neu in diesem Bereich. Ich habe mittlerweile Homebridge auf meinem RaspberryPi 3 zum dritten Mal eingerichtet (mit Hilfe der App). Bis gestern lief alles soweit problemlos. Heute erkannte erst mein iPhone die Geräte nicht mehr, auf dem iPad lief alles, mittlerweile werden die Geräte nicht mehr erkannt, obwohl in der Homebridge App keine Fehler angezeigt werden. Beim Start via Terminal auf dem Mac erhalte ich folgendes:

    "*** 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=libdns_sd&e=node>

    *** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in 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-compa…node&f=DNSServiceRegister>

    [2017-04-17 12:34:25] Loaded plugin: homebridge-delay-switch

    [2017-04-17 12:34:25] Registering accessory 'homebridge-delay-switch.DelaySwitch'

    [2017-04-17 12:34:25] ---

    [2017-04-17 12:34:26] Loaded plugin: homebridge-fritz

    [2017-04-17 12:34:26] Registering platform 'homebridge-fritz.Fritz!Box'

    [2017-04-17 12:34:26] ---

    [2017-04-17 12:34:28] Loaded plugin: homebridge-fritzbox

    [2017-04-17 12:34:28] Registering platform 'homebridge-fritzbox.FRITZ!Box'

    [2017-04-17 12:34:28] ---

    [2017-04-17 12:34:28] Loaded plugin: homebridge-gpio

    [2017-04-17 12:34:28] Registering accessory 'homebridge-gpio.GPIO'

    [2017-04-17 12:34:28] ---

    [2017-04-17 12:34:28] Loaded plugin: homebridge-gpio-relay

    [2017-04-17 12:34:28] Registering accessory 'homebridge-gpio-relay.relay'

    [2017-04-17 12:34:28] ---

    [2017-04-17 12:34:28] Loaded plugin: homebridge-gpio-shutter

    [2017-04-17 12:34:28] Registering accessory 'homebridge-gpio-shutter.shutter'

    [2017-04-17 12:34:28] ---

    [2017-04-17 12:34:28] Loaded plugin: homebridge-harmonyhub

    [2017-04-17 12:34:29] Registering platform 'homebridge-harmonyhub.HarmonyHub'

    [2017-04-17 12:34:29] ---

    [2017-04-17 12:34:30] Loaded plugin: homebridge-people

    [2017-04-17 12:34:30] Registering accessory 'homebridge-people.people'

    [2017-04-17 12:34:30] ---

    [2017-04-17 12:34:30] Loaded plugin: homebridge-rcswitch-gpiomem

    [2017-04-17 12:34:30] Registering accessory 'homebridge-rcswitch-gpiomem.RcSwitch'

    [2017-04-17 12:34:30] ---

    [2017-04-17 12:34:30] Loaded plugin: homebridge-rpitemp

    [2017-04-17 12:34:30] Registering accessory 'homebridge-rpitemp.RpiTemp'

    [2017-04-17 12:34:30] ---

    [2017-04-17 12:34:30] Loaded plugin: homebridge-samsungtv-control

    [2017-04-17 12:34:30] Registering accessory 'homebridge-samsungtv.SamsungTV'

    [2017-04-17 12:34:30] ---

    [2017-04-17 12:34:30] Loaded plugin: homebridge-suncalc

    [2017-04-17 12:34:30] Registering accessory 'homebridge-suncalc.Suncalc'

    [2017-04-17 12:34:30] ---

    [2017-04-17 12:34:30] Loaded plugin: homebridge-telldus

    [2017-04-17 12:34:30] Registering platform 'homebridge-telldus.Telldus'

    [2017-04-17 12:34:30] ---

    [2017-04-17 12:34:31] Loaded plugin: homebridge-weather

    [2017-04-17 12:34:31] Registering accessory 'homebridge-weather.Weather'

    [2017-04-17 12:34:31] ---

    [2017-04-17 12:34:31] Loaded plugin: homebridge-wol

    [2017-04-17 12:34:31] Registering accessory 'homebridge-wol.Computer'

    [2017-04-17 12:34:31] ---

    [2017-04-17 12:34:31] Loaded config.json with 11 accessories and 1 platforms.

    [2017-04-17 12:34:31] ---

    [2017-04-17 12:34:31] Loading 1 platforms...

    [2017-04-17 12:34:31] [Gaeste-WLAN] Initializing Fritz!Box platform...

    [2017-04-17 12:34:31] Loading 11 accessories...

    [2017-04-17 12:34:31] [NAS2015] Initializing Computer accessory...

    [2017-04-17 12:34:31] [NAS2015] Starting ping timer on 15000ms interval for NAS2015(192.168.188.53)

    [2017-04-17 12:34:31] [AppleTV] Initializing Computer accessory...

    [2017-04-17 12:34:31] [AppleTV] Starting ping timer on 15000ms interval for AppleTV(192.168.188.62)

    [2017-04-17 12:34:31] [NAS2009] Initializing Computer accessory...

    [2017-04-17 12:34:31] [NAS2009] Starting ping timer on 15000ms interval for NAS2009(192.168.188.28)

    [2017-04-17 12:34:31] [iMac] Initializing Computer accessory...

    [2017-04-17 12:34:31] [iMac] Starting ping timer on 15000ms interval for iMac(192.168.188.23)

    [2017-04-17 12:34:31] [Verzögerungsschalter] Initializing DelaySwitch accessory...

    [2017-04-17 12:34:31] [Fernseher] Initializing SamsungTV accessory...

    [2017-04-17 12:34:31] [Daytime] Initializing Suncalc accessory...

    [2017-04-17 12:34:31] [Daytime] Currently Daytime(3). Sunset is at 20:03:49

    [2017-04-17 12:34:31] [Daytime] Sunset time will be offset by -30 minute(s)

    [2017-04-17 12:34:31] [Temperatur] Initializing Weather accessory...

    [2017-04-17 12:34:31] [PiTemp] Initializing homebridge-rpitemp.RpiTemp accessory...

    [2017-04-17 12:34:31] [HP Photosmart] Initializing Computer accessory...

    [2017-04-17 12:34:31] [HP Photosmart] Starting ping timer on 15000ms interval for HP Photosmart(192.168.188.41)

    [2017-04-17 12:34:31] [Samsung CLX-6220] Initializing Computer accessory...

    [2017-04-17 12:34:31] [Samsung CLX-6220] Starting ping timer on 15000ms interval for Samsung CLX-6220(192.168.188.24)

    Load homebridge-harmonyhub.HarmonyHub

    [2017-04-17 12:34:31] [homebridge-harmonyhub.HarmonyHub] Ignoring Harmony Platform setup because it is not configured

    [2017-04-17 12:34:31] [Gaeste-WLAN] Fritz!Box platform login successful

    [2017-04-17 12:34:31] [Gaeste-WLAN] Discovering accessories

    [2017-04-17 12:34:32] [Gaeste-WLAN] Outlets found:

    [2017-04-17 12:34:32] [Gaeste-WLAN] Thermostats found:

    [2017-04-17 12:34:32] [Gaeste-WLAN] Sensors found:

    [2017-04-17 12:34:32] [Gaeste-WLAN] Initializing platform accessory 'Guest WLAN'...

    Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

    ??????????????

    ? 031-45-565 ?

    ??????????????

    events.js:141

    throw er; // Unhandled 'error' event

    ^


    Error: listen EADDRINUSE :::51826

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

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

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

    at listen (net.js:1272:10)

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

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

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

    at Bridge.Accessory.publish (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:503:16)

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

    at Server.<anonymous> (/usr/local/lib/node_modules/homebridge/lib/server.js:372:14)

    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:16:19

    at /usr/local/lib/node_modules/homebridge-fritz/index.js:125:25

    at tryCatcher (/usr/local/lib/node_modules/homebridge-fritz/node_modules/bluebird/js/release/util.js:16:23)

    at Promise._settlePromiseFromHandler (/usr/local/lib/node_modules/homebridge-fritz/node_modules/bluebird/js/release/promise.js:512:31)

    at Promise._settlePromise (/usr/local/lib/node_modules/homebridge-fritz/node_modules/bluebird/js/release/promise.js:569:18)

    at Promise._fulfillPromises (/usr/local/lib/node_modules/homebridge-fritz/node_modules/bluebird/js/release/promise.js:668:14)

    at Promise._settlePromises (/usr/local/lib/node_modules/homebridge-fritz/node_modules/bluebird/js/release/promise.js:694:18)

    at Async._drainQueue (/usr/local/lib/node_modules/homebridge-fritz/node_modules/bluebird/js/release/async.js:133:16)

    at Async._drainQueues (/usr/local/lib/node_modules/homebridge-fritz/node_modules/bluebird/js/release/async.js:143:10)

    at Immediate.Async.drainQueues [as _onImmediate] (/usr/local/lib/node_modules/homebridge-fritz/node_modules/bluebird/js/release/async.js:17:14)

    at processImmediate [as _immediateCallback] (timers.js:383:17)"


    In der Elgato Eve-App wird "Das Gerät ist zurzeit gesperrt. Versuche es erneut" angezeigt.


    Kann mir da vielleicht jemand weiterhelfen?

  • Ich h

    die homebridge läuft schon,

    "sudo killall homebridge" eingeben und danach hombridge starten und log beobachten.

    Dann kommt folgendes:

    "*** 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=libdns_sd&e=node>

    *** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in 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-compa…node&f=DNSServiceRegister>

    [2017-04-19 10:38:07] Loaded plugin: homebridge-delay-switch

    [2017-04-19 10:38:07] Registering accessory 'homebridge-delay-switch.DelaySwitch'

    [2017-04-19 10:38:07] ---

    [2017-04-19 10:38:08] Loaded plugin: homebridge-fritz

    [2017-04-19 10:38:08] Registering platform 'homebridge-fritz.Fritz!Box'

    [2017-04-19 10:38:08] ---

    [2017-04-19 10:38:09] Loaded plugin: homebridge-fritzbox

    [2017-04-19 10:38:09] Registering platform 'homebridge-fritzbox.FRITZ!Box'

    [2017-04-19 10:38:09] ---

    [2017-04-19 10:38:09] Loaded plugin: homebridge-gpio

    [2017-04-19 10:38:09] Registering accessory 'homebridge-gpio.GPIO'

    [2017-04-19 10:38:09] ---

    [2017-04-19 10:38:09] Loaded plugin: homebridge-gpio-relay

    [2017-04-19 10:38:09] Registering accessory 'homebridge-gpio-relay.relay'

    [2017-04-19 10:38:09] ---

    [2017-04-19 10:38:09] Loaded plugin: homebridge-gpio-shutter

    [2017-04-19 10:38:09] Registering accessory 'homebridge-gpio-shutter.shutter'

    [2017-04-19 10:38:09] ---

    [2017-04-19 10:38:09] Loaded plugin: homebridge-harmonyhub

    [2017-04-19 10:38:11] Registering platform 'homebridge-harmonyhub.HarmonyHub'

    [2017-04-19 10:38:11] ---

    [2017-04-19 10:38:11] Loaded plugin: homebridge-people

    [2017-04-19 10:38:11] Registering accessory 'homebridge-people.people'

    [2017-04-19 10:38:11] ---

    [2017-04-19 10:38:11] Loaded plugin: homebridge-rcswitch-gpiomem

    [2017-04-19 10:38:11] Registering accessory 'homebridge-rcswitch-gpiomem.RcSwitch'

    [2017-04-19 10:38:11] ---

    [2017-04-19 10:38:11] Loaded plugin: homebridge-rpitemp

    [2017-04-19 10:38:11] Registering accessory 'homebridge-rpitemp.RpiTemp'

    [2017-04-19 10:38:11] ---

    [2017-04-19 10:38:11] Loaded plugin: homebridge-samsungtv-control

    [2017-04-19 10:38:11] Registering accessory 'homebridge-samsungtv.SamsungTV'

    [2017-04-19 10:38:11] ---

    [2017-04-19 10:38:11] Loaded plugin: homebridge-suncalc

    [2017-04-19 10:38:11] Registering accessory 'homebridge-suncalc.Suncalc'

    [2017-04-19 10:38:11] ---

    [2017-04-19 10:38:11] Loaded plugin: homebridge-telldus

    [2017-04-19 10:38:11] Registering platform 'homebridge-telldus.Telldus'

    [2017-04-19 10:38:11] ---

    [2017-04-19 10:38:12] Loaded plugin: homebridge-weather

    [2017-04-19 10:38:12] Registering accessory 'homebridge-weather.Weather'

    [2017-04-19 10:38:12] ---

    [2017-04-19 10:38:12] Loaded plugin: homebridge-wol

    [2017-04-19 10:38:12] Registering accessory 'homebridge-wol.Computer'

    [2017-04-19 10:38:12] ---

    [2017-04-19 10:38:12] Loaded config.json with 11 accessories and 1 platforms.

    [2017-04-19 10:38:12] ---

    [2017-04-19 10:38:12] Loading 1 platforms...

    [2017-04-19 10:38:12] [Gaeste-WLAN] Initializing Fritz!Box platform...

    [2017-04-19 10:38:12] Loading 11 accessories...

    [2017-04-19 10:38:12] [NAS2015] Initializing Computer accessory...

    [2017-04-19 10:38:12] [NAS2015] Starting ping timer on 15000ms interval for NAS2015(192.168.188.53)

    [2017-04-19 10:38:12] [AppleTV] Initializing Computer accessory...

    [2017-04-19 10:38:12] [AppleTV] Starting ping timer on 15000ms interval for AppleTV(192.168.188.62)

    [2017-04-19 10:38:12] [NAS2009] Initializing Computer accessory...

    [2017-04-19 10:38:12] [NAS2009] Starting ping timer on 15000ms interval for NAS2009(192.168.188.28)

    [2017-04-19 10:38:12] [iMac] Initializing Computer accessory...

    [2017-04-19 10:38:12] [iMac] Starting ping timer on 15000ms interval for iMac(192.168.188.23)

    [2017-04-19 10:38:12] [Verzögerungsschalter] Initializing DelaySwitch accessory...

    [2017-04-19 10:38:12] [Fernseher] Initializing SamsungTV accessory...

    [2017-04-19 10:38:12] [Daytime] Initializing Suncalc accessory...

    [2017-04-19 10:38:12] [Daytime] Currently Daytime(3). Sunset is at 20:06:43

    [2017-04-19 10:38:12] [Daytime] Sunset time will be offset by -30 minute(s)

    [2017-04-19 10:38:12] [Temperatur] Initializing Weather accessory...

    [2017-04-19 10:38:12] [PiTemp] Initializing homebridge-rpitemp.RpiTemp accessory...

    [2017-04-19 10:38:12] [HP Photosmart] Initializing Computer accessory...

    [2017-04-19 10:38:12] [HP Photosmart] Starting ping timer on 15000ms interval for HP Photosmart(192.168.188.41)

    [2017-04-19 10:38:12] [Samsung CLX-6220] Initializing Computer accessory...

    [2017-04-19 10:38:12] [Samsung CLX-6220] Starting ping timer on 15000ms interval for Samsung CLX-6220(192.168.188.24)

    Load homebridge-harmonyhub.HarmonyHub

    [2017-04-19 10:38:12] [homebridge-harmonyhub.HarmonyHub] Ignoring Harmony Platform setup because it is not configured

    [2017-04-19 10:38:13] [Gaeste-WLAN] Fritz!Box platform login successful

    [2017-04-19 10:38:13] [Gaeste-WLAN] Discovering accessories

    [2017-04-19 10:38:13] [Gaeste-WLAN] Outlets found:

    [2017-04-19 10:38:14] [Gaeste-WLAN] Thermostats found:

    [2017-04-19 10:38:14] [Gaeste-WLAN] Sensors found:

    [2017-04-19 10:38:14] [Gaeste-WLAN] Initializing platform accessory 'Guest WLAN'...

    Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

    ??????????????

    ? 031-45-565 ?

    ??????????????

    [2017-04-19 10:38:14] Homebridge is running on port 51826.

    [2017-04-19 10:38:27] [NAS2015] NAS2015(192.168.188.53) was just turned on

    [2017-04-19 10:38:27] [NAS2009] NAS2009(192.168.188.28) was just turned on

    [2017-04-19 10:38:27] [AppleTV] AppleTV(192.168.188.62) was just turned on

    [2017-04-19 10:38:27] [iMac] iMac(192.168.188.23) was just turned on

    [2017-04-19 10:38:27] [Samsung CLX-6220] Samsung CLX-6220(192.168.188.24) was just turned on

    [2017-04-19 10:38:27] [HP Photosmart] HP Photosmart(192.168.188.41) was just turned on"


    Ich habe Homebridge von Homekit entfernt, jedoch wird die Homebridge nun nicht mehr gefunden, wenn ich diese wieder neu hinzufügen möchte.

  • Hier sieht es Fehlerfrei aus.


    homebridge beenden

    folgende Ordner mal weg sichern und dann löschen:

    rm -rf .homebridge/accessories


    - Löschen des Accessories Ordners


    rm -rf .homebridge/persist/


    - Löschen des Persist Ordners

    homebridge starten


    ich glaube es könnte reichen den persist zu entfrenen, mal testen.


    EDIT:

    The first thing you may be asking is "where is my /persist folder to
    reset the pairing information"? The location is the same on all
    platforms ~/.homebridge/persist
    i.e .homebridge in the users home folder.
    Mac OS X hides folders and files that start with a "period" So to delete
    the file from terminal commandline use the below commands: cd ~/.homebridge rm -rf persist. If you prefer using a gui to access the files use open ~/.homebridge.

    :)

    Einmal editiert, zuletzt von det ()

  • bezüglich "Error: listen EADDRINUSE :::51826" einfach Homebridge mit Befehl von siehe "befehlssammlung ssh" stoppen also je nach ob es als Dienst läuft oder nicht ... dann mit "Homebridge"' wieder starten... war bei mir auch des öfteren ...

  • Ist das richtig so?:

    pi@raspberrypi:~ $ sudo systemctl stop homebridge

    pi@raspberrypi:~ $ cd ~/.homebridge rm -rf persist

    Oder habe ich da etwas falsch verstanden?

    Eine direkte Rückmeldung habe ich in Terminal nicht bekommen, dass sich etwas tut. Homebridge war zumindest deaktiviert.

    Erkannt wird Homebridge von HomeKit leider noch immer nicht.

  • pi@raspberrypi:~ $ sudo systemctl stop homebridge

    pi@raspberrypi:~ $ cd ~/.homebridge

    pi@raspberrypi:~/.homebridge $ rm -rf persist

    pi@raspberrypi:~/.homebridge $ sudo systemctl start homebridge

    pi@raspberrypi:~/.homebridge $


    Zumindest das Ab- und Anschalten von Homebridge funktionierte. Homebridge wird jedoch noch immer nicht von HomeKit erkannt. Auch der Versuch mit der Elgato-App Homebridge zu integrieren, scheiterte leider.

  • hast du nach dem rf .. mal gesehen das der ordner gelöscht ist?

    ich vermute du musst mit sudo machen

    sudo rm -rf persist

    danach mit

    ls -al

    nachsehen das kein persist mehr da ist.


    evtl. auch mal das Apple gerät vom Schlüsselbund bzw. iCloud entfernen, neu starten und wieder hinzu fügen.

  • pi@raspberrypi:~ $ ls -al

    insgesamt 444

    drwxr-xr-x 19 pi pi 4096 Mai 6 09:27 .

    drwxr-xr-x 3 root root 4096 Apr 10 11:17 ..

    -rw------- 1 pi pi 3013 Mai 4 14:06 .bash_history

    -rw-r--r-- 1 pi pi 220 Apr 10 11:17 .bash_logout

    -rw-r--r-- 1 pi pi 3512 Apr 10 11:17 .bashrc

    drwxr-xr-x 5 pi pi 4096 Apr 10 12:10 .cache

    drwx------ 12 pi pi 4096 Apr 10 12:16 .config

    drwxr-xr-x 2 pi pi 4096 Apr 10 12:10 Desktop

    drwxr-xr-x 5 pi pi 4096 Apr 10 11:52 Documents

    drwxr-xr-x 2 pi pi 4096 Apr 10 12:10 Downloads

    drwx------ 2 pi pi 4096 Apr 14 15:02 .gconf

    drwxr-xr-x 2 pi pi 4096 Apr 10 12:10 .gstreamer-0.10

    -rw-r--r-- 1 pi pi 26 Apr 10 12:11 .gtkrc-2.0

    drwxr-xr-x 2 pi pi 4096 Apr 25 05:01 .homebridge

    -rwxr-xr-x 1 pi pi 3812 Apr 14 14:52 .HomebridgeRootSetup.sh

    drwxr-xr-x 3 pi pi 4096 Apr 10 11:52 .local

    drwxr-xr-x 2 pi pi 4096 Apr 10 12:10 Music

    -rw------- 1 root root 300378 Apr 14 15:49 nohup.out

    -rw-r--r-- 1 root root 31199 Mai 6 09:27 npm-debug.log

    drwxr-xr-x 2 pi pi 4096 Apr 10 12:10 Pictures

    -rw-r--r-- 1 pi pi 675 Apr 10 11:17 .profile

    drwxr-xr-x 2 pi pi 4096 Apr 10 12:10 Public

    drwxr-xr-x 2 pi pi 4096 Apr 10 11:52 python_games

    drwxr-xr-x 2 pi pi 4096 Apr 10 12:10 Templates

    drwxr-xr-x 3 pi pi 4096 Apr 10 12:10 .themes

    -rwxr-xr-x 1 pi pi 546 Apr 14 15:48 update

    drwxr-xr-x 2 pi pi 4096 Apr 10 12:10 Videos

    drwx------ 3 pi pi 4096 Apr 10 12:15 .vnc

    -rw------- 1 pi pi 56 Mai 6 08:17 .Xauthority

    -rw------- 1 pi pi 353 Mai 6 08:17 .xsession-errors

    -rw------- 1 pi pi 353 Mai 6 03:00 .xsession-errors.old


    Die Persist hab' ich nicht gefunden. Ich habe nun am iPhone und iPad jeweils den Schlüsselbund deaktiviert, neugestartet und dann Homebridge gesucht, aber leider noch immer nicht gefunden...?!

  • pi@raspberrypi:~/.homebridge $ ls -al

    insgesamt 8

    drwxr-xr-x 2 pi pi 4096 Apr 25 05:01 .

    drwxr-xr-x 19 pi pi 4096 Mai 6 10:04 ..




    *** 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=libdns_sd&e=node>

    *** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in 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-compa…node&f=DNSServiceRegister>

    [2017-05-06 11:48:05] Loaded plugin: homebridge-delay-switch

    [2017-05-06 11:48:05] Registering accessory 'homebridge-delay-switch.DelaySwitch'

    [2017-05-06 11:48:05] ---

    [2017-05-06 11:48:06] Loaded plugin: homebridge-fritz

    [2017-05-06 11:48:06] Registering platform 'homebridge-fritz.Fritz!Box'

    [2017-05-06 11:48:06] ---

    [2017-05-06 11:48:07] Loaded plugin: homebridge-fritzbox

    [2017-05-06 11:48:07] Registering platform 'homebridge-fritzbox.FRITZ!Box'

    [2017-05-06 11:48:07] ---

    [2017-05-06 11:48:07] Loaded plugin: homebridge-gpio

    [2017-05-06 11:48:07] Registering accessory 'homebridge-gpio.GPIO'

    [2017-05-06 11:48:07] ---

    [2017-05-06 11:48:07] Loaded plugin: homebridge-gpio-relay

    [2017-05-06 11:48:07] Registering accessory 'homebridge-gpio-relay.relay'

    [2017-05-06 11:48:07] ---

    [2017-05-06 11:48:07] Loaded plugin: homebridge-gpio-shutter

    [2017-05-06 11:48:07] Registering accessory 'homebridge-gpio-shutter.shutter'

    [2017-05-06 11:48:07] ---

    [2017-05-06 11:48:07] Loaded plugin: homebridge-harmonyhub

    [2017-05-06 11:48:09] Registering platform 'homebridge-harmonyhub.HarmonyHub'

    [2017-05-06 11:48:09] ---

    [2017-05-06 11:48:09] Loaded plugin: homebridge-people

    [2017-05-06 11:48:09] Registering accessory 'homebridge-people.people'

    [2017-05-06 11:48:09] ---

    [2017-05-06 11:48:09] Loaded plugin: homebridge-rcswitch-gpiomem

    [2017-05-06 11:48:09] Registering accessory 'homebridge-rcswitch-gpiomem.RcSwitch'

    [2017-05-06 11:48:09] ---

    [2017-05-06 11:48:09] Loaded plugin: homebridge-rpitemp

    [2017-05-06 11:48:09] Registering accessory 'homebridge-rpitemp.RpiTemp'

    [2017-05-06 11:48:09] ---

    [2017-05-06 11:48:09] Loaded plugin: homebridge-samsungtv-control

    [2017-05-06 11:48:09] Registering accessory 'homebridge-samsungtv.SamsungTV'

    [2017-05-06 11:48:09] ---

    [2017-05-06 11:48:09] Loaded plugin: homebridge-suncalc

    [2017-05-06 11:48:09] Registering accessory 'homebridge-suncalc.Suncalc'

    [2017-05-06 11:48:09] ---

    [2017-05-06 11:48:09] Loaded plugin: homebridge-telldus

    [2017-05-06 11:48:09] Registering platform 'homebridge-telldus.Telldus'

    [2017-05-06 11:48:09] ---

    [2017-05-06 11:48:10] Loaded plugin: homebridge-weather

    [2017-05-06 11:48:10] Registering accessory 'homebridge-weather.Weather'

    [2017-05-06 11:48:10] ---

    [2017-05-06 11:48:10] Loaded plugin: homebridge-wol

    [2017-05-06 11:48:10] Registering accessory 'homebridge-wol.Computer'

    [2017-05-06 11:48:10] ---

    [2017-05-06 11:48:10] config.json (/home/pi/.homebridge/config.json) not found.

    Load homebridge-harmonyhub.HarmonyHub

    [2017-05-06 11:48:10] [homebridge-harmonyhub.HarmonyHub] Ignoring Harmony Platform setup because it is not configured

    Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

    ??????????????

    ? 031-45-154 ?

    ??????????????

    [2017-05-06 11:48:10] Homebridge is running on port 46593.


  • Hier nochmal als root, dann findet er auch die config.json:


    *** 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=libdns_sd&e=node>

    *** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in 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-compa…node&f=DNSServiceRegister>

    [2017-05-06 12:18:59] Loaded plugin: homebridge-delay-switch

    [2017-05-06 12:18:59] Registering accessory 'homebridge-delay-switch.DelaySwitch'

    [2017-05-06 12:18:59] ---

    [2017-05-06 12:19:01] Loaded plugin: homebridge-fritz

    [2017-05-06 12:19:01] Registering platform 'homebridge-fritz.Fritz!Box'

    [2017-05-06 12:19:01] ---

    [2017-05-06 12:19:02] Loaded plugin: homebridge-fritzbox

    [2017-05-06 12:19:02] Registering platform 'homebridge-fritzbox.FRITZ!Box'

    [2017-05-06 12:19:02] ---

    [2017-05-06 12:19:02] Loaded plugin: homebridge-gpio

    [2017-05-06 12:19:02] Registering accessory 'homebridge-gpio.GPIO'

    [2017-05-06 12:19:02] ---

    [2017-05-06 12:19:02] Loaded plugin: homebridge-gpio-relay

    [2017-05-06 12:19:02] Registering accessory 'homebridge-gpio-relay.relay'

    [2017-05-06 12:19:02] ---

    [2017-05-06 12:19:02] Loaded plugin: homebridge-gpio-shutter

    [2017-05-06 12:19:02] Registering accessory 'homebridge-gpio-shutter.shutter'

    [2017-05-06 12:19:02] ---

    [2017-05-06 12:19:02] Loaded plugin: homebridge-harmonyhub

    [2017-05-06 12:19:04] Registering platform 'homebridge-harmonyhub.HarmonyHub'

    [2017-05-06 12:19:04] ---

    [2017-05-06 12:19:04] Loaded plugin: homebridge-people

    [2017-05-06 12:19:04] Registering accessory 'homebridge-people.people'

    [2017-05-06 12:19:04] ---

    [2017-05-06 12:19:04] Loaded plugin: homebridge-rcswitch-gpiomem

    [2017-05-06 12:19:04] Registering accessory 'homebridge-rcswitch-gpiomem.RcSwitch'

    [2017-05-06 12:19:04] ---

    [2017-05-06 12:19:04] Loaded plugin: homebridge-rpitemp

    [2017-05-06 12:19:04] Registering accessory 'homebridge-rpitemp.RpiTemp'

    [2017-05-06 12:19:04] ---

    [2017-05-06 12:19:04] Loaded plugin: homebridge-samsungtv-control

    [2017-05-06 12:19:04] Registering accessory 'homebridge-samsungtv.SamsungTV'

    [2017-05-06 12:19:04] ---

    [2017-05-06 12:19:04] Loaded plugin: homebridge-suncalc

    [2017-05-06 12:19:04] Registering accessory 'homebridge-suncalc.Suncalc'

    [2017-05-06 12:19:04] ---

    [2017-05-06 12:19:04] Loaded plugin: homebridge-telldus

    [2017-05-06 12:19:04] Registering platform 'homebridge-telldus.Telldus'

    [2017-05-06 12:19:04] ---

    [2017-05-06 12:19:05] Loaded plugin: homebridge-weather

    [2017-05-06 12:19:05] Registering accessory 'homebridge-weather.Weather'

    [2017-05-06 12:19:05] ---

    [2017-05-06 12:19:05] Loaded plugin: homebridge-wol

    [2017-05-06 12:19:05] Registering accessory 'homebridge-wol.Computer'

    [2017-05-06 12:19:05] ---

    [2017-05-06 12:19:05] Loaded config.json with 11 accessories and 1 platforms.

    [2017-05-06 12:19:05] ---

    [2017-05-06 12:19:05] Loading 1 platforms...

    [2017-05-06 12:19:05] [Gaeste-WLAN] Initializing Fritz!Box platform...

    [2017-05-06 12:19:05] Loading 11 accessories...

    [2017-05-06 12:19:05] [NAS2015] Initializing Computer accessory...

    [2017-05-06 12:19:05] [NAS2015] Starting ping timer on 15000ms interval for NAS2015(192.168.188.53)

    [2017-05-06 12:19:05] [AppleTV] Initializing Computer accessory...

    [2017-05-06 12:19:05] [AppleTV] Starting ping timer on 15000ms interval for AppleTV(192.168.188.62)

    [2017-05-06 12:19:05] [NAS2009] Initializing Computer accessory...

    [2017-05-06 12:19:05] [NAS2009] Starting ping timer on 15000ms interval for NAS2009(192.168.188.28)

    [2017-05-06 12:19:05] [iMac] Initializing Computer accessory...

    [2017-05-06 12:19:05] [iMac] Starting ping timer on 15000ms interval for iMac(192.168.188.23)

    [2017-05-06 12:19:05] [Verzögerungsschalter] Initializing DelaySwitch accessory...

    [2017-05-06 12:19:05] [Fernseher] Initializing SamsungTV accessory...

    [2017-05-06 12:19:05] [Daytime] Initializing Suncalc accessory...

    [2017-05-06 12:19:05] [Daytime] Currently Daytime(3). Sunset is at 20:31:02

    [2017-05-06 12:19:05] [Daytime] Sunset time will be offset by -30 minute(s)

    [2017-05-06 12:19:05] [Temperatur] Initializing Weather accessory...

    [2017-05-06 12:19:05] [PiTemp] Initializing homebridge-rpitemp.RpiTemp accessory...

    [2017-05-06 12:19:05] [HP Photosmart] Initializing Computer accessory...

    [2017-05-06 12:19:05] [HP Photosmart] Starting ping timer on 15000ms interval for HP Photosmart(192.168.188.41)

    [2017-05-06 12:19:05] [Samsung CLX-6220] Initializing Computer accessory...

    [2017-05-06 12:19:05] [Samsung CLX-6220] Starting ping timer on 15000ms interval for Samsung CLX-6220(192.168.188.24)

    Load homebridge-harmonyhub.HarmonyHub

    [2017-05-06 12:19:05] [homebridge-harmonyhub.HarmonyHub] Ignoring Harmony Platform setup because it is not configured

    [2017-05-06 12:19:05] [Gaeste-WLAN] Fritz!Box platform login successful

    [2017-05-06 12:19:05] [Gaeste-WLAN] Discovering accessories

    [2017-05-06 12:19:06] [Gaeste-WLAN] Outlets found:

    [2017-05-06 12:19:06] [Gaeste-WLAN] Thermostats found:

    [2017-05-06 12:19:06] [Gaeste-WLAN] Sensors found:

    [2017-05-06 12:19:06] [Gaeste-WLAN] Initializing platform accessory 'Guest WLAN'...

    Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

    ??????????????

    ? 031-45-565 ?

    ??????????????

    [2017-05-06 12:19:07] Homebridge is running on port 51826.

    [2017-05-06 12:19:20] [NAS2015] NAS2015(192.168.188.53) was just turned on

    [2017-05-06 12:19:20] [iMac] iMac(192.168.188.23) was just turned on

    [2017-05-06 12:19:20] [NAS2009] NAS2009(192.168.188.28) was just turned on

    [2017-05-06 12:19:20] [AppleTV] AppleTV(192.168.188.62) was just turned on

    [2017-05-06 12:19:20] [HP Photosmart] HP Photosmart(192.168.188.41) was just turned on

    [2017-05-06 12:19:35] [Samsung CLX-6220] Samsung CLX-6220(192.168.188.24) was just turned on

    [2017-05-06 12:19:39] [AppleTV] AppleTV(192.168.188.62) was just turned off

    [2017-05-06 12:19:39] [NAS2009] NAS2009(192.168.188.28) was just turned off

    [2017-05-06 12:19:39] [iMac] iMac(192.168.188.23) was just turned off

    [2017-05-06 12:19:39] [HP Photosmart] HP Photosmart(192.168.188.41) was just turned off

    [2017-05-06 12:19:39] [Samsung CLX-6220] Samsung CLX-6220(192.168.188.24) was just turned off

    [2017-05-06 12:19:50] [AppleTV] AppleTV(192.168.188.62) was just turned on

    [2017-05-06 12:19:50] [NAS2009] NAS2009(192.168.188.28) was just turned on

    [2017-05-06 12:19:50] [iMac] iMac(192.168.188.23) was just turned on

    [2017-05-06 12:19:50] [HP Photosmart] HP Photosmart(192.168.188.41) was just turned on

    [2017-05-06 12:19:50] [Samsung CLX-6220] Samsung CLX-6220(192.168.188.24) was just turned on

  • Ok läuft als root,

    also:

    stoppen mit

    sudo systemctl stop homebridge

    persist löschen

    sudo rm -rf /root/.homebridge/persist

    starten mit

    sudo systemctl start homebridge


    im Log schauen, das fehlerfrei startet.

    ruhig kurz warten (ca 5min)


    jetzt versuchen in der home app hinzuzufügen

  • Vielen Dank! Jetzt läuft's! Wie kann ich das Problem in Zukunft verhindern?!


    Trotzdem kommen noch einige Fehlermeldungen beim Start:


    "...

    [2017-05-06 12:38:09] [Gaeste-WLAN] Fritz!Box platform login successful

    [2017-05-06 12:38:09] [Gaeste-WLAN] Discovering accessories

    [2017-05-06 12:38:09] [Gaeste-WLAN] Outlets found:

    [2017-05-06 12:38:10] [Gaeste-WLAN] Thermostats found:

    [2017-05-06 12:38:10] [Gaeste-WLAN] Sensors found:

    [2017-05-06 12:38:10] [Gaeste-WLAN] Initializing platform accessory 'Guest WLAN'...

    Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

    ??????????????

    ? 031-45-565 ?

    ??????????????

    events.js:141

    throw er; // Unhandled 'error' event

    ^


    Error: listen EADDRINUSE :::51826

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

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

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

    at listen (net.js:1272:10)

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

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

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

    at Bridge.Accessory.publish (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:503:16)

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

    at Server.<anonymous> (/usr/local/lib/node_modules/homebridge/lib/server.js:372:14)

    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:16:19

    at /usr/local/lib/node_modules/homebridge-fritz/index.js:125:25

    at tryCatcher (/usr/local/lib/node_modules/homebridge-fritz/node_modules/bluebird/js/release/util.js:16:23)

    at Promise._settlePromiseFromHandler (/usr/local/lib/node_modules/homebridge-fritz/node_modules/bluebird/js/release/promise.js:512:31)

    at Promise._settlePromise (/usr/local/lib/node_modules/homebridge-fritz/node_modules/bluebird/js/release/promise.js:569:18)

    at Promise._fulfillPromises (/usr/local/lib/node_modules/homebridge-fritz/node_modules/bluebird/js/release/promise.js:668:14)

    at Promise._settlePromises (/usr/local/lib/node_modules/homebridge-fritz/node_modules/bluebird/js/release/promise.js:694:18)

    at Async._drainQueue (/usr/local/lib/node_modules/homebridge-fritz/node_modules/bluebird/js/release/async.js:133:16)

    at Async._drainQueues (/usr/local/lib/node_modules/homebridge-fritz/node_modules/bluebird/js/release/async.js:143:10)

    at Immediate.Async.drainQueues [as _onImmediate] (/usr/local/lib/node_modules/homebridge-fritz/node_modules/bluebird/js/release/async.js:17:14)

    at processImmediate [as _immediateCallback] (timers.js:383:17)

    # "

  • Moin!


    Ich habe nun das gleiche Problem - HomeBridge wird in der Home App nicht mehr gefunden. Gleiches Netzwerk, HomeBrigde läuft, Identität wechseln schon versucht, auch den persist Ordner gelöscht, alles ohne Erfolg. HomeBridge war eingebunden und habe ich aus Versehen aus meiner Home App gelöscht und seitdem wird sie nicht mehr gefunden. Im Log gibt es augenscheinlich keine Fehler, ich habe aber noch keine Möglichkeit gefunden das Log vom iPhone irgendwie zu kopieren... hat jemand eine Idee oder noch das gleiche Problem? Bin auch ein ziemlicher Anfänger auf dem Gebiet...


    Gruß!

    Michael