ok danke
Beiträge von naboo
-
-
Code
{"bridgeType": 1, "ids": {"hardwareId": 103183129, "serverId": 445985446}, "versions": {"firmwareVersion": "1.13.1", "wifiFirmwareVersion": "1.2.0"}, "uptime": 634904, "currentTime": "2020-01-16T06:55:25+00:00", "serverConnected": true, "scanResults": [{"deviceType": 0, "nukiId": 109300017, "name": "Nuki", "rssi": -68, "paired": true}]}und welche id wird in die Config unter Lock eingetragen?
hardwareId serverId oder nukiId ?
-
aber Status in Homebridge ist:
[NukiBridge] [INFO Nuki WebHook Server] No lock found for nukiId '109300017'.
die Nuki Id ist aber eine ganz andere. Woher kommt die 109300017???
-
-
Hallo,
aktuell habe ich das Problem, das der Lockstatus nicht richtig in Homekit angezeigt wird. Wenn ich zum Beispiel über Nuki Autolock das Schloss verriegele, bleibt in Homekit (eve app) der Status auf geöffnet.
Any Hints?
Danke
-
Funktioniert!
Super Danke vielmals!
-
Hallo Benzman81,
hab die Bridge noch mal zurückgesetzt und nun geht es. Vielen Dank für den tollen Support hier.
Nun möchte ich noch das Ikea Tradfri plugin nutzen und ich raffe es einfach nicht mit den klammern.
Kann mir das hier jemand nochmal reinklemmen?
aktuelle config.json:
{
"bridge": {
"name": "HOOBS",
"username": "",
"port": 51826,
"pin": ""
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8080,
"auth": "form",
"theme": "auto",
"restart": "sudo -n systemctl restart homebridge homebridge-config-ui-x",
"temp": "/sys/class/thermal/thermal_zone0/temp",
"tempUnits": "c",
"loginWallpaper": "/home/pi/.homebridge/Wallpaper.png",
"sudo": true,
"standalone": true,
"log": {
"method": "systemd",
"service": "homebridge"
},
"platform": "config"
},
{
"platform": "NukiBridge",
"bridge_url": "192.168.2.12:5869",
"api_token": "",
"request_timeout_lockstate": 5000,
"request_timeout_lockaction": 30000,
"request_timeout_other": 10000,
"cache_directory": "/var/homebridge/node-persist/storage",
"webhook_server_ip_or_name": "192.168.2.19",
"webhook_port": 51827,
"lock_state_mode": 1,
"lockaction_maxtries": 3,
"lockaction_retrydelay": 3000,
"add_maintainance_buttons": false,
"locks": [
{
"id": "",
"name": "Wohnungstür",
"usesDoorLatch": false,
"priority": 1
}
]
}
]
}und dass soll rein:
Code
Alles anzeigen{ "bridge": { "name": "Trådfri", "username": "AA:22:3D:E3:CE:57", "port": 51826, "pin": "031-45-123" }, "description": "This is an example configuration file", "platforms": [ { "platform": "Ikea Trådfri Gateway", "name": "Ikea Trådfri Gateway", "securityCode" : "this-is-found-on-the-back-of-the-gateway", "expose": ["lightbulbs", "outlets", "blinds"] } ] } Vielen vielen Dank! -
Hallo Benzman81,
da tut sich nix. Server nicht erreichbar. Aber die Bridge ist im Netz sagt die Nuki app
-
sorry nochmal,
neues Problem....
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1106:14)
errno: 'ECONNREFUSED',
code: 'ECONNREFUSED',
syscall: 'connect',
address: '192.168.2.12',
port: 80 }
[1/7/2020, 10:40:35 PM] Error: Request for webhooks failed: Error: connect ECONNREFUSED 192.168.2.12:80
at NukiBridge.<anonymous> (/usr/local/lib/node_modules/homebridge-nukiio/src/nuki/NukiBridge.js:128:13)
at NukiBridge.<anonymous> (/usr/local/lib/node_modules/homebridge-nukiio/src/nuki/NukiBridge.js:388:7)
at self.callback (/usr/local/lib/node_modules/homebridge-nukiio/node_modules/request/request.js:185:22)
at Request.emit (events.js:198:13)
at Request.onRequestError (/usr/local/lib/node_modules/homebridge-nukiio/node_modules/request/request.js:877:8)
at ClientRequest.emit (events.js:203:15)
at Socket.socketErrorListener (_http_client.js:392:9)
at Socket.emit (events.js:198:13)
at emitErrorNT (internal/streams/destroy.js:91:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
[1/7/2020, 10:40:35 PM] Got SIGTERM, shutting down Homebridge...
homebridge.service: Main process exited, code=exited, status=143/n/a
homebridge.service: Failed with result 'exit-code'.
homebridge.service: Service RestartSec=3s expired, scheduling restart.
homebridge.service: Scheduled restart job, restart counter is at 24.
Stopped Homebridge.
habe port in der fritzbox freigegeben..
Danke für Hinweise
-
hallo,
sorry aber linux ist noch "Neuland"
für mich.der Befehl ist wohl chmod, um die Rechte zu setzen. Soweit ok.
Aber a) wer ist user b) wie setze ich diesen korrekt ein und c) wie ist das korrekte Verzeichnis für die cache_directory?
Aktuell ist hierfür in der json.config
"/var/homebridge/node-persist/storage"
eingetragen.
Vielen Dank für Eure Hilfe
-
Super vielen Dank.
aber jetzt kommt ein permission denied.

