Hallo,
hab jetzt das image von dir komplett neu aufgesetzt... In den Ordner /var/homebridge/config.json per SSH die config ergänzt...
Dann hab ich soweit die plugins installiert: Harmony, HUE, config-ui, Secvest installiert
Habe Homebridge mit dem Befehl "sudo systemctl restart homebridge" und "sudo reboot" das ganze noch mal neustarten lassen...
Wenn ich jetzt "sudo systemctl status homebridge" eingeb kommt folgendes:
sudo systemctl status homebridge
? homebridge.service - Node.js HomeKit Server
Loaded: loaded (/etc/systemd/system/homebridge.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2017-11-28 19:27:09 CET; 2s ago
Main PID: 2131 (homebridge)
CGroup: /system.slice/homebridge.service
??2131 homebridge
Nov 28 19:27:09 hbridge2 homebridge[2131]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=D
Nov 28 19:27:09 hbridge2 node[2131]: *** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
Nov 28 19:27:09 hbridge2 node[2131]: *** WARNING *** Please fix your application to use the native API of Avahi!
Nov 28 19:27:09 hbridge2 node[2131]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
Nov 28 19:27:09 hbridge2 node[2131]: *** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only suppo
Nov 28 19:27:09 hbridge2 node[2131]: *** WARNING *** Please fix your application to use the native API of Avahi!
Nov 28 19:27:09 hbridge2 node[2131]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServ
Nov 28 19:27:11 hbridge2 homebridge[2131]: [2017-11-28 19:27:11] Loaded plugin: homebridge-config-ui
Nov 28 19:27:11 hbridge2 homebridge[2131]: [2017-11-28 19:27:11] Registering platform 'homebridge-config-ui.config'
Nov 28 19:27:11 hbridge2 homebridge[2131]: [2017-11-28 19:27:11] ---
lines 1-17/17 (END)
Mehr seh ich nichts passieren...
In Apple Homekit, finde ich eine Homebridge #2 und wenn ich die hinzufügen will laut code von der config, steht da jedesmal Falscher Code...
EDIT2: hier mal ein auszug "sudo tail -f /var/log/syslog | grep homebridge"
Nov 28 19:29:41 hbridge2 systemd[1]: homebridge.service: Main process exited, code=exited, status=1/FAILURE
Nov 28 19:29:41 hbridge2 systemd[1]: homebridge.service: Unit entered failed state.
Nov 28 19:29:41 hbridge2 systemd[1]: homebridge.service: Failed with result 'exit-code'.
Nov 28 19:29:51 hbridge2 systemd[1]: homebridge.service: Service hold-off time over, scheduling restart.
Nov 28 19:29:51 hbridge2 homebridge[2470]: *** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
Nov 28 19:29:51 hbridge2 homebridge[2470]: *** WARNING *** Please fix your application to use the native API of Avahi!
Nov 28 19:29:51 hbridge2 homebridge[2470]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
Nov 28 19:29:51 hbridge2 homebridge[2470]: *** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
Nov 28 19:29:51 hbridge2 homebridge[2470]: *** WARNING *** Please fix your application to use the native API of Avahi!
Nov 28 19:29:51 hbridge2 homebridge[2470]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=D NSServiceRegister>
Nov 28 19:29:53 hbridge2 homebridge[2470]: [2017-11-28 19:29:53] Loaded plugin: homebridge-config-ui
Nov 28 19:29:53 hbridge2 homebridge[2470]: [2017-11-28 19:29:53] Registering platform 'homebridge-config-ui.config'
Nov 28 19:29:53 hbridge2 homebridge[2470]: [2017-11-28 19:29:53] ---
Nov 28 19:29:54 hbridge2 homebridge[2470]: [2017-11-28 19:29:54] Loaded plugin: homebridge-hue
Nov 28 19:29:54 hbridge2 homebridge[2470]: [2017-11-28 19:29:54] Registering platform 'homebridge-hue.Hue'
Nov 28 19:29:54 hbridge2 homebridge[2470]: [2017-11-28 19:29:54] ---
Nov 28 19:29:54 hbridge2 homebridge[2470]: [2017-11-28 19:29:54] Loaded plugin: homebridge-secvest
Nov 28 19:29:54 hbridge2 homebridge[2470]: [2017-11-28 19:29:54] Registering platform 'homebridge-secvest.Secvest'
Nov 28 19:29:54 hbridge2 homebridge[2470]: [2017-11-28 19:29:54] ---
Nov 28 19:29:54 hbridge2 homebridge[2470]: [2017-11-28 19:29:54] Loaded config.json with 0 accessories and 3 platforms.
Nov 28 19:29:54 hbridge2 homebridge[2470]: [2017-11-28 19:29:54] ---
Nov 28 19:29:54 hbridge2 homebridge[2470]: [2017-11-28 19:29:54] Loading 3 platforms...
Nov 28 19:29:54 hbridge2 homebridge[2470]: [2017-11-28 19:29:54] [Config] Initializing config platform...
Nov 28 19:29:55 hbridge2 homebridge[2470]: /usr/local/lib/node_modules/homebridge/lib/api.js:122
Nov 28 19:29:55 hbridge2 homebridge[2470]: throw new Error("The requested platform '" + name + "' was not registered by any plugin.") ;
Nov 28 19:29:55 hbridge2 homebridge[2470]: ^
Nov 28 19:29:55 hbridge2 homebridge[2470]: Error: The requested platform 'HarmonyHub' was not registered by any plugin.
Nov 28 19:29:55 hbridge2 homebridge[2470]: at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:122:13)
Nov 28 19:29:55 hbridge2 homebridge[2470]: at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:294:45)
Nov 28 19:29:55 hbridge2 homebridge[2470]: at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:85:36)
Nov 28 19:29:55 hbridge2 homebridge[2470]: at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
Nov 28 19:29:55 hbridge2 homebridge[2470]: at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
Nov 28 19:29:55 hbridge2 homebridge[2470]: at Module._compile (module.js:635:30)
Nov 28 19:29:55 hbridge2 homebridge[2470]: at Object.Module._extensions..js (module.js:646:10)
Nov 28 19:29:55 hbridge2 homebridge[2470]: at Module.load (module.js:554:32)
Nov 28 19:29:55 hbridge2 homebridge[2470]: at tryModuleLoad (module.js:497:12)
Nov 28 19:29:55 hbridge2 homebridge[2470]: at Function.Module._load (module.js:489:3)
EDIT3:
So wie ich das seh, läuft das harmony plugin nicht bzw wurde nicht installiert...
Hatte sowieso probleme es zu installieren...
Hatte es so ausprobiert erstmal: "sudo npm install -g [email protected]"
das wiederum mit einem error quittiert wurde:
sudo npm install -g [email protected]
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm ERR! code 128
npm ERR! Command failed: /usr/bin/git clone --depth=1 -q -b cdata-for-ltx-parser https://github.com/swissmanu/ltx.git /root/.npm/_cacache/tmp/git-clone-62d55d2f
npm ERR! fatal: Konnte führende Verzeichnisse von '/root/.npm/_cacache/tmp/git-clone-62d55d2f' nicht erstellen.: Keine Berechtigung
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2017-11-28T18_41_46_146Z-debug.log
Dann hatte ich hier im Forum den Beitrag gefunden womit ein anderer user das problem auch hatte und ich hab diesen befehl eingegeben:
"sudo chown -R $USER /usr/local && npm install [email protected]"
Der lief komplett durch, doch installiert ist es immer noch nicht...
Was kann ich nun machen?
mfg