Hallo an alle
habe den auf dem Pi Homebridge am laufen wie es hier im Forum schön beschrieben worden ist das System lief auch Problemlos mit meiner Config und den installierten Plugins. Als ich die App am handy öffnete wurde mir angezeigt das es verschiedene updates für meine plugins gibt.
Diese habe ich installiert und nun startet meine Homebridge nicht mehr. Kann mir jemand helfen? wo ist der Fehler?
Meine installierten Plugins:
pi@raspberrypi:~ $ sudo npm list -g --depth=0
/usr/local/lib
Der Log der Homebridge:
[5/1/2020, 21:33:43] [Config] Homebridge Config UI X v4.17.1 is listening on :: port 8080
homebridge.service: Main process exited, code=exited, status=143/n/a
homebridge.service: Failed with result 'exit-code'.
homebridge.service: Service RestartSec=10s expired, scheduling restart.
homebridge.service: Scheduled restart job, restart counter is at 5.
Stopped Node.js HomeKit Server.
Started Node.js HomeKit Server.
[5/1/2020, 21:33:56] Loaded config.json with 4 accessories and 2 platforms.
[5/1/2020, 21:33:56] ---
[5/1/2020, 21:33:57] Loaded plugin: homebridge-config-ui-x
[5/1/2020, 21:33:57] Registering platform 'homebridge-config-ui-x.config'
[5/1/2020, 21:33:57] ---
[5/1/2020, 21:33:57] Plugin /usr/local/lib/node_modules/homebridge-hue requires Node version of ^12.16.2 which does not satisfy the current Node version of v12.14.0. You may need to upgrade your installation of Node.
[5/1/2020, 21:33:58] Loaded plugin: homebridge-hue
[5/1/2020, 21:33:58] Registering platform 'homebridge-hue.Hue'
[5/1/2020, 21:33:58] ---
[5/1/2020, 21:33:58] Loaded plugin: homebridge-simple-shelly
[5/1/2020, 21:33:58] Registering accessory 'homebridge-simple-shelly.SimpleShelly'
[5/1/2020, 21:33:58] ---
[5/1/2020, 21:33:58] Loaded plugin: homebridge-weather
[5/1/2020, 21:33:59] Registering accessory 'homebridge-weather.Weather'
[5/1/2020, 21:33:59] ---
[5/1/2020, 21:34:00] Loaded plugin: homebridge-xiaomi-mi-robot-vacuum
[5/1/2020, 21:34:00] Registering accessory 'homebridge-xiaomi-mi-robot-vacuum.MiRobotVacuum'
[5/1/2020, 21:34:00] ---
[5/1/2020, 21:34:00] Loading 2 platforms...
[5/1/2020, 21:34:00] [Config] Initializing config platform...
[5/1/2020, 21:34:00] [Config] Spawning homebridge-config-ui-x with PID 930
[5/1/2020, 21:34:00] [Hue] Initializing Hue platform...
[5/1/2020, 21:34:00] [Hue] homebridge-hue v0.11.64, node v12.14.0, homebridge v1.0.4
[5/1/2020, 21:34:00] [Hue] warning: not using recommended node version v12.16.2 LTS
[5/1/2020, 21:34:00] Loading 4 accessories...
[5/1/2020, 21:34:00] Error loading accessory requested in your config.json at position 1
[5/1/2020, 21:34:00] Error: The requested accessory 'XiaomiRoborockVacuum' was not registered by any plugin.
at PluginManager.getPluginForAccessory (/usr/local/lib/node_modules/homebridge/src/pluginManager.ts:197:15)
at /usr/local/lib/node_modules/homebridge/src/server.ts:346:37
at Array.forEach (<anonymous>)
at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/src/server.ts:329:29)
at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:155:12)
at cli (/usr/local/lib/node_modules/homebridge/src/cli.ts:78:10)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (internal/modules/cjs/loader.js:959:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
at Module.load (internal/modules/cjs/loader.js:815:32)
[5/1/2020, 21:34:00] Got SIGTERM, shutting down Homebridge...
[5/1/2020, 21:34:00] [Hue] searching bridges and gateways
[5/1/2020, 21:34:02] [Config] Homebridge Config UI X v4.17.1 is listening on :: port 8080
homebridge.service: Main process exited, code=exited, status=143/n/a
homebridge.service: Failed with result 'exit-code'.
und meine Config.
pi@raspberrypi:~ $ sudo grep '' /var/homebridge/config.json
{
"accessories": [
{
"accessory": "XiaomiRoborockVacuum",
"dock": false,
"ip": "192.168.178.31",
"name": "Staubsauger",
"pause": false,
"token": "4930784930484c663077395563683448"
},
{
"accessory": "SimpleShelly",
"channel": 0,
"name": "Wohnzimmerlicht",
"url": "http://192.168.178.46"
},
{
"accessory": "SimpleShelly",
"channel": 0,
"name": "Schlafzimmerlicht",
"url": "http://192.168.178.50"
},
{
"accessory": "Weather",
"apikey": "5141274a54942870a29d31b42fa5fb89",
"enableHistory": true,
"location": "Stuttgart,de",
"name": "Temperatursensor",
"nameHumidity": "Feuchtigkeitssensor",
"pollingInterval": 10,
"showHumidity": true
}
],
"bridge": {
"name": "Homebridge",
"pin": "031-45-154",
"port": 51826,
"username": "CC:22:3D:E3:CE:30"
},
"description": "Home Smart Home",
"platforms": [
{
"name": "Config",
"port": 8080,
"auth": "form",
"theme": "dark-mode",
"restart": "sudo -n systemctl restart homebridge",
"temp": "/sys/class/thermal/thermal_zone0/temp",
"tempUnits": "c",
"lang": "auto",
"sudo": true,
"log": {
"method": "custom",
"command": "journalctl -o cat -n 500 -f -u homebridge"
},
"platform": "config"
},
{
"platform": "Hue",
"users": {
"001788FFFE4AAD93": "NPWuFgd6jluYbvsIQPVPi4BY71P5pBCfnPavwvDE"
},
"lights": true
}
]
}
pi@raspberrypi:~ $
Habe ich was vergessen? ich nutze einen Pi4 und die Homebridge die installiert worden ist ist die vom smartapfel Forum hier.
Ich würde mich sehr über eure Hilfe freuen
Ich habe es zum laufen gebracht.
In der Config.json musste ich den
"accessory": "XiaomiRoborockVacuum",
in
"accessory": "MiRobotVacuum",
ändern nun läuft die Homebridge wieder hoch