Zum Broadlink-Plugin: versuch mal
sudo su -
npm install -g --unsafe-perm homebridge-broadlink-rm
exit
Zum Broadlink-Plugin: versuch mal
sudo su -
npm install -g --unsafe-perm homebridge-broadlink-rm
exit
Leider hilft das auch nicht ...
root@hbridge2:~# npm install -g --unsafe-perm homebridge-broadlink-rm
npm ERR! code 128
npm ERR! Command failed: git clone --depth=1 -q -b feature/typescript git://github.com/lprhodes/homebridge-platform-helper.git /root/.npm/_cacache/tmp/git-clone-7896bd6a
npm ERR! fatal: Konnte führende Verzeichnisse von '/root/.npm/_cacache/tmp/git-clone-7896bd6a' nicht erstellen.: Keine Berechtigung
npm ERR!
Ich hab das gleiche Problem, kann es aber so lösen:
sudo su -
rm -rf .npm
npm install -g --unsafe-perm homebridge-broadlink-rm
exit
Das hat schonmal geklappt ... Danke
Aber meine HB stirbt imm noch ab ... wie in einer Bootschleife
Welche Meldung kommt nun oder sind es immer noch die gleichen wie oben schon stehen?
Hi ...
Ja, diese hier ... habe nun schon fast alles versucht ... werde ggf. die HB doch noch komplett neu aufsetzen (müssen)
pi@hbridge2:~ $ sudo systemctl status homebridge
● homebridge.service - Node.js HomeKit Server
Loaded: loaded (/etc/systemd/system/homebridge.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sat 2020-05-16 17:57:52 CEST; 4s ago
Process: 918 ExecStart=/usr/local/bin/homebridge $HOMEBRIDGE_OPTS (code=exited, status=143)
Main PID: 918 (code=exited, status=143)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/homebridge.service
Mai 16 17:57:52 hbridge2 systemd[1]: homebridge.service: Failed with result 'exit-code'.
Mai 16 17:57:53 hbridge2 homebridge[918]: [16.5.2020, 17:57:53] [Config] Homebridge Config UI X v4.19.0 is listening on :: port 8081
Alles anzeigen
Installier das harmony-Plugin einfach noch mal.
die Fehlermeldung sollte im syslog stehen
hier steht nur das der Service beendet wurde, aber nicht warum
Das ganz alte, welches ich vorher drauf hatte?
sudo npm install -g homebridge-harmonyhub@0.1.1
Teste ich später mal ... nun sind erstmal die Kids dran
Danke schonmal ...
Wo finde ich denn das syslog?
So ... nachdem ich nun HarmonyHub nochmal neu installiert habe, komme ich schonmal wieder
auf das WebInterface ...
Vom Log her sieht es so aus, als wenn die HB läuft ... aber im WebInterface steht immer
"Homebridge - Gestoppt - Protokoll anzeigen"
Hier aber das log, wenn ich auf "Neustart" klicke
[16.5.2020, 19:09:33] [Config] Homebridge restart request received
[16.5.2020, 19:09:34] [Config] Executing restart command: sudo systemctl restart homebridge.service
root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/systemctl restart homebridge.service
pam_unix(sudo:session): session opened for user root by (uid=0)
[16.5.2020, 19:09:34] Got SIGTERM, shutting down Homebridge...
Stopping Node.js HomeKit Server...
homebridge.service: Main process exited, code=exited, status=143/n/a
Stopped Node.js HomeKit Server.
homebridge.service: Unit entered failed state.
homebridge.service: Failed with result 'exit-code'.
Started Node.js HomeKit Server.
pam_unix(sudo:session): session closed for user root
[16.5.2020, 19:09:40] Loaded config.json with 2 accessories and 6 platforms.
[16.5.2020, 19:09:40] ---
[16.5.2020, 19:09:42] Plugin /usr/local/lib/node_modules/homebridge-platform-helper package.json does not contain the keyword 'homebridge-plugin'.
[16.5.2020, 19:09:42] Loaded plugin: homebridge-automation-switches
[16.5.2020, 19:09:42] Registering platform 'homebridge-automation-switches.AutomationSwitches'
[16.5.2020, 19:09:42] ---
[16.5.2020, 19:09:43] Loaded plugin: homebridge-broadlink-rm
[16.5.2020, 19:09:43] Registering platform 'homebridge-broadlink-rm.BroadlinkRM'
[16.5.2020, 19:09:43] ---
[16.5.2020, 19:09:43] Loaded plugin: homebridge-config-ui-x
[16.5.2020, 19:09:43] Registering platform 'homebridge-config-ui-x.config'
[16.5.2020, 19:09:43] ---
[16.5.2020, 19:09:44] Loaded plugin: homebridge-harmonyhub
[16.5.2020, 19:09:44] Registering platform 'homebridge-harmonyhub.HarmonyHub'
[16.5.2020, 19:09:44] ---
[16.5.2020, 19:09:45] Loaded plugin: homebridge-http-switch
[16.5.2020, 19:09:45] Registering accessory 'homebridge-http-switch.HTTP-SWITCH'
[16.5.2020, 19:09:45] ---
[16.5.2020, 19:09:46] Loaded plugin: homebridge-mcuiot
[16.5.2020, 19:09:46] Registering platform 'homebridge-mcuiot.mcuiot'
[16.5.2020, 19:09:46] ---
[16.5.2020, 19:09:46] Loaded plugin: homebridge-ssh
[16.5.2020, 19:09:46] Registering accessory 'homebridge-ssh.SSH'
[16.5.2020, 19:09:46] ---
[16.5.2020, 19:09:46] Loaded plugin: homebridge-tuya-web
[16.5.2020, 19:09:46] Registering platform 'homebridge-tuya-web.TuyaWebPlatform'
[16.5.2020, 19:09:46] ---
[16.5.2020, 19:09:46] Loading 6 platforms...
[16.5.2020, 19:09:46] [TuyaWebPlatform] Initializing TuyaWebPlatform platform...
[16.5.2020, 19:09:46] [Config] Initializing config platform...
[16.5.2020, 19:09:46] [Config] Spawning homebridge-config-ui-x with PID 3663
[16.5.2020, 19:09:46] [Harmony Hub] Initializing HarmonyHub platform...
[16.5.2020, 19:09:46] [Harmony Hub] Searching for Logitech Harmony remote hubs...
[16.5.2020, 19:09:46] [MCUIOT] Initializing mcuiot platform...
[16.5.2020, 19:09:46] [AutomationSwitches] Initializing AutomationSwitches platform...
[16.5.2020, 19:09:46] [AutomationSwitches] AutomationSwitchesPlatform Plugin Loaded - Version 3.2.1
[16.5.2020, 19:09:46] [AutomationSwitches] Found automation switch in config: "klingelt"
[16.5.2020, 19:09:46] Initializing platform accessory 'klingelt'...
[16.5.2020, 19:09:46] [Broadlink RM] Initializing BroadlinkRM platform...
[16.5.2020, 19:09:46] [Broadlink RM] [INFO] Automatically discovering Broadlink RM devices.
[16.5.2020, 19:09:46] [Broadlink RM] Stehlampe Accessory Ready
[16.5.2020, 19:09:46] [Broadlink RM] Cinewall Accessory Ready
[16.5.2020, 19:09:46] [Broadlink RM] Subwoofer Accessory Ready
[16.5.2020, 19:09:46] [Broadlink RM] Schrankbeleuchtung Accessory Ready
[16.5.2020, 19:09:46] [Broadlink RM] Gartenhaus Accessory Ready
[16.5.2020, 19:09:46] [Broadlink RM] Eckschrank Accessory Ready
[16.5.2020, 19:09:46] [Broadlink RM] Fensterbank Accessory Ready
[16.5.2020, 19:09:46] [Broadlink RM] Drucker Accessory Ready
[16.5.2020, 19:09:46] [Broadlink RM] Rollo 1 hoch Accessory Ready
[16.5.2020, 19:09:46] [Broadlink RM] Rollo 1 runter Accessory Ready
[16.5.2020, 19:09:46] [Broadlink RM] Rollo 1 Accessory Ready
[16.5.2020, 19:09:46] [Broadlink RM] Rollo 2 hoch Accessory Ready
[16.5.2020, 19:09:46] [Broadlink RM] Rollo 2 runter Accessory Ready
[16.5.2020, 19:09:46] [Broadlink RM] Rollo 2 Accessory Ready
[16.5.2020, 19:09:46] Loading 2 accessories...
[16.5.2020, 19:09:46] [Switch] Initializing HTTP-SWITCH accessory...
[16.5.2020, 19:09:46] [Switch] Switch successfully configured...
[16.5.2020, 19:09:46] [Web Blocking] Initializing SSH accessory...
[16.5.2020, 19:09:47] [MCUIOT] configureAccessory MCUIOT Reset Switch
[16.5.2020, 19:09:47] [MCUIOT] configureAccessory NODE-3C54D4
[16.5.2020, 19:09:47] [MCUIOT] Reading MCUIOT: NODE-3C54D4
[16.5.2020, 19:09:47] [MCUIOT] configureAccessory NODE-32D581
[16.5.2020, 19:09:47] [MCUIOT] Reading MCUIOT: NODE-32D581
[16.5.2020, 19:09:47] [MCUIOT] configureAccessory NODE-177D3F
[16.5.2020, 19:09:47] [MCUIOT] Reading MCUIOT: NODE-177D3F
[16.5.2020, 19:09:47] [MCUIOT] configureAccessory NODE-467718
[16.5.2020, 19:09:47] [MCUIOT] Reading MCUIOT: NODE-467718
[16.5.2020, 19:09:47] [MCUIOT] configureAccessory NODE-3B201F
[16.5.2020, 19:09:47] [MCUIOT] Reading MCUIOT: NODE-3B201F
[16.5.2020, 19:09:47] [TuyaWebPlatform] Configuring cached accessory [Badlampe ] bfc31fa896xxxxx4oyfk c4cb72ac-de16xxxxx927
[16.5.2020, 19:09:47] [TuyaWebPlatform] Configuring cached accessory [LED 02] bf92c9exxxxx6f9bmkoj b40b167d-c318-4f46-xxxx-9a2c2e68b3c2
[16.5.2020, 19:09:47] [TuyaWebPlatform] Initializing TuyaWebPlatform...
[16.5.2020, 19:09:47] [MCUIOT] Starting Bonjour listener
[16.5.2020, 19:09:47] [MCUIOT] Web Server listening on: http://localhost:8080
[16.5.2020, 19:09:47] Initializing platform accessory 'Learn'...
[16.5.2020, 19:09:47] Initializing platform accessory 'Scan Frequency'...
[16.5.2020, 19:09:47] Initializing platform accessory 'Stehlampe'...
[16.5.2020, 19:09:47] Initializing platform accessory 'Cinewall'...
[16.5.2020, 19:09:47] Initializing platform accessory 'Subwoofer'...
[16.5.2020, 19:09:47] Initializing platform accessory 'Schrankbeleuchtung'...
[16.5.2020, 19:09:47] Initializing platform accessory 'Gartenhaus'...
[16.5.2020, 19:09:47] Initializing platform accessory 'Eckschrank'...
[16.5.2020, 19:09:47] Initializing platform accessory 'Fensterbank'...
[16.5.2020, 19:09:47] Initializing platform accessory 'Drucker'...
[16.5.2020, 19:09:47] Initializing platform accessory 'Rollo 1 hoch'...
[16.5.2020, 19:09:47] Initializing platform accessory 'Rollo 1 runter'...
[16.5.2020, 19:09:47] Initializing platform accessory 'Rollo 1'...
[16.5.2020, 19:09:47] Initializing platform accessory 'Rollo 2 hoch'...
[16.5.2020, 19:09:47] Initializing platform accessory 'Rollo 2 runter'...
[16.5.2020, 19:09:47] Initializing platform accessory 'Rollo 2'...
[16.5.2020, 19:09:47] [Broadlink RM] Stehlampe getSwitchState: false
[16.5.2020, 19:09:47] [Broadlink RM] Cinewall getSwitchState: false
[16.5.2020, 19:09:47] [Broadlink RM] Subwoofer getSwitchState: true
[16.5.2020, 19:09:47] [Broadlink RM] Schrankbeleuchtung getSwitchState: false
[16.5.2020, 19:09:47] [Broadlink RM] Gartenhaus getSwitchState: false
[16.5.2020, 19:09:47] [Broadlink RM] Eckschrank getSwitchState: false
[16.5.2020, 19:09:47] [Broadlink RM] Fensterbank getSwitchState: false
[16.5.2020, 19:09:47] [Broadlink RM] Drucker getSwitchState: true
[16.5.2020, 19:09:47] [Broadlink RM] Rollo 1 hoch getSwitchState: false
[16.5.2020, 19:09:47] [Broadlink RM] Rollo 1 runter getSwitchState: false
[16.5.2020, 19:09:47] [Broadlink RM] Rollo 1 getCurrentPosition: 100
[16.5.2020, 19:09:47] [Broadlink RM] Rollo 1 getPositionState: 2
[16.5.2020, 19:09:47] [Broadlink RM] Rollo 1 getTargetPosition: 100
[16.5.2020, 19:09:47] [Broadlink RM] Rollo 2 hoch getSwitchState: false
[16.5.2020, 19:09:47] [Broadlink RM] Rollo 2 getCurrentPosition: 100
[16.5.2020, 19:09:47] [Broadlink RM] Rollo 2 getPositionState: 2
[16.5.2020, 19:09:47] [Broadlink RM] Rollo 2 getTargetPosition: 100
[16.5.2020, 19:09:47] [TuyaWebPlatform] Adding: LED 02 (light / bf92c9edxxxxxkoj)
[16.5.2020, 19:09:47] [TuyaWebPlatform] Existing Accessory found [LED 02] [bf92c9xxxxx9bmkoj] [b40b167d-c318-4f46-xxxx-9a2c2e68b3c2]
[16.5.2020, 19:09:47] [TuyaWebPlatform] Adding: Badlampe (light / bfc31fa8xxxxx074oyfk)
[16.5.2020, 19:09:47] [TuyaWebPlatform] Existing Accessory found [Badlampe ] [bfc31fa89xxxxx4oyfk] [c4cb72ac-de16-4fbc-xxxx-ac7c355cb927]
[16.5.2020, 19:09:47] [MCUIOT] Skipping NODE-32D581
[16.5.2020, 19:09:47] [MCUIOT] Skipping NODE-467718
[16.5.2020, 19:09:47] [MCUIOT] Skipping NODE-177D3F
[16.5.2020, 19:09:47] [MCUIOT] Skipping NODE-3C54D4
[16.5.2020, 19:09:47] [Broadlink RM] [INFO] Discovered Broadlink RM3 Pro Plus (279d) at 192.168.2.183 (34:ea:34:43:04:96)
[16.5.2020, 19:09:47] [MCUIOT] Skipping NODE-3B201F
[16.5.2020, 19:09:48] [Broadlink RM]
[16.5.2020, 19:09:48] [Broadlink RM] **************************************************************************************************************
[16.5.2020, 19:09:48] [Broadlink RM] ** Welcome to version 3.6.22 of the Homebridge Broadlink RM Plugin!
[16.5.2020, 19:09:48] [Broadlink RM] **
[16.5.2020, 19:09:48] [Broadlink RM] ** Find out what's in the latest release here: https://github.com/lprhodes/homebridge-broadlink-rm/releases
[16.5.2020, 19:09:48] [Broadlink RM] **
[16.5.2020, 19:09:48] [Broadlink RM] ** If you like this plugin then please star it on GitHub or better yet
[16.5.2020, 19:09:48] [Broadlink RM] ** buy me a drink using Paypal https://paypal.me/lprhodes or crypto https://goo.gl/bEn1RW.
[16.5.2020, 19:09:48] [Broadlink RM] **
[16.5.2020, 19:09:48] [Broadlink RM] ** Keep up to date with this plugin along with everything HomeKit and homebridge
[16.5.2020, 19:09:48] [Broadlink RM] ** by signing up to my newsletter at http://workswith.io
[16.5.2020, 19:09:48] [Broadlink RM] **
[16.5.2020, 19:09:48] [Broadlink RM] ** You can disable this message by adding "hideWelcomeMessage": true to the config (see config-sample.json).
[16.5.2020, 19:09:48] [Broadlink RM] **
[16.5.2020, 19:09:48] [Broadlink RM] **************************************************************************************************************
[16.5.2020, 19:09:48] [Broadlink RM]
[16.5.2020, 19:09:48] [Broadlink RM] [Warning] Stehlampe: The "switch-repeat" accessory is now deprecated and shall be removed in the future. Check out the updated "switch" documentation at http://github.com/lprhodes/homebridge-broadlink-rm
[16.5.2020, 19:09:48] [Broadlink RM] [Warning] Cinewall: The "switch-repeat" accessory is now deprecated and shall be removed in the future. Check out the updated "switch" documentation at http://github.com/lprhodes/homebridge-broadlink-rm
[16.5.2020, 19:09:48] [Broadlink RM] [Warning] Subwoofer: The "switch-repeat" accessory is now deprecated and shall be removed in the future. Check out the updated "switch" documentation at http://github.com/lprhodes/homebridge-broadlink-rm
[16.5.2020, 19:09:48] [Broadlink RM] [Warning] Schrankbeleuchtung: The "switch-repeat" accessory is now deprecated and shall be removed in the future. Check out the updated "switch" documentation at http://github.com/lprhodes/homebridge-broadlink-rm
[16.5.2020, 19:09:48] [Broadlink RM] [Warning] Gartenhaus: The "switch-repeat" accessory is now deprecated and shall be removed in the future. Check out the updated "switch" documentation at http://github.com/lprhodes/homebridge-broadlink-rm
[16.5.2020, 19:09:48] [Broadlink RM] [Warning] Eckschrank: The "switch-repeat" accessory is now deprecated and shall be removed in the future. Check out the updated "switch" documentation at http://github.com/lprhodes/homebridge-broadlink-rm
[16.5.2020, 19:09:48] [Broadlink RM] [Warning] Fensterbank: The "switch-repeat" accessory is now deprecated and shall be removed in the future. Check out the updated "switch" documentation at http://github.com/lprhodes/homebridge-broadlink-rm
[16.5.2020, 19:09:48] [Broadlink RM] [Warning] Drucker: The "switch-repeat" accessory is now deprecated and shall be removed in the future. Check out the updated "switch" documentation at http://github.com/lprhodes/homebridge-broadlink-rm
[16.5.2020, 19:09:53] [Config] Homebridge Config UI X v4.19.0 is listening on :: port 8081
Plugin /usr/local/lib/node_modules/homebridge-platform-helper package.json does not contain the keyword 'homebridge-plugin'.
Keine Ahnung fuer dieses Plugin da ist, aber da scheint ne Info zu fehlen...
Alles anzeigen[Warning] Stehlampe: The "switch-repeat" accessory is now deprecated and shall be removed in the future. Check out the updated "switch" documentation at http://github.com/lprhodes/homebridge-broadlink-rm
[16.5.2020, 19:09:48] [Broadlink RM] [Warning] Cinewall: The "switch-repeat" accessory is now deprecated and shall be removed in the future. Check out the updated "switch" documentation at http://github.com/lprhodes/homebridge-broadlink-rm
[16.5.2020, 19:09:48] [Broadlink RM] [Warning] Subwoofer: The "switch-repeat" accessory is now deprecated and shall be removed in the future. Check out the updated "switch" documentation at http://github.com/lprhodes/homebridge-broadlink-rm
[16.5.2020, 19:09:48] [Broadlink RM] [Warning] Schrankbeleuchtung: The "switch-repeat" accessory is now deprecated and shall be removed in the future. Check out the updated "switch" documentation at http://github.com/lprhodes/homebridge-broadlink-rm
[16.5.2020, 19:09:48] [Broadlink RM] [Warning] Gartenhaus: The "switch-repeat" accessory is now deprecated and shall be removed in the future. Check out the updated "switch" documentation at http://github.com/lprhodes/homebridge-broadlink-rm
[16.5.2020, 19:09:48] [Broadlink RM] [Warning] Eckschrank: The "switch-repeat" accessory is now deprecated and shall be removed in the future. Check out the updated "switch" documentation at http://github.com/lprhodes/homebridge-broadlink-rm
[16.5.2020, 19:09:48] [Broadlink RM] [Warning] Fensterbank: The "switch-repeat" accessory is now deprecated and shall be removed in the future. Check out the updated "switch" documentation at http://github.com/lprhodes/homebridge-broadlink-rm
[16.5.2020, 19:09:48] [Broadlink RM] [Warning] Drucker: The "switch-repeat" accessory is now deprecated and shall be removed in the future. Check out the updated "switch" documentation at http://github.com/lprhodes/homebridge-broadlink-rm
Es scheint als wuerde sich das accessory "switch-repeat" in "switch" aendern... Vielleicht mal config aktualisieren?!
Hi ...
Also den "switch-repeat" habe ich schon in "switch" umbenannt ... die HB startet trotzdem nicht.
Und in der package.json vom homebridge-platform-helper habe ich "homebridge-plugin" bei den Keywords hinzugefügt ... hilft also auch nicht ...
Werde nun mal versuchen den "homebridge-platform-helper" runter zu schmeissen, weiß auch gar nicht
genau wo der herkommt
Gruß und Danke ... Kai !
Hm ...
ich denke fast, das "Neu-Aufsetzen" schneller geht als zur reparieren ...
Nur wird das einrichten auf dem iPhone dann wieder mühsam.
Hab ja zum Glück die config.json gesichert.
Ist nur die Frage on die HB dann läuft oder ob ich sie wieder abschiesse,
bei der Installation der PlugIns
CU Kai
Nimm doch den Teil der config raus und deinstallier das Plugin und schau ob sie durchstartet, wenn ja weißt du woran es liegt, wenn sich nix aendert, dann wieder rein und mit dem naechsten Plugin weitermachen...
Mach ein Backup mit homebridge-config-ui-x! Oben rechts die drei Punkte anklicken. Damit wird die gesamte Konfiguration gesichert.
Es scheint echt an dem Broadlink RM PlugIn zu liegen ...
Aber mit dem soll es vielleicht klappen:
https://github.com/Defensor7/homebridge-broadlink-rm
NUr wie bekommt man das auf den Raspi?
CU Kai
Hallo zusammen ...
So, erster Versuch gescheitert ... habe die HB komplett neu aufgesetzt und dann bin ich bis zum
Broadlink-PlugIn gut durchgekommen ... aber nachdem ich das installiert habe, lief sie wieder nicht.
Denke das ich nochmal von vorne starte und dann unter HB 1.0.0 bleibe bis das Broadlink-PlugIn läuft.
Mal sehen ... schönen Sonntag erstmal ... CU Kai
Moin!
Ich hatte auch Probleme mit dem Plugin.
Steht bei Dir im Log was von cant find hap-nodejs ?
Dann probier mal:
sudo npm -g i --unsafe-perm hap-nodejs
Danach ging es bei mir.
Grüße,
Jo
NUr wie bekommt man das auf den Raspi?
sudo npm install -g --unsafe-perm https://github.com/Defensor7/homebridge-broadlink-rm.git