hier:
1/7/2020, 3:21:21 PM] Loaded config.json with 0 accessories and 2 platforms.
[1/7/2020, 3:21:21 PM] ---
[1/7/2020, 3:21:21 PM] Loaded plugin: homebridge-config-ui-x
[1/7/2020, 3:21:21 PM] Registering platform 'homebridge-config-ui-x.config'
[1/7/2020, 3:21:21 PM] ---
[1/7/2020, 3:21:22 PM] Loaded plugin: homebridge-nukiio
[1/7/2020, 3:21:22 PM] Registering platform 'homebridge-nukiio.NukiBridge'
[1/7/2020, 3:21:22 PM] Registering accessory 'homebridge-nukiio.NukiLock'
[1/7/2020, 3:21:22 PM] Registering accessory 'homebridge-nukiio.NukiOpener'
[1/7/2020, 3:21:22 PM] Registering accessory 'homebridge-nukiio.NukiBridgeMaintainanceSwitch'
[1/7/2020, 3:21:22 PM] ---
[1/7/2020, 3:21:22 PM] Loading 2 platforms...
[1/7/2020, 3:21:22 PM] [Config] Initializing config platform...
[1/7/2020, 3:21:22 PM] [Config] Running in Standalone Mode.
[1/7/2020, 3:21:22 PM] [NukiBridge] Initializing NukiBridge platform...
[1/7/2020, 3:21:22 PM] [NukiBridge] Initializing Nuki bridge 'http://192.168.2.12'...
[1/7/2020, 3:21:22 PM] Error: EACCES: permission denied, mkdir '/.node-persist
-
Hallo,
bekomme mein Nuki nicht integriert. Vielleicht kann hier jemand mal schauen, welche Klammern falsch sind. Beim speichern in Hoobs bekomme ich immer einen Syntax Fehler.
Hier:
{
"bridge": {
"name": "HOOBS",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"description": "This file is used for plugin configuration.",
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8080,
"auth": "form",
"theme": "amber",
"sudo": true,
"standalone": true,
"restart": "sudo -n systemctl restart homebridge homebridge-config-ui-x",
"temp": "/sys/class/thermal/thermal_zone0/temp",
"log": {
"method": "custom",
"command": "sudo -n journalctl -o cat -n 500 -f -u homebridge -u homebridge-config-ui-x"
},
"platform": "config"
{
"platform": "NukiBridge" ,
"bridge_url": 192.XXXX ,
"api_token" : w1iXXX ,
"request_timeout_lockstate": 5000, // (in ms, optional, default: 15000)
"request_timeout_lockaction": 30000, // (in ms, optional, default: 45000)
"request_timeout_other": 10000, // (in ms, optional, default: 15000)
"cache_directory": "./.node-persist/storage", // (optional, default: "./.node-persist/storage")
"webhook_server_ip_or_name": 192.XXXX , // (optional, must be the IP/Hostname of the server running homebridge)
"webhook_port": 51827, // (optional, default: 51827, must be a free port on the server running homebridge, NOT the same as homebridge)
"lock_state_mode": 0, // (see below, optional, default: 0)
"lockaction_maxtries": 3, // (optional, default: 3)
"lockaction_retrydelay": 3000, // (in ms, optional, default: 3000)
"add_maintainance_buttons": false, // (optional, default: false, if set to true, than three switches will be added as accessory to do reboot, firmware update, and to refresh all locks state)
"locks": [
{
"id": XXXXXX,
"name": Wohnungstür,
"usesDoorLatch" : true, // (default: false)
"priority" : 1 // (optional, default: 99 [locks with higher priority {lower number} will be proccessed first])
}]
]
Oder vielleicht hat jemand eine passende Datei, in die ich meine Werte einsetzen kann.
Vielen Dank