Alles anzeigenhttp://192.168.2.118:8080/info?token=xxxxxx
dann kommt halt all der text...bridgetype...ids...serverid...etc
wie gerade oben geschrieben
keine NUKI ID
soory Wilfhelm, fehler von mir! Nicht /info sondern /list
Alles anzeigenhttp://192.168.2.118:8080/info?token=xxxxxx
dann kommt halt all der text...bridgetype...ids...serverid...etc
wie gerade oben geschrieben
keine NUKI ID
soory Wilfhelm, fehler von mir! Nicht /info sondern /list
soory Wilfhelm, fehler von mir! Nicht /info sondern /list
UPS habe ich auch falsch angegeben… heheh ![]()
nach wie vor
an dem umlaut "Haust Ü r" liegt das nicht, denke ich ?
Initializing platform accessory 'undefined'...
/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:46
if (!displayName) throw new Error("Accessories must be created with a non-empty displayName.");
^
Error: Accessories must be created with a non-empty displayName.
at new Accessory (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:46:27)
at Server._createAccessory (/usr/local/lib/node_modules/homebridge/lib/server.js:396:21)
at Server.<anonymous> (/usr/local/lib/node_modules/homebridge/lib/server.js:364:32)
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:15:19
at Object.accessories (/usr/local/lib/node_modules/homebridge-people/index.js:58:9)
at Server._loadPlatformAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:354:20)
at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:298:16)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:80:36)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
beim starten von HB
"...Accessories must be created with a non-empty displayName..."
ich hab das unter platorms eingefügt.
liest sich für mich amateuer aber so, als hätte ich vlt. durch "ungeschicktes". } { } [ ] setzen doch die config falsch, obwohl Validator "grün" sagt
Platforms erstellen automatisch ein Accessorie… aber zum Error kann ich nix sagen.
Mit deinen Klammern in der config stimmt was nicht,
Da fehlt die eckige Klammer schließen von people bevor nuki losgeht.
So auf den ersten Blick
schade...aber bei mir erstellt -warum auch immer- die platform "NukiBridge" eine undefinierte accessoy
Loaded config.json with 0 accessories and 3 platforms.
[2017-03-01 22:52:24] ---
[2017-03-01 22:52:24] Loading 3 platforms...
[2017-03-01 22:52:24] [Harmony] Initializing HarmonyHub platform...
[2017-03-01 22:52:24] [Hue] Initializing Hue platform...
[2017-03-01 22:52:24] [Hue] homebridge-hue v0.3.3, node v6.9.5, homebridge v2.1
[2017-03-01 22:52:24] Initializing People platform...
[2017-03-01 22:52:24] Initializing platform accessory 'Wilfried ist'...
[2017-03-01 22:52:24] Initializing platform accessory 'Jutta ist'...
[2017-03-01 22:52:24] Initializing platform accessory 'undefined'...
Mit deinen Klammern in der config stimmt was nicht,
Da fehlt die eckige Klammer schließen von people bevor nuki losgeht.
So auf den ersten Blick
ja...das schätze ich auch...aber wo und welche ?
der validator prüft nur die Anzahl der Klammern,
Das zu jede öffnen auch eine schließen existiert.
Aber nicht den Inhalt.
Probier das mal:
{
"bridge": {
"name": "Homebridge",
"username": "xx:xx:xx:xx:xx:xx",
"port": "51826",
"pin": "031-45-154"
},
"description": "",
"accessories": [
],
"platforms": [{
"platform": "HarmonyHub",
"name": "Harmony",
"ip_adress": "xxx.xxx.x.xxx"
},
{
"platform": "Hue",
"name": "Hue",
"users": {
"xxxxxxxxxx229CEB": "fz8L88OEdP-l1n5mCK7sSzOxLrhqTeZMyhAtKZhC"
},
"sensors": true,
"excludeSensorTypes": ["CLIPGenericStatus", "CLIPGenericFlag", "Geofence"],
"lowBattery": 25,
"lights": false,
"philipsLights": false,
"ct": false,
"groups": false,
"group0": false,
"rooms": false,
"schedules": false,
"rules": false,
"heartrate": 5,
"waitTimeUpdate": 20,
"timeout": 5,
"parallelRequests": 10,
"waitTimeResend": 300
},
{
"platform": "People",
"anyoneSensor": true,
"nooneSensor": true,
"webhookPort": 51828,
"pingInterval": 10000,
"ignoreReEnterExitSeconds": 0,
"people": [{
"name": "Wilfried ist",
"target": "wkneer-iphone-6",
"threshold": 2,
"pingInterval": 10000,
"ignoreReEnterExitSeconds": 0
}, {
"name": "Jutta ist",
"target": "android-xxxxxxxxxx",
"threshold": 2,
"pingInterval": 10000,
"ignoreReEnterExitSeconds": 0
}]
},
{
"platform": "NukiBridge",
"bridge_url": "192.xxx.x.xxx",
"api_token": "xxxxxx",
"request_timeout_lockstate": 5000,
"request_timeout_lockaction": 30000,
"cache_directory": "./.node-persist/storage",
"webhook_server_ip_or_name": "xxx.xxx.xxx.xxx",
"webhook_port": 51827,
"lock_state_mode": 1,
"add_maintainance_buttons": false,
"locks": [{
"id": "your-lock-id",
"name": "Haustür",
"usesDoorLatch": true,
"priority": 1
}]
}
]
}]
}
Alles anzeigen
]
}
die beiden müssen von unten bevor nuki losgeht und noch das Komma korigiren
{
"platform": "People",
"anyoneSensor" : true,
"nooneSensor" : true,
"webhookPort": 51828,
"pingInterval": 10000,
"ignoreReEnterExitSeconds": 0,
"people" :
[
{
"name" : "Wilfried ist",
"target" : "wkneer-iphone-6",
"threshold" : 2,
"pingInterval": 10000,
"ignoreReEnterExitSeconds": 0
},
{
"name" : "Jutta ist",
"target" : "android-xxxxxxxxxx",
"threshold" : 2,
"pingInterval": 10000,
"ignoreReEnterExitSeconds": 0
}
]
},
{
"platform": "NukiBridge",
"bridge_url": "192.xxx.x.xxx",
"api_token" : "xxxxxx",
"request_timeout_lockstate": 5000,
"request_timeout_lockaction": 30000,
"cache_directory": "./.node-persist/storage",
"webhook_server_ip_or_name": "xxx.xxx.xxx.xxx",
"webhook_port": 51827,
"lock_state_mode": 1,
"add_maintainance_buttons": false,
"locks": [
{
"id": "your-lock-id",
"name": "Haustür",
"usesDoorLatch" : true,
"priority" : 1
}
]
}
]
}
Ich glaube so, es ist schwer mit dem iPad das zu überblicken.
ich gehe von deiner config von Seite 15 aus!
jetzt hat HomeBridge mir das licht abgeschaltet, da muss ich wohl ins Bett![]()
danke euch , hab ich geändert, und der Fehler sich auch geändert ...aber immerhin schon mal ein anderer
Loaded config.json with 0 accessories and 4 platforms.
[2017-03-01 23:30:52] ---
[2017-03-01 23:30:52] Loading 4 platforms...
[2017-03-01 23:30:52] [Harmony] Initializing HarmonyHub platform...
[2017-03-01 23:30:52] [Hue] Initializing Hue platform...
[2017-03-01 23:30:52] [Hue] homebridge-hue v0.3.3, node v6.9.5, homebridge v2.1
[2017-03-01 23:30:52] Initializing People platform...
[2017-03-01 23:30:52] Initializing platform accessory 'Wilfried ist'...
[2017-03-01 23:30:52] Initializing platform accessory 'Jutta ist'...
[2017-03-01 23:30:52] Initializing platform accessory 'Anyone'...
[2017-03-01 23:30:52] Initializing platform accessory 'No One'...
[2017-03-01 23:30:52] WebHook: Started server on port '51828'.
/usr/local/lib/node_modules/homebridge/lib/api.js:118
throw new Error("The requested platform '" + name + "' was not registered by any plugin.");
^
Error: The requested platform 'NukiBridge' was not registered by any plugin.
wobei...zeigt HB aber doch an *grübel*
homebridge wilfried$ sudo npm list -g --depth=0
/usr/local/lib
Kein Plugin kann was mit der Platform nukibridge anfangen.
Ich sehe kein nukiio Plugin