Hallo zusammen
ich spiele jetzt seid einigen Monaten mit einem Pi3 und der Homebridge rum.
Nach anfänglichen Schwierigkeit läuft mittlerweile aber alles sehr gut, auch dank des tollen Forums hier.
Nun zum eigentlichen Thema, ich habe auf einem Pi3 das Image von det mit der Kernel Version 4.4 installiert, , MotionEye installiert,
ein paar Plugins drauf gehauen, meine Config angepasst und seid dem läuft es seid ca. 2 Wochen ohne Probleme oder Abstürze.
Jetzt habe ich ein Backup meiner Karte angelegt, erst mit dem ApplePi-Baker und dann per command line laut dieser Anleitung
"https://computers.tutsplus.com/articles/how-to-clone-raspberry-pi-sd-cards-using-the-command-line-in-os-x--mac-59911"
die ich hier im Forum gefunden habe.
Egal wie ich das Image nun auf eine andere Karte schreibe, Homebridge läuft danach nicht mehr.
Nach der eingäbe von
sudo journalctl -f -u homebridge kommt folgendes
-- Logs begin at So 2017-09-03 20:41:28 CEST. --
Sep 04 15:44:12 hbridge2 homebridge[1725]: at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:80:36)
Sep 04 15:44:12 hbridge2 homebridge[1725]: at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
Sep 04 15:44:12 hbridge2 homebridge[1725]: at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
Sep 04 15:44:12 hbridge2 homebridge[1725]: at Module._compile (module.js:571:32)
Sep 04 15:44:12 hbridge2 homebridge[1725]: at Object.Module._extensions..js (module.js:580:10)
Sep 04 15:44:12 hbridge2 homebridge[1725]: at Module.load (module.js:488:32)
Sep 04 15:44:12 hbridge2 homebridge[1725]: at tryModuleLoad (module.js:447:12)
Sep 04 15:44:12 hbridge2 homebridge[1725]: at Function.Module._load (module.js:439:3)
Sep 04 15:44:12 hbridge2 systemd[1]: homebridge.service: main process exited, code=exited, status=1/FAILURE
Sep 04 15:44:12 hbridge2 systemd[1]: Unit homebridge.service entered failed state.
Sep 04 15:44:22 hbridge2 systemd[1]: homebridge.service holdoff time over, scheduling restart.
Sep 04 15:44:22 hbridge2 systemd[1]: Stopping Node.js HomeKit Server...
Sep 04 15:44:22 hbridge2 systemd[1]: Starting Node.js HomeKit Server...
Sep 04 15:44:22 hbridge2 systemd[1]: Started Node.js HomeKit Server.
Sep 04 15:44:22 hbridge2 homebridge[1756]: *** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
Sep 04 15:44:22 hbridge2 node[1756]: *** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
Sep 04 15:44:22 hbridge2 node[1756]: *** WARNING *** Please fix your application to use the native API of Avahi!
Sep 04 15:44:22 hbridge2 node[1756]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
Sep 04 15:44:22 hbridge2 node[1756]: *** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
Sep 04 15:44:22 hbridge2 node[1756]: *** WARNING *** Please fix your application to use the native API of Avahi!
Sep 04 15:44:22 hbridge2 node[1756]: *** WARNING *** For more information see <http://0pointer.de/avahi-compa…node&f=DNSServiceRegister>
Sep 04 15:44:22 hbridge2 homebridge[1756]: *** WARNING *** Please fix your application to use the native API of Avahi!
Sep 04 15:44:22 hbridge2 homebridge[1756]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
Sep 04 15:44:22 hbridge2 homebridge[1756]: *** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
Sep 04 15:44:22 hbridge2 homebridge[1756]: *** WARNING *** Please fix your application to use the native API of Avahi!
Sep 04 15:44:22 hbridge2 homebridge[1756]: *** WARNING *** For more information see <http://0pointer.de/avahi-compa…node&f=DNSServiceRegister>
Sep 04 15:44:26 hbridge2 homebridge[1756]: [2017-9-4 15:44:26] Loaded plugin: homebridge-dht
Sep 04 15:44:26 hbridge2 homebridge[1756]: [2017-9-4 15:44:26] Registering accessory 'homebridge-dht.Dht'
Sep 04 15:44:26 hbridge2 homebridge[1756]: [2017-9-4 15:44:26] ---
Sep 04 15:44:26 hbridge2 homebridge[1756]: [2017-9-4 15:44:26] Loaded plugin: homebridge-hyperion
Sep 04 15:44:26 hbridge2 homebridge[1756]: [2017-9-4 15:44:26] Registering accessory 'homebridge-hyperion.Hyperion'
Sep 04 15:44:26 hbridge2 homebridge[1756]: [2017-9-4 15:44:26] ---
Sep 04 15:44:26 hbridge2 homebridge[1756]: [2017-9-4 15:44:26] Loaded plugin: homebridge-rcswitch
Sep 04 15:44:26 hbridge2 homebridge[1756]: [2017-9-4 15:44:26] Registering accessory 'homebridge-rcswitch.RcSwitch'
Sep 04 15:44:26 hbridge2 homebridge[1756]: [2017-9-4 15:44:26] ---
Sep 04 15:44:26 hbridge2 homebridge[1756]: [2017-9-4 15:44:26] Loaded config.json with 5 accessories and 2 platforms.
Sep 04 15:44:26 hbridge2 homebridge[1756]: [2017-9-4 15:44:26] ---
Sep 04 15:44:26 hbridge2 homebridge[1756]: [2017-9-4 15:44:26] Loading 2 platforms...
Sep 04 15:44:26 hbridge2 homebridge[1756]: /usr/local/lib/node_modules/homebridge/lib/api.js:122
Sep 04 15:44:26 hbridge2 homebridge[1756]: throw new Error("The requested platform '" + name + "' was not registered by any plugin.");
Sep 04 15:44:26 hbridge2 homebridge[1756]: ^
Sep 04 15:44:26 hbridge2 homebridge[1756]: Error: The requested platform 'HarmonyHub' was not registered by any plugin.
Sep 04 15:44:26 hbridge2 homebridge[1756]: at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:122:13)
Sep 04 15:44:26 hbridge2 homebridge[1756]: at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:284:45)
Sep 04 15:44:26 hbridge2 homebridge[1756]: at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:80:36)
Sep 04 15:44:26 hbridge2 homebridge[1756]: at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
Sep 04 15:44:26 hbridge2 homebridge[1756]: at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
Sep 04 15:44:26 hbridge2 homebridge[1756]: at Module._compile (module.js:571:32)
Sep 04 15:44:26 hbridge2 homebridge[1756]: at Object.Module._extensions..js (module.js:580:10)
Sep 04 15:44:26 hbridge2 homebridge[1756]: at Module.load (module.js:488:32)
Sep 04 15:44:26 hbridge2 homebridge[1756]: at tryModuleLoad (module.js:447:12)
Sep 04 15:44:26 hbridge2 homebridge[1756]: at Function.Module._load (module.js:439:3)
Sep 04 15:44:26 hbridge2 systemd[1]: homebridge.service: main process exited, code=exited, status=1/FAILURE
Sep 04 15:44:26 hbridge2 systemd[1]: Unit homebridge.service entered failed state.
Sep 04 15:44:36 hbridge2 systemd[1]: homebridge.service holdoff time over, scheduling restart.
Sep 04 15:44:36 hbridge2 systemd[1]: Stopping Node.js HomeKit Server...
Sep 04 15:44:36 hbridge2 systemd[1]: Starting Node.js HomeKit Server...
Sep 04 15:44:36 hbridge2 systemd[1]: Started Node.js HomeKit Server.
Sep 04 15:44:36 hbridge2 homebridge[1782]: *** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
Jetzt muss ich zugeben, das ich aus der Log File nicht wirklich schlau werde, bin ein totaler Anfänger in Sachen Linux.
Das Harmony Plugin macht anscheinen Probleme und das camera-ffmpeg Plugin wird garnicht erst aufgeführt.
Über die IP+Port habe ich Zugriff auf Motion und die USB Cam, aber wieso läuft die Homebridge nicht?
Ich habe doch nur ein Image erstellt und dieses auf eine andere Karte auf gespielt.
Das original System läuft nach wie vor ohne Probleme.
Ich bin dankbar für jeden Lösungsvorschlag.
Gruß
masterswahn