NEWS
Test Alpha Homekit-Controller 0.0.x
-
@pboeck aber wenn der stoppt muss mehr im Log sein ...
-
@apollon77
Ich habe nun den iobrocker neu gestartet, jetzt stopp der Adapter seit ca. 3 Stunden nicht mehr.{ "type": "state", "common": { "name": "Last Discovered", "type": "boolean", "role": "value.time", "read": true, "write": false }, "native": {}, "from": "system.adapter.homekit-controller.0", "user": "system.user.admin", "ts": 1635176765755, "_id": "homekit-controller.0.IP-FA:E2:76:C6:A9:AE.info.lastDiscovered", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }
Müsste hier, "type": "boolean", nicht ein anderer Typ stehen?
2021-10-25 17:51:06.709 - info: homekit-controller.0 (20792) State value to set for "homekit-controller.0.IP-B8:1B:83:7E:C7:6E.info.lastDiscovered" has to be type "boolean" but received type "number"
-
@pboeck Wo Du recht hast haste recht ... Den hab ich übersehen
0.3.1 auf GitHub
-
@apollon77 Noch was:
-
@pboeck 0.3.3 auf GitHub sollte das fixen.Danke
-
@apollon77
Ich weiß jetzt gar nicht, ob der Adapter das kann, was ich möchte.
Ich würde gern meine Tahoma Box lokal steuern statt über die Cloud. Aaaaaber: Die PIN der Box ist nicht 8-stellig, sondern 12-stellig, also xxxx-xxxx-xxxx. Außerdem zeigt der Adapter komischerweise eine andere MAC an als auf der Box und im QR-Code stehen.
Bin ich zu doof? (nein, eine zweite Box gibts hier nirgends).Danke schon mal
-
@strathcole Eine Homekit Pin ist IMMER 8-stellig ... Also musst Du ggf checken wo du die richtige Homekit PIN herbekommst.
Die Homekit ID ist üblicherweise die MAC, bin aber ehrlich das ich zu wenig "vergleichsdaten" habe um das zu 100% zu unterschreiben.
-
@apollon77 Okay, danke. Fürchte, dann ist das noch eine der Boxen, die nur nachträglich via Software auf Homekit kompatibel gemacht wurden aber nirgends eine HomeKit-PIN stehen haben Dann wird das ohne Apple-Gerät wohl nichts.
-
@strathcole schau doch mal auf der webseite von somfy.
-
@apollon77 Leider nein. Alles schon versucht, sogar deren Support angerufen. Die zwingen einen dann dazu, das Koppeln mit Homekit via Tahoma App auf iOS (interne Kommunikation zwischen Tahoma- und Apple-Home-App) zu machen. Anderen Weg gibts angeblich nicht. Aber da kann dein Adapter ja nichts dafür
-
Servus!
Habe die 0.3.3 installiert, sehe auch was unter „Objekte“, aber unter „Instanzen“ erscheint er nicht.
Muß ich den ioBroker dafür restarten?Danke und Grüße,
Marcus -
@invidianer Über git installiert?
Dann muss die Instanz von Hand angelegt werden. -
@thomas-braun
Das hatte ich gesehen, ja, danke, aber ich habe es über die Info-Seite des ioBrokers (Bereich "Neue Adapter") installiert.
Komisch war, daß da nur "0.3.3" stand, kein Adaptername. Den zeigte es erst nach Klicken auf "Info" an. -
Hat vielleicht jemand eine Idee? Die Installation scheint geklappt zu haben. Unter "Objekte" und "Adapter" sehe ich es. Nur halt unter "Instanzen" nicht
2021-11-06 23:55:47.587 - info: host.raspberrypi Updating repository "stable" under "http://download.iobroker.net/sources-dist.json" 2021-11-06 23:57:25.686 - info: host.raspberrypi iobroker install homekit-controller 2021-11-06 23:57:28.491 - info: host.raspberrypi iobroker NPM version: 6.14.15 2021-11-06 23:57:28.494 - info: host.raspberrypi iobroker npm install iobroker.homekit-controller@0.3.3 --loglevel error --prefix "/opt/iobroker" (System call) 2021-11-06 23:58:30.188 - info: host.raspberrypi iobroker node-pre-gyp ERR! install response status 404 Not Found on https://github.com/abandonware/node-bluetooth-hci-socket/releases/download/0.5.3-8/bluetooth_hci_socket-0.5.3-8-node-v72-linux-arm.tar.gz 2021-11-06 23:58:34.127 - info: host.raspberrypi iobroker In file included from /home/iobroker/.cache/node-gyp/12.22.7/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/12.22.7/include/node/node.h:736:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local, v8::Local, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^/home/iobroker/.cache/node-gyp/12.22.7/include/node/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~ 2021-11-06 23:58:34.130 - info: host.raspberrypi iobroker ../src/BluetoothHciSocket.cpp:635:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(binding, BluetoothHciSocket::Init); ^~~~~~~~~~~ 2021-11-06 23:58:34.358 - info: host.raspberrypi iobroker ../src/BluetoothHciSocket.cpp: In member function ‘int BluetoothHciSocket::kernelDisconnectWorkArounds(int, char*)’:../src/BluetoothHciSocket.cpp:401:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 2021-11-06 23:58:40.883 - info: host.raspberrypi iobroker host.raspberrypi install adapter homekit-controller 2021-11-06 23:58:40.933 - info: host.raspberrypi iobroker upload [10] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/static/js/runtime-main.f705f273.js static/js/runtime-main.f705f273.js application/javascript 2021-11-06 23:58:41.027 - info: host.raspberrypi iobroker upload [9] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/static/js/main.73ad8aca.chunk.js static/js/main.73ad8aca.chunk.js application/javascript 2021-11-06 23:58:41.084 - info: host.raspberrypi iobroker upload [8] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/static/js/2.e5a95dd3.chunk.js.LICENSE.txt static/js/2.e5a95dd3.chunk.js.LICENSE.txt text/plain 2021-11-06 23:58:41.142 - info: host.raspberrypi iobroker upload [7] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/static/js/2.e5a95dd3.chunk.js static/js/2.e5a95dd3.chunk.js application/javascript 2021-11-06 23:58:41.239 - info: host.raspberrypi iobroker upload [6] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/static/css/main.e2d673ee.chunk.css static/css/main.e2d673ee.chunk.css text/css 2021-11-06 23:58:41.296 - info: host.raspberrypi iobroker upload [5] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/static/css/2.faf2f676.chunk.css static/css/2.faf2f676.chunk.css text/css 2021-11-06 23:58:41.353 - info: host.raspberrypi iobroker upload [4] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/manifest.json manifest.json application/json 2021-11-06 23:58:41.410 - info: host.raspberrypi iobroker upload [3] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/index_m.html index_m.html text/html 2021-11-06 23:58:41.470 - info: host.raspberrypi iobroker upload [2] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/homekit-controller.png homekit-controller.png image/png 2021-11-06 23:58:41.537 - info: host.raspberrypi iobroker upload [1] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/favicon.ico favicon.ico image/vnd.microsoft.icon 2021-11-06 23:58:41.599 - info: host.raspberrypi iobroker upload [0] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/asset-manifest.json asset-manifest.json application/json 2021-11-06 23:58:41.828 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.homekit-controller created/updated 2021-11-06 23:58:42.910 - info: host.raspberrypi iobroker exit 0
-
Nach Deinstallation und erneuter Installation ist nun auch die Instanz da.
Allerdings findet er den Eve Weather nicht. IP und Bluetooth ist angehakt.
"Verbunden mit Gerät oder Dienst" bleibt ein rotes Kreuzen -
@invidianer dann zeig mal debug log. Eve weather ist Ble? Dass gerät hat Bluetooth was nicht schon von nem anderen Prozess belegt ist? (Zb Radar2 oder Ble Adapter?)
-
@apollon77
Hier die Installation:2021-11-07 08:54:04.847 - info: host.raspberrypi iobroker add homekit-controller auto --host raspberrypi 2021-11-07 08:54:07.678 - info: host.raspberrypi iobroker NPM version: 6.14.15 2021-11-07 08:54:07.681 - info: host.raspberrypi iobroker npm install iobroker.homekit-controller@0.3.3 --loglevel error --prefix "/opt/iobroker" (System call) 2021-11-07 08:54:54.166 - info: host.raspberrypi iobroker node-pre-gyp ERR! install response status 404 Not Found on https://github.com/abandonware/node-bluetooth-hci-socket/releases/download/0.5.3-8/bluetooth_hci_socket-0.5.3-8-node-v72-linux-arm.tar.gz 2021-11-07 08:54:57.973 - info: host.raspberrypi iobroker In file included from /home/iobroker/.cache/node-gyp/12.22.7/include/node/node_buffer.h:25, 2021-11-07 08:54:57.974 - info: host.raspberrypi iobroker from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/12.22.7/include/node/node.h:736:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local, v8::Local, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^/home/iobroker/.cache/node-gyp/12.22.7/include/node/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~../src/BluetoothHciSocket.cpp:635:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(binding, BluetoothHciSocket::Init); ^~~~~~~~~~~ 2021-11-07 08:54:58.197 - info: host.raspberrypi iobroker ../src/BluetoothHciSocket.cpp: In member function ‘int BluetoothHciSocket::kernelDisconnectWorkArounds(int, char*)’: 2021-11-07 08:54:58.198 - info: host.raspberrypi iobroker ../src/BluetoothHciSocket.cpp:401:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 2021-11-07 08:55:05.946 - info: host.raspberrypi iobroker host.raspberrypi install adapter homekit-controller 2021-11-07 08:55:05.983 - info: host.raspberrypi iobroker upload [10] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/static/js/runtime-main.f705f273.js static/js/runtime-main.f705f273.js application/javascript 2021-11-07 08:55:06.078 - info: host.raspberrypi iobroker upload [9] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/static/js/main.73ad8aca.chunk.js static/js/main.73ad8aca.chunk.js application/javascript 2021-11-07 08:55:06.136 - info: host.raspberrypi iobroker upload [8] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/static/js/2.e5a95dd3.chunk.js.LICENSE.txt static/js/2.e5a95dd3.chunk.js.LICENSE.txt text/plain 2021-11-07 08:55:06.198 - info: host.raspberrypi iobroker upload [7] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/static/js/2.e5a95dd3.chunk.js static/js/2.e5a95dd3.chunk.js application/javascript 2021-11-07 08:55:06.293 - info: host.raspberrypi iobroker upload [6] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/static/css/main.e2d673ee.chunk.css static/css/main.e2d673ee.chunk.css text/css 2021-11-07 08:55:06.352 - info: host.raspberrypi iobroker upload [5] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/static/css/2.faf2f676.chunk.css static/css/2.faf2f676.chunk.css text/css 2021-11-07 08:55:06.429 - info: host.raspberrypi iobroker upload [4] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/manifest.json manifest.json application/json 2021-11-07 08:55:06.489 - info: host.raspberrypi iobroker upload [3] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/index_m.html index_m.html text/html 2021-11-07 08:55:06.554 - info: host.raspberrypi iobroker upload [2] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/homekit-controller.png homekit-controller.png image/png 2021-11-07 08:55:06.617 - info: host.raspberrypi iobroker upload [1] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/favicon.ico favicon.ico image/vnd.microsoft.icon 2021-11-07 08:55:06.677 - info: host.raspberrypi iobroker upload [0] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/asset-manifest.json asset-manifest.json application/json 2021-11-07 08:55:06.903 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.homekit-controller created/updated 2021-11-07 08:55:06.973 - info: host.raspberrypi iobroker host.raspberrypi create instance homekit-controller 2021-11-07 08:55:06.983 - info: host.raspberrypi iobroker host.raspberrypi object homekit-controller.0.info.connection created 2021-11-07 08:55:07.017 - info: host.raspberrypi iobroker host.raspberrypi object homekit-controller.0.info created 2021-11-07 08:55:07.052 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.homekit-controller.0.logLevel created 2021-11-07 08:55:07.086 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.homekit-controller.0.sigKill created 2021-11-07 08:55:07.121 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.homekit-controller.0.eventLoopLag created 2021-11-07 08:55:07.168 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.homekit-controller.0.outputCount created 2021-11-07 08:55:07.203 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.homekit-controller.0.inputCount created 2021-11-07 08:55:07.240 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.homekit-controller.0.uptime created 2021-11-07 08:55:07.275 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.homekit-controller.0.memRss created 2021-11-07 08:55:07.309 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.homekit-controller.0.memHeapTotal created 2021-11-07 08:55:07.342 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.homekit-controller.0.memHeapUsed created 2021-11-07 08:55:07.375 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.homekit-controller.0.cputime created 2021-11-07 08:55:07.416 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.homekit-controller.0.cpu created 2021-11-07 08:55:07.451 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.homekit-controller.0.compactMode created 2021-11-07 08:55:07.487 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.homekit-controller.0.connected created 2021-11-07 08:55:07.525 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.homekit-controller.0.alive created 2021-11-07 08:55:07.558 - info: host.raspberrypi iobroker host.raspberrypi Set default value of homekit-controller.0.info.connection: false 2021-11-07 08:55:07.613 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.homekit-controller.0 created 2021-11-07 08:55:08.735 - info: host.raspberrypi iobroker exit 0 2021-11-07 08:55:10.762 - info: host.raspberrypi instance system.adapter.homekit-controller.0 started with pid 1361
Und dann danach:
homekit-controller.0 2021-11-07 09:05:48.121 info starting. Version 0.3.3 in /opt/iobroker/node_modules/iobroker.homekit-controller, node: v12.22.7, js-controller: 3.3.18 homekit-controller.0 2021-11-07 09:05:48.106 info Plugin sentry Sentry Plugin disabled for this process because data reporting is disabled on instance homekit-controller.0 2021-11-07 09:05:43.202 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason homekit-controller.0 2021-11-07 09:05:43.201 info terminating homekit-controller.0 2021-11-07 09:05:43.191 info Got terminate signal TERMINATE_YOURSELF homekit-controller.0 2021-11-07 09:05:37.424 info IP-4F:07:44:53:78:FA (ioBrokerBridge A051) found without known pairing data and already paired: ignoring homekit-controller.0 2021-11-07 09:05:37.415 info IP-12:88:48:42:4E:1B (Philips hue - 1918BC) found without known pairing data and already paired: ignoring homekit-controller.0 2021-11-07 09:05:37.405 info IP-4F:07:44:53:78:FA (ioBrokerBridge A051) found without known pairing data and already paired: ignoring homekit-controller.0 2021-11-07 09:05:36.941 info starting. Version 0.3.3 in /opt/iobroker/node_modules/iobroker.homekit-controller, node: v12.22.7, js-controller: 3.3.18 homekit-controller.0 2021-11-07 09:05:33.349 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason homekit-controller.0 2021-11-07 09:05:33.347 info terminating homekit-controller.0 2021-11-07 09:05:33.334 info Got terminate signal TERMINATE_YOURSELF homekit-controller.0 2021-11-07 08:57:30.466 info IP-4F:07:44:53:78:FA (ioBrokerBridge A051) found without known pairing data and already paired: ignoring homekit-controller.0 2021-11-07 08:57:30.458 info IP-4F:07:44:53:78:FA (ioBrokerBridge A051) found without known pairing data and already paired: ignoring homekit-controller.0 2021-11-07 08:57:30.448 info IP-12:88:48:42:4E:1B (Philips hue - 1918BC) found without known pairing data and already paired: ignoring homekit-controller.0 2021-11-07 08:57:29.977 info starting. Version 0.3.3 in /opt/iobroker/node_modules/iobroker.homekit-controller, node: v12.22.7, js-controller: 3.3.18 homekit-controller.0 2021-11-07 08:57:20.780 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason homekit-controller.0 2021-11-07 08:57:20.778 info terminating homekit-controller.0 2021-11-07 08:57:20.764 info Got terminate signal TERMINATE_YOURSELF homekit-controller.0 2021-11-07 08:55:49.914 info IP-4F:07:44:53:78:FA (ioBrokerBridge A051) found without known pairing data and already paired: ignoring homekit-controller.0 2021-11-07 08:55:49.903 info IP-4F:07:44:53:78:FA (ioBrokerBridge A051) found without known pairing data and already paired: ignoring homekit-controller.0 2021-11-07 08:55:49.873 info IP-12:88:48:42:4E:1B (Philips hue - 1918BC) found without known pairing data and already paired: ignoring homekit-controller.0 2021-11-07 08:55:49.425 info starting. Version 0.3.3 in /opt/iobroker/node_modules/iobroker.homekit-controller, node: v12.22.7, js-controller: 3.3.18 homekit-controller.0 2021-11-07 08:55:43.809 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason homekit-controller.0 2021-11-07 08:55:43.805 info terminating homekit-controller.0 2021-11-07 08:55:43.793 info Got terminate signal TERMINATE_YOURSELF homekit-controller.0 2021-11-07 08:55:13.231 info IP-4F:07:44:53:78:FA (ioBrokerBridge A051) found without known pairing data and already paired: ignoring homekit-controller.0 2021-11-07 08:55:13.223 info IP-4F:07:44:53:78:FA (ioBrokerBridge A051) found without known pairing data and already paired: ignoring homekit-controller.0 2021-11-07 08:55:13.207 info IP-12:88:48:42:4E:1B (Philips hue - 1918BC) found without known pairing data and already paired: ignoring homekit-controller.0 2021-11-07 08:55:13.023 info starting. Version 0.3.3 in /opt/iobroker/node_modules/iobroker.homekit-controller, node: v12.22.7, js-controller: 3.3.18 ...
Eve Weather hat BLE/Thread und ist bei mir mit einem HomePod mini verbunden und liefert die Daten an die Home App und die Eve App.
-
@invidianer Hi,
Also ich sehe hier nicht das irgendwas von BLE ankommt als Discovery. Und Ist auch kein Debug log (Instanzen - Expertenmodus - Loglevel info-> debug setzen für die Instanz.
ABER: Wenn er BLE findet dann wird dort auch nur eine meldung wie bei den anderen kommen nämlich "gefunden aber schon gepaired ignoriere es". Du müsstest es erst unpairen mit deiner Home App bzw dem Home Mini damit der Adapter es finden würde - wenn BLE tut ... und bist sicher das der Rechner wo es läuft nen BLE cheip/Stick hat der nicht schon von was anderem genutzt wird?
-
@apollon77
Hmm, bin jetzt nicht sicher, was Du meinst. Mein ioBroker läuft auf einem Raspberry Pi und hat keinen Stick oder so.
Er steht im Dachgeschoss, der Weather hängt außen vor der Küche und ist verbunden mit einem HomePod mini im Wohnzimmer. Da ich im Haus 9 HomePod minis verteilt habe, sollte das Thread-Netzwerk im ganzen Haus verfügbar sein und die HomePod minis sind ja ebenfalls per Wifi verbunden. So dachte ich, daß das alles auch irgendwie in den ioBroker zu bringen sei? -
@invidianer ok dann mal langsam. Der Adapter kann maximal über BLE mit dem Gerät direkt reden - wenn es nicht schon gepaired ist. Das sollte Ggf zu weit weg sein.
Wenn der adapter thread könnte gäbs ne Auswahl und du bräuchtest Hardware dafür. Weiterhin HomeKit via Thread ist noch nicht offengelegt … also bitte genau lesen was der Adapter kann und möglich ist.