Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Apple Homekit Siri

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Apple Homekit Siri

    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      versteckt last edited by

      Guten Morgen!

      Lt. https://github.com/KhaosT/HAP-NodeJS/wiki/Installing gibt es Abhängigkeiten zu bestimmten Linux Paketen.

      Habe die package.json im Bereich scripts angepasst. Jetzt sollte die Installation funktionieren.

      Bei mir läuft auf dem odroid node version 0.12.6 von http://node-arm.herokuapp.com/

      Ob das kompatibel zu ioBroker ist, muss ich aber erst selbst testen.

      LG Christian

      1 Reply Last reply Reply Quote 0
      • V
        versteckt last edited by

        Hallo, grade Version 0.0.2 hochgeladen.

        Jetzt werden die Werte (Temperatur, Licht) beim Refresh der Räume auch neu geladen.

        Das war in der 0.0.1 nur beim starten des Adapters drinnen.

        LG Christian

        1 Reply Last reply Reply Quote 0
        • M
          mimquadrat last edited by

          ich habs installiert,

          wenn ich die Instanz dann hinzufügen möchte kommt der Fehler hier

          ! $ ./iobroker add homekit
          ! ERROR: host.raspberrypi Unknown packetName homekit
          ! ERROR: process exited with code 5

          das hier war im log zu dem Thema zu finden:
          ` > iobroker 2015-09-27 16:43:36 info exit 5

          iobroker 2015-09-27 16:43:36 error host.raspberrypi Unknown packetName homekit

          iobroker 2015-09-27 16:43:34 info add homekit `

          ich nutze einen stink normalen Raspi, mit stink normalen raspian wheezy

          1 Reply Last reply Reply Quote 0
          • S
            steinwedel last edited by

            Der Fehler tritt bei mir auch auf. Ursache ist ein Groß-/Kleinschreibe-Fehler. Das Verzeichnis heißt "ioBroker.homekit". Es muss aber "iobroker.homekit" heißen. Wenn man es umbenennt, dann ist der Fehler weg.

            1 Reply Last reply Reply Quote 0
            • S
              steinwedel last edited by

              Bei mir stürzt der Adapter immer wieder ab:
              > warn host.iobroker instance system.adapter.homekit.0 terminated due to SIGSEGV

              1 Reply Last reply Reply Quote 0
              • V
                versteckt last edited by

                Guten Morgen! Das Problem hatte ich gestern leider auch schon, muss ich heute Abend analysieren.

                Gesendet von meinem iPhone mit Tapatalk

                1 Reply Last reply Reply Quote 0
                • apollon77
                  apollon77 last edited by

                  Hi "versteckt",

                  für CCU gibts auch schon eine Version für Homebridge als Erweiterung … Der kann schon sehr viele Aktoren ... vllt kann man ja hier Code-Synergien nutzen ohne alles von Grund auf für weitere Device-Typen neu bauen zu müssen ...

                  https://github.com/thkl/homebridge

                  1 Reply Last reply Reply Quote 0
                  • S
                    steinwedel last edited by

                    An dieser Stelle einen ganz herzlichen Dank an den Entwickler des Adapters.

                    Nun noch eine Anregung. Die (teilweise) Ablage der Konfiguration in den enums halte ich nicht für sinnvoll. Der iobroker ist so gestrickt, dass man mehrere Instanzen mit unterschiedlichen Konfigurationen ausführen kann. Ob man das braucht ist eine persönliche Sache. Mit mehreren Instanzen könnte man z,B, realisieren, dass nicht jeder Nutzer auf alles zugreifen darf. Durch die Ablage der enums, können wesentliche Teile nicht pro Adapter konfiguriert werden. Daher rege ich an dieses zu ändern. Desweiteren schlage ich für die Zukunft vor (gibt bestimmt schon Planungen), auf der Seite zur Konfiguration des Adapters diejenigen Objekte in einer Liste bzw. Treeview anzuzeigen und selektierbar zu machen, die der Adapter untersstützt. Dann dürfte die Konfiguration auch für weniger ambitionierte User nutzbar werden.

                    Herzlichen Gruß

                    Gerhard

                    1 Reply Last reply Reply Quote 0
                    • V
                      versteckt last edited by

                      Hallo,

                      danke schon mal für euer Feedback.

                      @steinwedel: Die Implementierung per enums ist für mich immer der erste Schritt, das mal nur bestimmte Objekte eingesetzt werden können.

                      Ist in occ derzeit auch noch so, wird aber geändert.

                      @apollon77: Hab ich gestern bereits gesehen, muss ich mir noch genauer anschauen.

                      @All: Dieser Adapter ist im Moment noch im Alpha Stadium, mir ging es in erster Instanz darum, zu zeigen, wie einfach es ist, eine neue Schnittstelle

                      zu erzeugen.

                      Dieser Adapter wird natürlich weiterentwickelt. Für aktives Testen und Fehlermelden bin ich jetzt schon mal sehr dankbar.

                      LG Christian

                      1 Reply Last reply Reply Quote 0
                      • apollon77
                        apollon77 last edited by

                        Für die Auswahl wäre vllt das wie es das highcharts-Adon macht auch eine coole Idee: "Einfach" pro Homekit-Adapter in der UI bei den Channeln eine weitere Spalte einblenden mit ner Checkbox wo man wählen kann ob es dabei sein soll oder nicht … das wäre dann die "Luxus"-Variante der Enum 🙂

                        1 Reply Last reply Reply Quote 0
                        • T
                          Trident last edited by

                          Hallo zusammen,

                          ich hab mal versucht den Adapter zu installieren. Klappt aber nicht. Hab folgendes gemacht:

                          npm install https://github.com/husky-koglhof/ioBroker.homekit/tarball/master --production
                          
                          

                          Danach kamen folgende Fehlermeldungen im Terminal:

                          npm http GET https://github.com/husky-koglhof/ioBroker.homekit/tarball/master
                          npm http 200 https://github.com/husky-koglhof/ioBroker.homekit/tarball/master
                          
                          > ioBroker.homekit@0.0.3 preinstall /opt/iobroker/node_modules/ioBroker.homekit
                          > sudo apt-get install git-core libnss-mdns libavahi-compat-libdnssd-dev -y
                          
                          Reading package lists... Done
                          Building dependency tree       
                          Reading state information... Done
                          libavahi-compat-libdnssd-dev is already the newest version.
                          git-core is already the newest version.
                          libnss-mdns is already the newest version.
                          0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
                          1 not fully installed or removed.
                          After this operation, 0 B of additional disk space will be used.
                          Setting up linux-image-sunxi (4.3) ...
                          ln: failed to create symbolic link `/boot/zImage': Operation not permitted
                          cp: writing `/boot/zImage': No space left on device
                          cp: failed to extend `/boot/zImage': No space left on device
                          dpkg: error processing linux-image-sunxi (--configure):
                           subprocess installed post-installation script returned error exit status 1
                          Errors were encountered while processing:
                           linux-image-sunxi
                          E: Sub-process /usr/bin/dpkg returned an error code (1)
                          npm ERR! ioBroker.homekit@0.0.3 preinstall: `sudo apt-get install git-core libnss-mdns libavahi-compat-libdnssd-dev -y`
                          npm ERR! Exit status 100
                          npm ERR! 
                          npm ERR! Failed at the ioBroker.homekit@0.0.3 preinstall script.
                          npm ERR! This is most likely a problem with the ioBroker.homekit package,
                          npm ERR! not with npm itself.
                          npm ERR! Tell the author that this fails on your system:
                          npm ERR!     sudo apt-get install git-core libnss-mdns libavahi-compat-libdnssd-dev -y
                          npm ERR! You can get their info via:
                          npm ERR!     npm owner ls ioBroker.homekit
                          npm ERR! There is likely additional logging output above.
                          
                          npm ERR! System Linux 3.4.108-sunxi
                          npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "https://github.com/husky-koglhof/ioBroker.homekit/tarball/master" "--production"
                          npm ERR! cwd /opt/iobroker
                          npm ERR! node -v v0.10.22
                          npm ERR! npm -v 1.3.14
                          npm ERR! code ELIFECYCLE
                          npm ERR! 
                          npm ERR! Additional logging details can be found in:
                          npm ERR!     /opt/iobroker/npm-debug.log
                          npm ERR! not ok code 0
                          

                          Hab ich was falsch gemacht?

                          Viele Grüße

                          Trident

                          1 Reply Last reply Reply Quote 0
                          • T
                            Trident last edited by

                            Hi,

                            hab den Fehler selbst entdeckt… Muss natürlich vorher die aktuelle Version von Github laden.

                            Installiert ist nun eine Instanz. Beim Start bekomme ich im iobroker-log folgende Meldungen:

                            host-cubietruck	2015-09-28 20:36:16	error	instance system.adapter.homekit.0 terminated with code 6 (uncaught exception)
                            SyntaxError:	2015-09-28 20:36:16	error	at Manager.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/node_modules/component-emitter/index.js:134:20)
                            SyntaxError:	2015-09-28 20:36:16	error	at Manager. (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/node_modules/component-bind/index.js:21:15)
                            SyntaxError:	2015-09-28 20:36:16	error	at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:220:12)
                            SyntaxError:	2015-09-28 20:36:16	error	at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:295:6)
                            SyntaxError:	2015-09-28 20:36:16	error	at Socket. (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInMemClient.js:151:27)
                            SyntaxError:	2015-09-28 20:36:16	error	at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:2375:60
                            SyntaxError:	2015-09-28 20:36:16	error	at /opt/iobroker/node_modules/iobroker.homekit/main.js:43:61
                            SyntaxError:	2015-09-28 20:36:16	error	at /opt/iobroker/node_modules/iobroker.homekit/main.js:20:13
                            SyntaxError:	2015-09-28 20:36:16	error	at main (/opt/iobroker/node_modules/iobroker.homekit/main.js:201:33)
                            SyntaxError:	2015-09-28 20:36:16	error	at Object.parse (native)
                            SyntaxError:	2015-09-28 20:36:16	error	Unexpected token u
                            uncaught	2015-09-28 20:36:16	error	exception: Unexpected token u
                            homekit-0	2015-09-28 20:36:16	info	Parent Object Adress: hm-rpc.0.LEQ0277589
                            homekit-0	2015-09-28 20:36:16	info	HAP-NodeJS starting...
                            homekit-0	2015-09-28 20:36:16	info	received all states
                            homekit-0	2015-09-28 20:36:15	info	received all objects
                            homekit-0	2015-09-28 20:36:13	info	requesting all objects
                            homekit-0	2015-09-28 20:36:13	info	requesting all states
                            homekit-0	2015-09-28 20:36:13	info	starting. Version 0.0.3 in /opt/iobroker/node_modules/iobroker.homekit
                            homekit-0	2015-09-28 20:36:13	debug	statesDB connected
                            homekit-0	2015-09-28 20:36:13	debug	objectDB connected
                            host-cubietruck	2015-09-28 20:36:10	info	instance system.adapter.homekit.0 started with pid 7122
                            

                            Nur als Info für die Entwickler…. Vielleicht liegt es auch an mir?

                            Viele Grüße

                            Trident

                            1 Reply Last reply Reply Quote 0
                            • ruhr70
                              ruhr70 last edited by

                              @steinwedel:

                              Bei mir stürzt der Adapter immer wieder ab:
                              > warn host.iobroker instance system.adapter.homekit.0 terminated due to SIGSEGV `

                              Schliesse mich dem an.

                              Möchte an der Stelle aber auch meine Begeisterung für den Adapter ausdrücken! Teste gerne mit 😉

                              1 Reply Last reply Reply Quote 0
                              • T
                                Trident last edited by

                                Hallo zusammen,

                                konnte die Fehler beheben und der Adapter läuft nun stabil. Ich hatte nicht unterstütze Geräte in mein enum aufgenommen. Es klappt bei mir derzeit NUR mit der Ist-Temperatur der neuen Heizungsthermostaten. Allerdings erkennt die App auf meinem iPhone den Adapter nicht.. Gibt es da einen Trick?

                                Viele Grüße

                                Fabian

                                1 Reply Last reply Reply Quote 0
                                • P
                                  pix last edited by

                                  Hallo,

                                  ich schaffe es gar nicht, den Adapter zu installieren.

                                  1. Neueste Version von Github geladen, zip-Datei in iobroker/node_modules/iobroker.homekit entpackt.

                                  2. Adapter erscheint in ioBroker.admin Oberfläche (Version 0.0.3). Beim Installieren einer Instanz dieser Fehler:

                                  ! ````
                                  $ ./iobroker add homekit
                                  host.MacMini-Ethernet.fritz.box install adapter homekitnpm install --production --prefix "/Users/pix/Documents/iobroker/node_modules/iobroker.homekit" (System call)
                                  ! sudo: no tty present and no askpass program specified
                                  ! npm
                                  ERR! ioBroker.homekit@0.0.3 preinstall: sudo apt-get install git-core libnss-mdns libavahi-compat-libdnssd-dev -ynpm ERR!
                                  Exit status 1
                                  npm ERR!
                                  npm ERR! Failed at the ioBroker.homekit@0.0.3 preinstall script.npm
                                  ERR! This is most likely a problem with the ioBroker.homekit package,npm ERR! not with npm itself.
                                  npm ERR! Tell the author that this fails on your system:
                                  npm ERR! sudo apt-get install git-core libnss-mdns libavahi-compat-libdnssd-dev -y
                                  npm ERR! You can get their info via:
                                  npm
                                  ERR! npm owner ls ioBroker.homekitnpm ERR!
                                  There is likely additional logging output above.npm ERR!
                                  System Darwin 14.5.0npm ERR! command "node" "/usr/local/bin/npm" "install" "--production" "--prefix" "/Users/pix/Documents/iobroker/node_modules/iobroker.homekit"
                                  npm ERR! cwd /Users/pix/Documents
                                  npm ERR!
                                  node -v v0.10.33npm
                                  ERR! npm -v 1.4.28
                                  npm ERR! code ELIFECYCLE
                                  npm ERR!
                                  npm ERR! Additional logging details can be found in:
                                  npm ERR! /Users/pix/Documents/npm-debug.log
                                  npm ERR! not ok code 0
                                  ! Cannot install iobroker.homekit: 1
                                  ERROR: process exited with code 25

                                  
                                  Ist OS X Terminal, deshalb kein apt. Homebrew ging auch nicht.
                                  
                                  Hat jemand eine Idee?
                                  
                                  Gruß,
                                  
                                  Pix
                                  
                                  __EDIT (10.12.2015): Bei einem weiteren Versuch, eine Instanz zu installieren, lief alles sauber durch. Kann es nicht erklären, aber freue mich__ :?: :D
                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Trident last edited by

                                    Hi,

                                    hab jetzt auf dem Cubie parallel die homebridge laufen. Klappt auf Anhieb mit allen Devices. Echt sehr cool. Blöd ist nur die fehlende Integration in IO-Broker. Die Räume und Gerätenamen sind nicht synchron :). Ich denke es lohnt sich auf jeden Fall hier mal reinzuschauen! Vielleicht wird es eher ein "homebridge" Adapter für ioBroker?

                                    > [https://github.com/thkl/homebridge](https://github.com/thkl/homebridge)

                                    Der homekit-adapter wird leider nicht von der App auf dem iPhone erkannt….

                                    Viele Grüße

                                    Trident

                                    1 Reply Last reply Reply Quote 0
                                    • C
                                      cybertron last edited by

                                      Hallo zusammen,

                                      könnte mal einer das mit der Einrichtung der enums etwas erläutern.

                                      Wenn es nicht zu viel Aufwand ist, eventuell mit ein paar Bilder und 1-2 Beispielen.

                                      Ich hab den Adapter soweit problemlos installieren können. Jetzt scheitere ich aber an der enum-Konfiguration.

                                      Danke & Gruss

                                      Silvio

                                      1 Reply Last reply Reply Quote 0
                                      • V
                                        versteckt last edited by

                                        Hallo, war die letzten Wochen leider außer Gefecht gesetzt.

                                        Hab gestern auf meinem Github eine neue Version hochgeladen.

                                        Gesendet von meinem iPhone mit Tapatalk

                                        1 Reply Last reply Reply Quote 0
                                        • fischi87
                                          fischi87 last edited by

                                          hallo, ich würde mich gerne beteiligen.

                                          habe den adapter auch per console installiert aber bekomme bei den Adaptern einen Fehler?

                                          Mit freundlichen Grüßen
                                          909_bildschirmfoto_2015-12-09_um_22.05.37.png

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            steinwedel last edited by

                                            Das Installationsproblem hatte ich auch. In dem Verzeichnis der Adapter heißt das Verzeichnis "ioBroker.homekit". Habe mit "mv ioBroker.homekit/ iobroker.homekit" das Verzeichnis umbenannt. Jetzt kann man Instanzen von Adaptern installieren.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            795
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            49
                                            250
                                            51861
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo