Welchen Port nehme ich da am besten? Oder kann ich mir da eine Nummer ausdenken ?
Mein HUE Plugin läuft z.B. auf dem Port 7474.
Ich muss mich korrigieren, den Port des HUE Plugins solltest du ändern!
Die HB läuft auf einem 5 stelligen Port😅.
Welchen Port nehme ich da am besten? Oder kann ich mir da eine Nummer ausdenken ?
Mein HUE Plugin läuft z.B. auf dem Port 7474.
Ich muss mich korrigieren, den Port des HUE Plugins solltest du ändern!
Die HB läuft auf einem 5 stelligen Port😅.
Welchen Port nehme ich da am besten? Oder kann ich mir da eine Nummer ausdenken ?
Ja, eine zwischen 1024 und 65535 und sie darf nicht schon verwendet werden, beispielsweise 8888.
So sieht meine Hue-Konfiguration aus:
{
"platform": "Hue",
"host": "192.168.1.23",
"lights": true,
"users": {
"001788FFFA12345": "woxYx1QYLP1xYxGji123fKyXy10-35KLK3mblgRy"
}
},
Die IP-Adresse, die man da sieht, ist die von meiner Hue-Bridge.
super danke, hat geklappt.
Danke
Leute, ich bitte um Hilfe sonst werde ich hier Wahnsinnig und schmetter alles hier mit ner Axt kaputt
Meine Homebridge läuft und sehe sie auch in der Homeapp, diverse Plugins funzen auch. Doch es hapert hier mit dem Button drücken und den Benutzer anlegen. Hab jetzt schon etliche Male das Hue Plugin neu installiert, gefühlte 100 Mal den Knopf an der Hue Bridge gedrückt....nichts.
Ich bekomme auch Fehlermeldungen im Terminal, das die Node Version veraltet ist, obwohl eine neuere als vom plugin erfordert installiert ist.
Meine Config:
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"manufacturer": "homebridge.io",
"model": "homebridge",
"port": 51826,
"pin": "031-45-154"
},
"description": "Home Smart Home",
"platforms": [
{
"platform": "config",
"name": "Config",
"port": 8080,
"auth": "form",
"theme": "red",
"restart": "sudo -n systemctl restart homebridge",
"temp": "/sys/class/thermal/thermal_zone0/temp",
"sudo": true,
"log": {
"method": "custom",
"command": "journalctl -o cat -n 500 -f -u homebridge"
}
},
{
"devices": [
{
"name": "VU Uno 4K SE",
"hostname": "192.168.178.49",
"port": 80,
"username": "xxxxx",
"password": "XXXXXXX"
}
],
"platform": "Dreambox"
},
{
"platform": "FritzPlatform",
"name": "FritzPlatform",
"devices": {
"FRITZ!Box 7490": {
"active": true,
"host": "192.168.178.1",
"port": 49000,
"username": "xxxxxxxx",
"password": "xxxxxxxxxxxxxx",
"type": "dsl",
"master": true,
"mesh": false,
"readOnly": false,
"options": {
"reconnect": false,
"wifi2": [
false,
false
],
"wifi5": [
false,
false
],
"wifiGuest": [
false,
false
],
"wps": [
false,
false
],
"aw": [
false,
false
],
"deflection": [
false,
false
],
"led": [
false,
false
],
"lock": [
false,
false
]
}
}
},
"smarthome": {
"Test Contact Sensor": {
"active": false,
"ain": "01234567890",
"devType": "contact"
},
"Thermostat Links": {
"active": true,
"ain": "099950340074",
"heatValue": 4,
"coolValue": 4,
"windowSensor": false,
"devType": "thermostat"
},
"Thermostat Rechts": {
"active": true,
"ain": "099950480512",
"heatValue": 4,
"coolValue": 4,
"windowSensor": false,
"devType": "thermostat"
},
"Test Outlet Device": {
"active": false,
"ain": "01234567890",
"tempSensor": false,
"devType": "switch"
}
},
"callmonitor": {
"active": false,
"ip": "0.0.0.0",
"port": 1012,
"country": "",
"incomingTo": [],
"outgoingFrom": []
},
"presence": {
"user": [
{
"active": false,
"name": "Test User",
"address": "0.0.0.0"
}
],
"anyone": false,
"offDelay": 90,
"onDelay": 15,
"ping": false
},
"wol": [
{
"active": false,
"name": "Test Device",
"address": "00:00:00:00:00:00"
}
],
"phoneBook": {
"active": false,
"blacklists": []
},
"alarm": {
"active": false,
"telNr": "",
"duration": 30
},
"wakeup": {
"active": false,
"internNr": "",
"duration": 30
},
"ringlock": {
"active": false,
"DECTphones": 1,
"start": "11:00",
"end": "22:00"
},
"broadband": {
"active": false,
"measureTime": 5
},
"extReboot": {
"active": false,
"cmdOn": "",
"cmdOff": ""
},
"telegram": {
"active": false,
"token": "",
"chatID": "",
"presence": {
"in": "",
"out": "",
"anyoneIn": "",
"anyoneOut": ""
},
"callmonitor": {
"incoming": "",
"disconnected": ""
},
"alarm": {
"activated": "",
"deactivated": ""
},
"extReboot": {
"start": "",
"finish": ""
}
},
"polling": 10,
"timeout": 10,
"clearCache": false,
"debug": false,
"disableAutoSearch": false,
"disableAutoConfig": false
},
{
"name": "Hue",
"anyOn": true,
"hosts": [
"192.168.178.20"
],
"nativeHomeKitLights": true,
"nativeHomeKitSensors": true,
"nupnp": true,
"resource": true,
"platform": "Hue"
}
],
"accessories": [],
"id": "config"
}
Alles anzeigen
Im Terminal kommt einiges, zum Beispiel:
pi@raspberrypi:~ $ sudo npm -g i homebridge-hue
/usr/local/bin/dc_eventlog -> /usr/local/lib/node_modules/homebridge-hue/cli/dc_eventlog.js
/usr/local/bin/ph -> /usr/local/lib/node_modules/homebridge-hue/cli/ph.js
npm WARN notsup Unsupported engine for [email protected]: wanted: {"BSB001":"1.16.0","BSB002":"1.41.0","deCONZ":"2.5.84","homebridge":"^1.1.0","node":"^12.19.0"} (current: {"node":"14.15.0","npm":"6.14.8"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm WARN notsup Unsupported engine for [email protected]: wanted: {"homebridge":"^1.1.0","node":"^12.19.0"} (current: {"node":"14.15.0","npm":"6.14.8"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
+ [email protected]
added 83 packages from 109 contributors in 32.065s
pi@raspberrypi:~ $ sudo systemctl restart homebridge; sudo journalctl -fau homebridge
-- Logs begin at Wed 2020-11-04 17:17:01 CET. --
Nov 04 17:37:53 raspberrypi systemd[1]: Stopping Node.js HomeKit Server...
Nov 04 17:37:53 raspberrypi homebridge[1165]: [04/11/2020, 17:37:53] Got SIGTERM, shutting down Homebridge...
Nov 04 17:37:58 raspberrypi systemd[1]: homebridge.service: Main process exited, code=exited, status=143/n/a
Nov 04 17:37:58 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.
Nov 04 17:37:58 raspberrypi systemd[1]: Stopped Node.js HomeKit Server.
Nov 04 17:37:58 raspberrypi systemd[1]: homebridge.service: Found left-over process 1185 (node) in control group while starting unit. Ignoring.
Nov 04 17:37:58 raspberrypi systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Nov 04 17:37:58 raspberrypi systemd[1]: homebridge.service: Found left-over process 1784 (journalctl) in control group while starting unit. Ignoring.
Nov 04 17:37:58 raspberrypi systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Nov 04 17:37:58 raspberrypi systemd[1]: Started Node.js HomeKit Server.
Nov 04 17:38:00 raspberrypi homebridge[1790]: [04/11/2020, 17:37:59] Loaded config.json with 0 accessories and 4 platforms.
Nov 04 17:38:00 raspberrypi homebridge[1790]: [04/11/2020, 17:38:00] ---
Nov 04 17:38:01 raspberrypi homebridge[1790]: [04/11/2020, 17:38:01] Loaded plugin: [email protected]
Nov 04 17:38:01 raspberrypi homebridge[1790]: [04/11/2020, 17:38:01] Registering platform 'homebridge-config-ui-x.config'
Nov 04 17:38:01 raspberrypi homebridge[1790]: [04/11/2020, 17:38:01] ---
Nov 04 17:38:01 raspberrypi homebridge[1790]: [04/11/2020, 17:38:01] Loaded plugin: [email protected]
Nov 04 17:38:01 raspberrypi homebridge[1790]: [04/11/2020, 17:38:01] Registering platform 'homebridge-dreambox.Dreambox'
Nov 04 17:38:01 raspberrypi homebridge[1790]: [04/11/2020, 17:38:01] ---
Nov 04 17:38:01 raspberrypi homebridge[1790]: [04/11/2020, 17:38:01] The plugin "homebridge-fritz-platform" requires Node version of ^12.0.0 which does not satisfy the current Node version of v14.15.0. You may need to upgrade your installation of Node.
Nov 04 17:38:01 raspberrypi homebridge[1790]: [04/11/2020, 17:38:01] Loaded plugin: [email protected]
Nov 04 17:38:02 raspberrypi homebridge[1790]: [04/11/2020, 17:38:02] Registering platform 'homebridge-fritz-platform.FritzPlatform'
Nov 04 17:38:02 raspberrypi homebridge[1790]: [04/11/2020, 17:38:02] ---
Nov 04 17:38:02 raspberrypi homebridge[1790]: [04/11/2020, 17:38:02] The plugin "homebridge-hue" requires Node version of ^12.19.0 which does not satisfy the current Node version of v14.15.0. You may need to upgrade your installation of Node.
Nov 04 17:38:05 raspberrypi homebridge[1790]: [04/11/2020, 17:38:05] Loaded plugin: [email protected]
Nov 04 17:38:05 raspberrypi homebridge[1790]: [04/11/2020, 17:38:05] Registering platform 'homebridge-hue.Hue'
Nov 04 17:38:05 raspberrypi homebridge[1790]: [04/11/2020, 17:38:05] ---
Nov 04 17:38:05 raspberrypi homebridge[1790]: [04/11/2020, 17:38:05] Loading 4 platforms...
Nov 04 17:38:05 raspberrypi homebridge[1790]: [04/11/2020, 17:38:05] [Config] Initializing config platform...
Nov 04 17:38:05 raspberrypi homebridge[1790]: [04/11/2020, 17:38:05] [Config] Spawning homebridge-config-ui-x with PID 1812
Nov 04 17:38:05 raspberrypi homebridge[1790]: [04/11/2020, 17:38:05] [Dreambox] Initializing Dreambox platform...
Nov 04 17:38:05 raspberrypi homebridge[1790]: [04/11/2020, 17:38:05] [FritzPlatform] Initializing FritzPlatform platform...
Nov 04 17:38:05 raspberrypi homebridge[1790]: [04/11/2020, 17:38:05] [FritzPlatform] [INFO] **************************************************************
Nov 04 17:38:05 raspberrypi homebridge[1790]: [04/11/2020, 17:38:05] [FritzPlatform] [INFO] FritzPlatform v4.1.1 by SeydX
Nov 04 17:38:05 raspberrypi homebridge[1790]: [04/11/2020, 17:38:05] [FritzPlatform] [INFO] GitHub: https://github.com/SeydX/homebridge-fritz-platform
Nov 04 17:38:05 raspberrypi homebridge[1790]: [04/11/2020, 17:38:05] [FritzPlatform] [INFO] Email: [email protected]
Nov 04 17:38:05 raspberrypi homebridge[1790]: [04/11/2020, 17:38:05] [FritzPlatform] [INFO] **************************************************************
Nov 04 17:38:05 raspberrypi homebridge[1790]: [04/11/2020, 17:38:05] [FritzPlatform] [INFO] start success...
Nov 04 17:38:05 raspberrypi homebridge[1790]: [04/11/2020, 17:38:05] [Hue] Initializing Hue platform...
Nov 04 17:38:05 raspberrypi homebridge[1790]: [04/11/2020, 17:38:05] [Hue] homebridge-hue v0.11.77, node v14.15.0, homebridge v1.1.6
Nov 04 17:38:05 raspberrypi homebridge[1790]: [04/11/2020, 17:38:05] [Hue] warning: not using recommended node version v12.19.0 LTS
Nov 04 17:38:06 raspberrypi homebridge[1790]: [04/11/2020, 17:38:06] [FritzPlatform] [INFO] Auto Device Search is enabled, searching for devices in network...
Nov 04 17:38:06 raspberrypi homebridge[1790]: [04/11/2020, 17:38:06] VU Uno 4K SE is running on port 42773.
Nov 04 17:38:06 raspberrypi homebridge[1790]: [04/11/2020, 17:38:06] Please add [VU Uno 4K SE] manually in Home app. Setup Code: 031-45-154
Nov 04 17:38:06 raspberrypi homebridge[1790]: [04/11/2020, 17:38:06] [Hue] npm registry: TypeError [ERR_INVALID_ARG_TYPE]: The "listener" argument must be of type function. Received an instance of Object
Nov 04 17:38:06 raspberrypi homebridge[1790]: at checkListener (events.js:111:11)
Nov 04 17:38:06 raspberrypi homebridge[1790]: at ClientRequest.once (events.js:435:3)
Nov 04 17:38:06 raspberrypi homebridge[1790]: at new ClientRequest (_http_client.js:202:10)
Nov 04 17:38:06 raspberrypi homebridge[1790]: at Object.request (https.js:313:10)
Nov 04 17:38:06 raspberrypi homebridge[1790]: at Object.request (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/http-proxy-agent/node_modules/agent-base/patch-core.js:25:22)
Nov 04 17:38:06 raspberrypi homebridge[1790]: at HttpClient.request (/usr/local/lib/node_modules/homebridge-hue/node_modules/homebridge-lib/lib/HttpClient.js:226:32)
Nov 04 17:38:06 raspberrypi homebridge[1790]: at HttpClient.get (/usr/local/lib/node_modules/homebridge-hue/node_modules/homebridge-lib/lib/HttpClient.js:136:17)
Nov 04 17:38:06 raspberrypi homebridge[1790]: at HuePlatform.accessories (/usr/local/lib/node_modules/homebridge-hue/lib/HuePlatform.js:277:38)
Nov 04 17:38:06 raspberrypi homebridge[1790]: at /usr/local/lib/node_modules/homebridge/src/server.ts:415:24
Nov 04 17:38:06 raspberrypi homebridge[1790]: at new Promise (<anonymous>)
Nov 04 17:38:06 raspberrypi homebridge[1790]: [04/11/2020, 17:38:06] [Hue] Philips hue: Philips BSB002 bridge v1941056000, api v1.41.0
Nov 04 17:38:06 raspberrypi homebridge[1790]: [04/11/2020, 17:38:06] [Hue] Philips hue: bridge request 1: post / {"devicetype":"homebridge-hue#raspberrypi"}
Nov 04 17:38:06 raspberrypi homebridge[1790]: [04/11/2020, 17:38:06] [Hue] Philips hue: bridge communication error: TypeError [ERR_INVALID_ARG_TYPE]: The "listener" argument must be of type function. Received an instance of Object
Nov 04 17:38:06 raspberrypi homebridge[1790]: at checkListener (events.js:111:11)
Nov 04 17:38:06 raspberrypi homebridge[1790]: at ClientRequest.once (events.js:435:3)
Nov 04 17:38:06 raspberrypi homebridge[1790]: at new ClientRequest (_http_client.js:202:10)
Nov 04 17:38:06 raspberrypi homebridge[1790]: at Object.request (https.js:313:10)
Nov 04 17:38:06 raspberrypi homebridge[1790]: at Object.request (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/http-proxy-agent/node_modules/agent-base/patch-core.js:25:22)
Nov 04 17:38:06 raspberrypi homebridge[1790]: at HttpClient.request (/usr/local/lib/node_modules/homebridge-hue/node_modules/homebridge-lib/lib/HttpClient.js:226:32)
Nov 04 17:38:06 raspberrypi homebridge[1790]: at HueClient._request (/usr/local/lib/node_modules/homebridge-hue/lib/HueClient.js:328:41)
Nov 04 17:38:06 raspberrypi homebridge[1790]: at HueBridge.request (/usr/local/lib/node_modules/homebridge-hue/lib/HueBridge.js:1139:43)
Nov 04 17:38:06 raspberrypi homebridge[1790]: at processTicksAndRejections (internal/process/task_queues.js:93:5)
Nov 04 17:38:06 raspberrypi homebridge[1790]: at HueBridge.createUser (/usr/local/lib/node_modules/homebridge-hue/lib/HueBridge.js:300:17)
Nov 04 17:38:06 raspberrypi homebridge[1790]: [04/11/2020, 17:38:06] [Hue] Philips hue: press link button on the bridge to create a user - retrying in 15s
Nov 04 17:38:08 raspberrypi homebridge[1790]: [04/11/2020, 17:38:08] [Dreambox] Device: 192.168.178.49, configured 203 channel(s)
Nov 04 17:38:13 raspberrypi homebridge[1790]: [04/11/2020, 17:38:13] [Homebridge UI] Homebridge Config UI X v4.31.0 is listening on :: port 8080
Nov 04 17:38:14 raspberrypi homebridge[1790]: [04/11/2020, 17:38:14] [Dreambox] Error: Cannot add more than 100 services to a single accessory!
Nov 04 17:38:14 raspberrypi homebridge[1790]: at Accessory._this.addService (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:286:13)
Nov 04 17:38:14 raspberrypi homebridge[1790]: at PlatformAccessory.addService (/usr/local/lib/node_modules/homebridge/src/platformAccessory.ts:92:41)
Nov 04 17:38:14 raspberrypi homebridge[1790]: at DreamboxAccessory.createInputSource (/usr/local/lib/node_modules/homebridge-dreambox/dreambox-accessory.js:124:21)
Nov 04 17:38:14 raspberrypi homebridge[1790]: at /usr/local/lib/node_modules/homebridge-dreambox/dreambox-accessory.js:99:18
Nov 04 17:38:14 raspberrypi homebridge[1790]: at Array.forEach (<anonymous>)
Nov 04 17:38:14 raspberrypi homebridge[1790]: at /usr/local/lib/node_modules/homebridge-dreambox/dreambox-accessory.js:95:18
Nov 04 17:38:14 raspberrypi homebridge[1790]: at processTicksAndRejections (internal/process/task_queues.js:93:5)
Nov 04 17:38:14 raspberrypi homebridge[1790]: [04/
Alles anzeigen
Bin ziemlich ratlos gerade
Die Warnungen bezüglich der Node-Version habe ich auch und sie spielen keine Rolle.
Mich irritiert eher die fette Zeile:
Nov 04 17:38:06 raspberrypi homebridge[1790]: [04/11/2020, 17:38:06] [Hue] npm registry: TypeError [ERR_INVALID_ARG_TYPE]: The "listener" argument must be of type function. Received an instance of Object
Nov 04 17:38:06 raspberrypi homebridge[1790]: at checkListener (events.js:111:11)
Nov 04 17:38:06 raspberrypi homebridge[1790]: at ClientRequest.once (events.js:435:3)
Nov 04 17:38:06 raspberrypi homebridge[1790]: at new ClientRequest (_http_client.js:202:10)
Nov 04 17:38:06 raspberrypi homebridge[1790]: at Object.request (https.js:313:10)
Nov 04 17:38:06 raspberrypi homebridge[1790]: at Object.request (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/http-proxy-agent/node_modules/agent-base/patch-core.js:25:22)
Mich wundert, dass da irgendwie die homebridge-fritz-platform involviert ist. Lösungsvorschläge: keine (außer die temporär rauswerfen). Verstehe ich nicht.
Kohle_81 Ich hab schon einige male das Plugin jetzt neu installiert und es probiert. Viellicht mache ich immer wieder den gleichen unbewussten Fehler bei der Erstinstallation Ich frag mich ständig wann genau ich die Taste an der Hue Bridge drücken soll....hab da gefühlt schon alles probiert.
Und ja, ich bin auf Node 14.15
sschuste Sollte ich zum Testen mal die Fritz Plattform deinstallieren?
Kohle_81 Ich hab schon einige male das Plugin jetzt neu installiert und es probiert. Viellicht mache ich immer wieder den gleichen unbewussten Fehler bei der Erstinstallation Ich frag mich ständig wann genau ich die Taste an der Hue Bridge drücken soll....hab da gefühlt schon alles probiert.
Als ich das Hue Plugin installiert habe, konnte man im Log sehen, das der dauernd gesagt hat, das der Knopf nicht gedrückt wurde.
Und das alle 15 Sekunden.
Als ich den gedrückt habe, kam sofort der User.
Das stand auch ständig bei mir mit den 15 Sekunden und das man drücken soll.....hab da 50 mal in unterschiedlicher Reihenfolge gedrückt...ist nie was passiert im Terminal
Könnte es in der config an dem Wort „hosts“ liegen?
Du verwendest nur eine Bridge, oder? Dann müsste es „host“ lauten......
Probier doch mal....
Oder lösch den Eintrag hosts komplett.
Das hat bei mir damals geholfen.
{
"name": "Hue",
"anyOn": true,
"excludeSensorTypes": [
"Daylight",
"CLIPPresence",
"Geofence",
"CLIP"
],
"heartrate": 5,
"lights": true,
"linkButton": false,
"nativeHomeKitLights": true,
"nativeHomeKitSensors": true,
"nupnp": true,
"parallelRequests": 10,
"resource": true,
"rules": false,
"schedules": false,
"sensors": true,
"timeout": 5,
"users": {
"Xxxx": "Xxxx",
"Xxx": "xxx"
},
"waitTimeResend": 300,
"waitTimeUpdate": 20,
"platform": "Hue"
},
Ich frag mich ständig wann genau ich die Taste an der Hue Bridge drücken soll....hab da gefühlt schon alles probiert.
Wenn's im Log steht. Deine config.json weist keinen User-Eintrag auf - vielleicht muss da erstmal einer hin. Das Plugin versucht sich beim ersten Mal irgendwie an der Bridge anzumelden. Dazu nimmt es irgendeinen User und irgendein Passwort, sowas wie:
Die Anleitung von homebridge-hue schreibt sogar zwei User dahin. So hab ich übrigens angefangen: ich hab das erst einfach mal kopiert, in meine config.json eingesetzt und dann die Homebridge neu gestartet.
"platforms": [
{
"platform": "Hue",
"users": {
"001788FFFExxxxxx": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"001788FFFEyyyyyy": "yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"
},
"lights": true
}
]
Auf keinen Fall wird sich das Plugin mit solchen Konfigurationen an der Hue-Bridge anmelden können, da die Hue-Bridge keinen dieser User kennt. Die Hue-Bridge schickt daher eine Fehlermeldung an homebridge-hue zurück. Also versucht das Plugin auf der Hue-Bridge einen User anzulegen. Dazu schickt es einen newuser-Request an die Hue-Bridge, den die Bridge aber nur dann ausführt, wenn du innerhalb der nächsten Sekunden den Link-Button drückst.
Aus diesem Grund stoppt das Plugin den Start der Homebridge und wartet nun. Sobald der Button gedrückt ist, rückt die Hue-Bridge gültige Anmeldedaten an das Plugin heraus. Im Log steht dann der zu verwendende User und das zu verwendende Passwort. Die müssen dann in deine config.json eingetragen werden und die Homebridge neu gestartet werden.
Sieht dann bei mir so aus:
{
"platform": "Hue",
"host": "192.168.1.23",
"lights": true,
"users": {
"001788FFFE221980": "woDuc1QYLBBlfUGji453lKCpN11-39rUK0dhloVk"
}
},
Danach kannst du dann anfangen, die Feinabstimmung zu machen und deiner homebridge-hue-Konfiguration das hinzuzufügen, was du brauchst.
Also Ich habe jetzt meine config so abgeändert:
{
"name": "Hue",
"anyOn": true,
"host": [
"192.168.178.20"
],
"nativeHomeKitLights": false,
"nativeHomeKitSensors": true,
"nupnp": true,
"resource": true,
"platform": "Hue",
"users": {
"001788FFFExxxxxx": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"001788FFFEyyyyyy": "yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"
},
"lights": true
Alles anzeigen
Dann die Config abgespeichert und oben dann auf Neustart. Im Terminal bekomme ich wieder paar Fehler, und auch die Aufforderung den Knopf zu drücken, passiert aber wieder nichts danach.
pi@raspberrypi:~ $ sudo systemctl restart homebridge; sudo journalctl -fau homebridge
-- Logs begin at Wed 2020-11-04 17:17:01 CET. --
Nov 05 16:23:43 raspberrypi homebridge[10253]: [05/11/2020, 16:23:43] Got SIGTERM, shutting down Homebridge...
Nov 05 16:23:48 raspberrypi homebridge[10253]: [05/11/2020, 16:23:48] [Hue] goodbye
Nov 05 16:23:48 raspberrypi systemd[1]: homebridge.service: Main process exited, code=exited, status=143/n/a
Nov 05 16:23:48 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.
Nov 05 16:23:48 raspberrypi systemd[1]: Stopped Node.js HomeKit Server.
Nov 05 16:23:48 raspberrypi systemd[1]: homebridge.service: Found left-over process 10274 (node) in control group while starting unit. Ignoring.
Nov 05 16:23:48 raspberrypi systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Nov 05 16:23:48 raspberrypi systemd[1]: homebridge.service: Found left-over process 10847 (journalctl) in control group while starting unit. Ignoring.
Nov 05 16:23:48 raspberrypi systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Nov 05 16:23:48 raspberrypi systemd[1]: Started Node.js HomeKit Server.
Nov 05 16:23:50 raspberrypi homebridge[10856]: [05/11/2020, 16:23:49] Loaded config.json with 0 accessories and 4 platforms.
Nov 05 16:23:50 raspberrypi homebridge[10856]: [05/11/2020, 16:23:50] ---
Nov 05 16:23:51 raspberrypi homebridge[10856]: [05/11/2020, 16:23:51] Loaded plugin: [email protected]
Nov 05 16:23:51 raspberrypi homebridge[10856]: [05/11/2020, 16:23:51] Registering platform 'homebridge-config-ui-x.config'
Nov 05 16:23:51 raspberrypi homebridge[10856]: [05/11/2020, 16:23:51] ---
Nov 05 16:23:51 raspberrypi homebridge[10856]: [05/11/2020, 16:23:51] Loaded plugin: [email protected]
Nov 05 16:23:51 raspberrypi homebridge[10856]: [05/11/2020, 16:23:51] Registering platform 'homebridge-dreambox.Dreambox'
Nov 05 16:23:51 raspberrypi homebridge[10856]: [05/11/2020, 16:23:51] ---
Nov 05 16:23:51 raspberrypi homebridge[10856]: [05/11/2020, 16:23:51] The plugin "homebridge-fritz-platform" requires Node version of ^12.0.0 which does not satisfy the current Node version of v14.15.0. You may need to upgrade your installation of Node.
Nov 05 16:23:51 raspberrypi homebridge[10856]: [05/11/2020, 16:23:51] Loaded plugin: [email protected]
Nov 05 16:23:52 raspberrypi homebridge[10856]: [05/11/2020, 16:23:52] Registering platform 'homebridge-fritz-platform.FritzPlatform'
Nov 05 16:23:52 raspberrypi homebridge[10856]: [05/11/2020, 16:23:52] ---
Nov 05 16:23:52 raspberrypi homebridge[10856]: [05/11/2020, 16:23:52] The plugin "homebridge-hue" requires Node version of ^12.19.0 which does not satisfy the current Node version of v14.15.0. You may need to upgrade your installation of Node.
Nov 05 16:23:55 raspberrypi homebridge[10856]: [05/11/2020, 16:23:55] Loaded plugin: [email protected]
Nov 05 16:23:55 raspberrypi homebridge[10856]: [05/11/2020, 16:23:55] Registering platform 'homebridge-hue.Hue'
Nov 05 16:23:55 raspberrypi homebridge[10856]: [05/11/2020, 16:23:55] ---
Nov 05 16:23:55 raspberrypi homebridge[10856]: [05/11/2020, 16:23:55] Loading 4 platforms...
Nov 05 16:23:55 raspberrypi homebridge[10856]: [05/11/2020, 16:23:55] [Config] Initializing config platform...
Nov 05 16:23:55 raspberrypi homebridge[10856]: [05/11/2020, 16:23:55] [Config] Spawning homebridge-config-ui-x with PID 10878
Nov 05 16:23:55 raspberrypi homebridge[10856]: [05/11/2020, 16:23:55] [Dreambox] Initializing Dreambox platform...
Nov 05 16:23:55 raspberrypi homebridge[10856]: [05/11/2020, 16:23:55] [FritzPlatform] Initializing FritzPlatform platform...
Nov 05 16:23:55 raspberrypi homebridge[10856]: [05/11/2020, 16:23:55] [FritzPlatform] [INFO] **************************************************************
Nov 05 16:23:55 raspberrypi homebridge[10856]: [05/11/2020, 16:23:55] [FritzPlatform] [INFO] FritzPlatform v4.1.1 by SeydX
Nov 05 16:23:55 raspberrypi homebridge[10856]: [05/11/2020, 16:23:55] [FritzPlatform] [INFO] GitHub: https://github.com/SeydX/homebridge-fritz-platform
Nov 05 16:23:55 raspberrypi homebridge[10856]: [05/11/2020, 16:23:55] [FritzPlatform] [INFO] Email: [email protected]
Nov 05 16:23:55 raspberrypi homebridge[10856]: [05/11/2020, 16:23:55] [FritzPlatform] [INFO] **************************************************************
Nov 05 16:23:55 raspberrypi homebridge[10856]: [05/11/2020, 16:23:55] [FritzPlatform] [INFO] start success...
Nov 05 16:23:55 raspberrypi homebridge[10856]: [05/11/2020, 16:23:55] [Hue] Initializing Hue platform...
Nov 05 16:23:55 raspberrypi homebridge[10856]: [05/11/2020, 16:23:55] [Hue] homebridge-hue v0.11.77, node v14.15.0, homebridge v1.1.6
Nov 05 16:23:55 raspberrypi homebridge[10856]: [05/11/2020, 16:23:55] [Hue] warning: not using recommended node version v12.19.0 LTS
Nov 05 16:23:56 raspberrypi homebridge[10856]: [05/11/2020, 16:23:56] [FritzPlatform] [INFO] Auto Device Search is enabled, searching for devices in network...
Nov 05 16:23:56 raspberrypi homebridge[10856]: [05/11/2020, 16:23:56] VU Uno 4K SE is running on port 36237.
Nov 05 16:23:56 raspberrypi homebridge[10856]: [05/11/2020, 16:23:56] Please add [VU Uno 4K SE] manually in Home app. Setup Code: 031-45-154
Nov 05 16:23:56 raspberrypi homebridge[10856]: [05/11/2020, 16:23:56] [Hue] npm registry: TypeError [ERR_INVALID_ARG_TYPE]: The "listener" argument must be of type function. Received an instance of Object
Nov 05 16:23:56 raspberrypi homebridge[10856]: at checkListener (events.js:111:11)
Nov 05 16:23:56 raspberrypi homebridge[10856]: at ClientRequest.once (events.js:435:3)
Nov 05 16:23:56 raspberrypi homebridge[10856]: at new ClientRequest (_http_client.js:202:10)
Nov 05 16:23:56 raspberrypi homebridge[10856]: at Object.request (https.js:313:10)
Nov 05 16:23:56 raspberrypi homebridge[10856]: at Object.request (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/http-proxy-agent/node_modules/agent-base/patch-core.js:25:22)
Nov 05 16:23:56 raspberrypi homebridge[10856]: at HttpClient.request (/usr/local/lib/node_modules/homebridge-hue/node_modules/homebridge-lib/lib/HttpClient.js:226:32)
Nov 05 16:23:56 raspberrypi homebridge[10856]: at HttpClient.get (/usr/local/lib/node_modules/homebridge-hue/node_modules/homebridge-lib/lib/HttpClient.js:136:17)
Nov 05 16:23:56 raspberrypi homebridge[10856]: at HuePlatform.accessories (/usr/local/lib/node_modules/homebridge-hue/lib/HuePlatform.js:277:38)
Nov 05 16:23:56 raspberrypi homebridge[10856]: at /usr/local/lib/node_modules/homebridge/src/server.ts:415:24
Nov 05 16:23:56 raspberrypi homebridge[10856]: at new Promise (<anonymous>)
Nov 05 16:23:56 raspberrypi homebridge[10856]: [05/11/2020, 16:23:56] [Hue] Philips hue: Philips BSB002 bridge v1941056000, api v1.41.0
Nov 05 16:23:56 raspberrypi homebridge[10856]: [05/11/2020, 16:23:56] [Hue] Philips hue: bridge request 1: post / {"devicetype":"homebridge-hue#raspberrypi"}
Nov 05 16:23:56 raspberrypi homebridge[10856]: [05/11/2020, 16:23:56] [Hue] Philips hue: bridge communication error: TypeError [ERR_INVALID_ARG_TYPE]: The "listener" argument must be of type function. Received an instance of Object
Nov 05 16:23:56 raspberrypi homebridge[10856]: at checkListener (events.js:111:11)
Nov 05 16:23:56 raspberrypi homebridge[10856]: at ClientRequest.once (events.js:435:3)
Nov 05 16:23:56 raspberrypi homebridge[10856]: at new ClientRequest (_http_client.js:202:10)
Nov 05 16:23:56 raspberrypi homebridge[10856]: at Object.request (https.js:313:10)
Nov 05 16:23:56 raspberrypi homebridge[10856]: at Object.request (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/http-proxy-agent/node_modules/agent-base/patch-core.js:25:22)
Nov 05 16:23:56 raspberrypi homebridge[10856]: at HttpClient.request (/usr/local/lib/node_modules/homebridge-hue/node_modules/homebridge-lib/lib/HttpClient.js:226:32)
Nov 05 16:23:56 raspberrypi homebridge[10856]: at HueClient._request (/usr/local/lib/node_modules/homebridge-hue/lib/HueClient.js:328:41)
Nov 05 16:23:56 raspberrypi homebridge[10856]: at HueBridge.request (/usr/local/lib/node_modules/homebridge-hue/lib/HueBridge.js:1139:43)
Nov 05 16:23:56 raspberrypi homebridge[10856]: at processTicksAndRejections (internal/process/task_queues.js:93:5)
Nov 05 16:23:56 raspberrypi homebridge[10856]: at HueBridge.createUser (/usr/local/lib/node_modules/homebridge-hue/lib/HueBridge.js:300:17)
Nov 05 16:23:56 raspberrypi homebridge[10856]: [05/11/2020, 16:23:56] [Hue] Philips hue: press link button on the bridge to create a user - retrying in 15s
Nov 05 16:23:58 raspberrypi homebridge[10856]: [05/11/2020, 16:23:58] [Dreambox] Device: 192.168.178.49, configured 203 channel(s)
Nov 05 16:24:02 raspberrypi homebridge[10856]: [05/11/2020, 16:24:02] [Dreambox] Error: Cannot add more than 100 services to a single accessory!
Nov 05 16:24:02 raspberrypi homebridge[10856]: at Accessory._this.addService (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:286:13)
Nov 05 16:24:02 raspberrypi homebridge[10856]: at PlatformAccessory.addService (/usr/local/lib/node_modules/homebridge/src/platformAccessory.ts:92:41)
Nov 05 16:24:02 raspberrypi homebridge[10856]: at DreamboxAccessory.createInputSource (/usr/local/lib/node_modules/homebridge-dreambox/dreambox-accessory.js:124:21)
Nov 05 16:24:02 raspberrypi homebridge[10856]: at /usr/local/lib/node_modules/homebridge-dreambox/dreambox-accessory.js:99:18
Nov 05 16:24:02 raspberrypi homebridge[10856]: at Array.forEach (<anonymous>)
Nov 05 16:24:02 raspberrypi homebridge[10856]: at /usr/local/lib/node_modules/homebridge-dreambox/dreambox-accessory.js:95:18
Nov 05 16:24:02 raspberrypi homebridge[10856]: at processTicksAndRejections (internal/process/task_queues.js:93:5)
Nov 05 16:24:02 raspberrypi homebridge[10856]: [05/11/2020, 16:24:02] [FritzPlatform] [INFO] Initializing config...
Nov 05 16:24:02 raspberrypi homebridge[10856]: [05/11/2020, 16:24:02] [FritzPlatform] [INFO] Found 3 active devices...
Nov 05 16:24:03 raspberrypi homebridge[10856]: [05/11/2020, 16:24:03] [Homebridge UI] Homebridge Config UI X v4.31.0 is listening on :: port 8080
Nov 05 16:24:06 raspberrypi homebridge[10856]: [05/11/2020, 16:24:06] [FritzPlatform] [INFO] Configuring accessory from cache: FRITZ!Box 7490
Nov 05 16:24:06 raspberrypi homebridge[10856]: [05/11/2020, 16:24:06] [FritzPlatform] [INFO] FRITZ!Box 7490: Successfully logged in!
Nov 05 16:24:06 raspberrypi homebridge[10856]: [05/11/2020, 16:24:06] [FritzPlatform] [INFO] Configuring accessory from cache: Thermostat Links
Nov 05 16:24:09 raspberrypi homebridge[10856]: [05/11/2020, 16:24:09] [FritzPlatform] [INFO] Configuring accessory from cache: Thermostat Rechts
Nov 05 16:24:11 raspberrypi homebridge[10856]: [05/11/2020, 16:24:11] [Hue] Philips hue: bridge request 2: post / {"devicetype":"homebridge-hue#raspberrypi"}
Nov 05 16:24:11 raspberrypi homebridge[10856]: [05/11/2020, 16:24:11] [Hue] Philips hue: bridge communication error: TypeError [ERR_INVALID_ARG_TYPE]: The "listener" argument must be of type function. Received an instance of Object
Nov 05 16:24:11 raspberrypi homebridge[10856]: at checkListener (events.js:111:11)
Nov 05 16:24:11 raspberrypi homebridge[10856]: at ClientRequest.once (events.js:435:3)
Nov 05 16:24:11 raspberrypi homebridge[10856]: at new ClientRequest (_http_client.js:202:10)
Nov 05 16:24:11 raspberrypi homebridge[10856]: at Object.request (https.js:313:10)
Nov 05 16:24:11 raspberrypi homebridge[10856]: at Object.request (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/http-proxy-agent/node_modules/agent-base/patch-core.js:25:22)
Nov 05 16:24:11 raspberrypi homebridge[10856]: at HttpClient.request (/usr/local/lib/node_modules/homebridge-hue/node_modules/homebridge-lib/lib/HttpClient.js:226:32)
Nov 05 16:24:11 raspberrypi homebridge[10856]: at HueClient._request (/usr/local/lib/node_modules/homebridge-hue/lib/HueClient.js:328:41)
Nov 05 16:24:11 raspberrypi homebridge[10856]: at HueBridge.request (/usr/local/lib/node_modules/homebridge-hue/lib/HueBridge.js:1139:43)
Nov 05 16:24:11 raspberrypi homebridge[10856]: at HueBridge.createUser (/usr/local/lib/node_modules/homebridge-hue/lib/HueBridge.js:300:28)
Nov 05 16:24:11 raspberrypi homebridge[10856]: at HueBridge.createUser (/usr/local/lib/node_modules/homebridge-hue/lib/HueBridge.js:323:17)
Nov 05 16:24:11 raspberrypi homebridge[10856]: [05/11/2020, 16:24:11] [Hue] Philips hue: press link button on the bridge to create a user - retrying in 15s
Nov 05 16:24:26 raspberrypi homebridge[10856]: [05/11/2020, 16:24:26] [Hue] Philips hue: bridge request 3: post / {"devicetype":"homebridge-hue#raspberrypi"}
Nov 05 16:24:26 raspberrypi homebridge[10856]: [05/11/2020, 16:24:26] [Hue] Philips hue: bridge communication error: TypeError [ERR_INVALID_ARG_TYPE]: The "listener" argument must be of type function. Received an instance of Object
Nov 05 16:24:26 raspberrypi homebridge[10856]: at checkListener (events.js:111:11)
Nov 05 16:24:26 raspberrypi homebridge[10856]: at ClientRequest.once (events.js:435:3)
Nov 05 16:24:26 raspberrypi homebridge[10856]: at new ClientRequest (_http_client.js:202:10)
Nov 05 16:24:26 raspberrypi homebridge[10856]: at Object.request (https.js:313:10)
Nov 05 16:24:26 raspberrypi homebridge[10856]: at Object.request (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/http-proxy-agent/node_modules/agent-base/patch-core.js:25:22)
Nov 05 16:24:26 raspberrypi homebridge[10856]: at HttpClient.request (/usr/local/lib/node_modules/homebridge-hue/node_modules/homebridge-lib/lib/HttpClient.js:226:32)
Nov 05 16:24:26 raspberrypi homebridge[10856]: at HueClient._request (/usr/local/lib/node_modules/homebridge-hue/lib/HueClient.js:328:41)
Nov 05 16:24:26 raspberrypi homebridge[10856]: at HueBridge.request (/usr/local/lib/node_modules/homebridge-hue/lib/HueBridge.js:1139:43)
Nov 05 16:24:26 raspberrypi homebridge[10856]: at HueBridge.createUser (/usr/local/lib/node_modules/homebridge-hue/lib/HueBridge.js:300:28)
Nov 05 16:24:26 raspberrypi homebridge[10856]: at HueBridge.createUser (/usr/local/lib/node_modules/homebridge-hue/lib/HueBridge.js:323:17)
Nov 05 16:24:26 raspberrypi homebridge[10856]: [05/11/2020, 16:24:26] [Hue] Philips hue: press link button on the bridge to create a user - retrying in 15s
Nov 05 16:24:41 raspberrypi homebridge[10856]: [05/11/2020, 16:24:41] [Hue] Philips hue: bridge request 4: post / {"devicetype":"homebridge-hue#raspberrypi"}
Nov 05 16:24:41 raspberrypi homebridge[10856]: [05/11/2020, 16:24:41] [Hue] Philips hue: bridge communication error: TypeError [ERR_INVALID_ARG_TYPE]: The "listener" argument must be of type function. Received an instance of Object
Nov 05 16:24:41 raspberrypi homebridge[10856]: at checkListener (events.js:111:11)
Nov 05 16:24:41 raspberrypi homebridge[10856]: at ClientRequest.once (events.js:435:3)
Nov 05 16:24:41 raspberrypi homebridge[10856]: at new ClientRequest (_http_client.js:202:10)
Nov 05 16:24:41 raspberrypi homebridge[10856]: at Object.request (https.js:313:10)
Nov 05 16:24:41 raspberrypi homebridge[10856]: at Object.request (/usr/local/lib/node_modules/homebridge-fritz-platform/node_modules/http-proxy-agent/node_modules/agent-base/patch-core.js:25:22)
Nov 05 16:24:41 raspberrypi homebridge[10856]: at HttpClient.request (/usr/local/lib/node_modules/homebridge-hue/node_modules/homebridge-lib/lib/HttpClient.js:226:32)
Nov 05 16:24:41 raspberrypi homebridge[10856]: at HueClient._request (/usr/local/lib/node_modules/homebridge-hue/lib/HueClient.js:328:41)
Nov 05 16:24:41 raspberrypi homebridge[10856]: at HueBridge.request (/usr/local/lib/node_modules/homebridge-hue/lib/HueBridge.js:1139:43)
Nov 05 16:24:41 raspberrypi homebridge[10856]: at HueBridge.createUser (/usr/local/lib/node_modules/homebridge-hue/lib/HueBridge.js:300:28)
Nov 05 16:24:41 raspberrypi homebridge[10856]: at HueBridge.createUser (/usr/local/lib/node_modules/homebridge-hue/lib/HueBridge.js:323:17)
Nov 05 16:24:41 raspberrypi homebridge[10856]: [05/11/2020, 16:24:41] [Hue] Philips hue: press link button on the bridge to create a user - retrying in 15s
Alles anzeigen
Hab jetzt mal die kleinste Config probiert wie von sschuste:
"platforms": [
{
"platform": "Hue",
"users": {
"001788FFFExxxxxx": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"001788FFFEyyyyyy": "yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"
},
"lights": true
}
]
Ändert nichts an der Ausgabe im Terminal, keine Zugangsdaten nach drücken des Knopfes.
Gut zu wissen
Der Fehler bleibt also und für mich stürzt dein homebridge-hue-Plugin ab.
Dürfen wir mal einen Blick auf das Resultat von ls -ld /usr/local/lib/node_modules/* werfen?
Moin moin. Bitteschön, hier das Ergebnis:
pi@raspberrypi:~ $ ls -ld /usr/local/lib/node_modules/*
drwxr-xr-x 5 root root 4096 Oct 30 16:35 /usr/local/lib/node_modules/homebridge
drwxr-xr-x 5 root root 4096 Oct 30 16:45 /usr/local/lib/node_modules/homebridge-config-ui-x
drwxr-xr-x 3 root root 4096 Nov 2 18:25 /usr/local/lib/node_modules/homebridge-dreambox
drwxr-xr-x 7 root root 4096 Oct 30 18:29 /usr/local/lib/node_modules/homebridge-fritz-platform
drwxr-xr-x 7 root root 4096 Nov 5 15:29 /usr/local/lib/node_modules/homebridge-hue
drwxr-xr-x 3 root root 4096 Oct 30 16:27 /usr/local/lib/node_modules/n
drwxr-xr-x 10 root root 4096 Oct 30 16:28 /usr/local/lib/node_modules/npm
Na, das ist doch mal wirklich scheckheftgepflegt und aufgeräumt. Ich hatte gehofft, hier einen bestimmten Störenfried zu finden. Aber der ist nicht in Sicht (nämlich /usr/local/lib/node_modules/homebridge-lib).
Für mich sieht der Fehler nach einem komischen Zusammenspiel zwischen den Plugins homebridge-hue und homebridge-fritz-platform aus, das ich weder verstehe geschweige denn erklären könnte.
Dann werd ich jetzt mal das Fritz-platform Plugin deinstallieren. Es gab eh eine neue Version davon wofür die alte Version deinstalliert werden muss. Dann teste ich ob es mit dem Hue Plugin nun klappt
edit: ja leck mich doch
Fritz Plugin deinstalliert über WebIF, dann per Terminal neugestartet und schwupps standen die Zugangsdaten im Terminal Meine Osramsteckdosen tauchen in der Homeapp auf
Aber was mach ich jetzt mit dem Fritz Plugin, eine Idee sschuste
Aber was mach ich jetzt mit dem Fritz Plugin, eine Idee
Nicht wirklich. Ich würde jetzt versuchen, es wieder zu installieren und dann mal schauen, was passiert. Wenn's nicht geht, kannst du es ja wieder de-installieren.
Zum Fritz-Plugin hab ich sonst nichts zu sagen, weil ich es nicht verwende - ich habe keine Fritzbox. Am besten ist es, du fragst die Experten hier im Forum.