Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. [Aufruf] ioBroker.ham (Homebridge Accessory Manager) testen

    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

    [Aufruf] ioBroker.ham (Homebridge Accessory Manager) testen

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

      Plugin erstmal nur zum Test drin:
      2480_1.png
      2480_2.png

      1 Reply Last reply Reply Quote 0
      • Dutchman
        Dutchman Developer Most Active Administrators last edited by

        Nimm Mal {} bij Platforms Weck wenn nichts eingefüllt reicht []

        Sent from my iPhone using Tapatalk

        1 Reply Last reply Reply Quote 0
        • R
          rudiraz last edited by

          Ahh ok, das war der Fehler.

          Dann kann ich mal testen jetzt 🙂

          Danke und Grüße

          1 Reply Last reply Reply Quote 0
          • Meistertr
            Meistertr Developer last edited by

            Hi,

            wollte es auch gerade testen leider ohne erfolg, er kann die config.json nicht finden.

            host.devbroker	2018-06-26 21:59:40.320	info	Restart adapter system.adapter.ham.0 because enabled
            host.devbroker	2018-06-26 21:59:40.320	error	instance system.adapter.ham.0 terminated with code 0 (OK)
            Caught	2018-06-26 21:59:40.320	error	by controller[1]: path: '/opt/iobroker/iobroker-data/ham_0/config.json' }
            Caught	2018-06-26 21:59:40.320	error	by controller[1]: syscall: 'open',
            Caught	2018-06-26 21:59:40.320	error	by controller[1]: code: 'ENOENT',
            Caught	2018-06-26 21:59:40.320	error	by controller[1]: errno: -2,
            Caught	2018-06-26 21:59:40.320	error	by controller[1]: at Object.start (/opt/iobroker/node_modules/iobroker.ham/lib/wrapper-handler.js:96:23)
            Caught	2018-06-26 21:59:40.320	error	by controller[1]: at HomebridgeWrapper.init (/opt/iobroker/node_modules/homebridge-plugin-wrapper/index.js:188:19)
            Caught	2018-06-26 21:59:40.320	error	by controller[1]: at new Server (/opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/server.js:57:24)
            Caught	2018-06-26 21:59:40.320	error	by controller[1]: at Server._loadPlugins (/opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/server.js:139:22)
            Caught	2018-06-26 21:59:40.320	error	by controller[1]: at Array.forEach (<anonymous>)
            Caught	2018-06-26 21:59:40.320	error	by controller[1]: at Server. <anonymous>(/opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/server.js:165:14)
            Caught	2018-06-26 21:59:40.320	error	by controller[1]: at Plugin.module.exports [as initializer] (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-mi-philips-light/index.js:10:9)
            Caught	2018-06-26 21:59:40.320	error	by controller[1]: at isConfig (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-mi-philips-light/index.js:24:32)
            Caught	2018-06-26 21:59:40.320	error	by controller[1]: at Object.fs.readFileSync (fs.js:551:33)
            Caught	2018-06-26 21:59:40.320	error	by controller[1]: at Object.fs.openSync (fs.js:646:18)
            Caught	2018-06-26 21:59:40.320	error	by controller[1]: { Error: ENOENT: no such file or directory, open '/opt/iobroker/iobroker-data/ham_0/config.json'
            Caught	2018-06-26 21:59:40.319	error	by controller[0]: [2018-6-26 21:59:40] Plugin /opt/iobroker/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'.
            ham.0	2018-06-26 21:59:40.314	warn	Exception: Error: ENOENT: no such file or directory, open '/opt/iobroker/iobroker-data/ham_0/config.json'
            ham.0	2018-06-26 21:59:40.314	info	cleaned everything up...
            ham.0	2018-06-26 21:59:40.314	error	at Object.start (/opt/iobroker/node_modules/iobroker.ham/lib/wrapper-handler.js:96:23)
            ham.0	2018-06-26 21:59:40.314	error	at HomebridgeWrapper.init (/opt/iobroker/node_modules/homebridge-plugin-wrapper/index.js:188:19)
            ham.0	2018-06-26 21:59:40.314	error	at new Server (/opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/server.js:57:24)
            ham.0	2018-06-26 21:59:40.314	error	at Server._loadPlugins (/opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/server.js:139:22)
            ham.0	2018-06-26 21:59:40.314	error	at Array.forEach (<anonymous>)
            ham.0	2018-06-26 21:59:40.314	error	at Server. <anonymous>(/opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/server.js:165:14)
            ham.0	2018-06-26 21:59:40.314	error	at Plugin.module.exports [as initializer] (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-mi-philips-light/index.js:10:9)
            ham.0	2018-06-26 21:59:40.314	error	at isConfig (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-mi-philips-light/index.js:24:32)
            ham.0	2018-06-26 21:59:40.314	error	at Object.fs.readFileSync (fs.js:551:33)
            ham.0	2018-06-26 21:59:40.314	error	at Object.fs.openSync (fs.js:646:18)
            ham.0	2018-06-26 21:59:40.314	error	Error: ENOENT: no such file or directory, open '/opt/iobroker/iobroker-data/ham_0/config.json'
            ham.0	2018-06-26 21:59:40.314	error	uncaught exception: ENOENT: no such file or directory, open '/opt/iobroker/iobroker-data/ham_0/config.json'
            ham.0	2018-06-26 21:59:40.311	debug	[2018-6-26 21:59:40] Loaded plugin: homebridge-mi-philips-light</anonymous></anonymous></anonymous></anonymous>
            

            das modul habe ich eigentlich schon gelöscht.. screenshot der Config im Anhang
            1768_2018-06-26_22h04_03.png

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

              Oooohje diese Plugin-Entwickler … warum auch immer die das Configfile lesen ...

              Bitte 0.4.3 vom GitHub versuchen. geht es damit? Er schreibt jetzt die Konfig ins Konfigverzeichnis zusätzlich.

              Du solltest aber das JSON checken. ein doppeltes "accessories" ist blöd. Wirf das Wemos raus wenn Du es nicht brauchst.

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

                @apollon77:

                Du solltest aber das JSON checken. ein doppeltes "accessories" ist blöd. Wirf das Wemos raus wenn Du es nicht brauchst. `

                Am besten aus dem Grund-config diese Beispiele löschen, es verwirrt nur.

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

                  0.4.3 macht genau das 😉

                  Gesendet vom Handy …

                  1 Reply Last reply Reply Quote 0
                  • Z
                    zahnheinrich last edited by

                    Hallo in die Runde,

                    Mein System:

                    ioBroker auf Synology buanet-Docker

                    node v6.14.3

                    npm 4.6.1

                    Installation des Adpters ohne Besonderheiten.

                    Habe das homebridge-ikea-tradfri-gateway installiert, die config, wie von Alex1808 für ein funktionierendes Plugin beschrieben, eingestellt.

                    Gateway ist online.

                    Der Adapter zeigt kurz grün, dann bleibt er rot, das log zeigt folgende Fehler:

                    ! host.iobrokerBosaca 2018-06-27 15:02:53.792 error instance system.adapter.ham.0 terminated with code 0 (OK)
                    ! host.iobrokerBosaca 2018-06-27 15:02:53.792 error Caught by controller[2]: at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.ham/node_modules/node-aead-crypto/index.js:4:15)
                    ! host.iobrokerBosaca 2018-06-27 15:02:53.791 error Caught by controller[2]: at Function.Module._load (/opt/iobroker/node_modules/iobroker.ham/node_modules/mock-require/index.js:29:22)
                    ! host.iobrokerBosaca 2018-06-27 15:02:53.791 error Caught by controller[2]: { Error: Cannot find module '/opt/iobroker/node_modules/iobroker.ham/node_modules/node-aead-crypto/build/Release/node-v48-linux-x64/node_aead_crypto.node'
                    ! host.iobrokerBosaca 2018-06-27 15:02:53.790 error Caught by controller[0]: [2018-6-27 13:02:52] Plugin /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'.
                    ! host.iobrokerBosaca 2018-06-27 15:02:50.474 info instance system.adapter.ham.0 started with pid 7291
                    ! host.iobrokerBosaca 2018-06-27 15:02:20.449 info Restart adapter system.adapter.ham.0 because enabled</anonymous>

                    die config:

                    ! {
                    ! "description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.",
                    ! "accessories": [],
                    ! "platforms": [
                    ! {
                    ! "platform": "Ikea Trådfri Gateway",
                    ! "name": "Ikea Trådfri Gateway",
                    ! "host": "192.168.7.106", // IP des Tradfry Gateways
                    ! "securityCode": "XXXXXXXXXX" // hier unkenntlich gemacht
                    ! }
                    ! ]
                    ! }

                    1841_ham.png

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

                      Zeig mal den Log-Teil von der Installation des gewählten Plugins … In meinen Augen passt da was nicht:

                       host.iobrokerBosaca 2018-06-27 15:02:53.791 error Caught by controller[2]: { Error: Cannot find module '/opt/iobroker/node_modules/iobroker.ham/node_modules/node-aead-crypto/build/Release/node-v48-linux-x64/node_aead_crypto.node'
                      
                      1 Reply Last reply Reply Quote 0
                      • Dutchman
                        Dutchman Developer Most Active Administrators last edited by

                        Warum Bindest du Ikea per Homebridge ein anstatt des tradifi Adapters ?

                        Der Adapter kan mehr als Homebridge!

                        Beides gleichzeitig geht nicht wegen besetzten ports

                        Sent from my iPhone using Tapatalk

                        1 Reply Last reply Reply Quote 0
                        • Z
                          zahnheinrich last edited by

                          @apollon77

                          Ähh, welchen log meinst Du? Stehe da gerade auf dem Schlauch… :roll:

                          @Dutchman

                          ...weil ich das Ding nicht mehr zum Laufen kriege... :oops:

                          Es ging schon mal einwandfrei, nach Docker update, Adapter update auf 2.0 auf einmal nicht mehr, trotz stundenlangen Suchens.

                          Auch zurück auf v1.4.1 beim Tradfri ging nicht mehr.

                          Dacht nun, wenn mit dem homebridge plugin einfach ginge....

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

                            @zahnheinrich:

                            @apollon77

                            Ähh, welchen log meinst Du? Stehe da gerade auf dem Schlauch… :roll: `

                            Also du den Namen des Plugins in die Konfig eingetragen und gespeichert hast. Da würde das NPM paket installiert. Den Teil aus dem ioBroker-Log meine ich.

                            @zahnheinrich:

                            @Dutchman

                            …weil ich das Ding nicht mehr zum Laufen kriege... :oops:

                            Es ging schon mal einwandfrei, nach Docker update, Adapter update auf 2.0 auf einmal nicht mehr, trotz stundenlangen Suchens.

                            Auch zurück auf v1.4.1 beim Tradfri ging nicht mehr.

                            Dacht nun, wenn mit dem homebridge plugin einfach ginge.... `

                            Dann mache lieber einen Thread auf wo es darum geht den Adapter wieder zum laufen zu bekommen! 🙂

                            1 Reply Last reply Reply Quote 0
                            • Dutchman
                              Dutchman Developer Most Active Administrators last edited by

                              Nö lieber troubleshooten warum tradifi nicht mehr läuft Homebridge wird dir weniger Möglichkeiten geben als der Adapter.

                              Mja, jedenfalls würde ich es so machen gut gemeinter tip

                              Sent from my iPhone using Tapatalk

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

                                Hi,

                                ich finde diesen adapter absolut toll , allerdings habe ich ein Problem, das ich einfach nicht selber lösen kann:

                                Ich schaffe es nicht zwei "platforms" in die Konfigurationsdatei zu geben – denn ich erhalte immer eine Fehlermeldung und kann die Konfirguration nicht abspeichern.

                                Hier die Konfirgurationsdatei - mit 2 "platforms", für dich ich die Fehlermeldung "expected ',' instead od '{' ferhalte -> und nicht abspeichern kann.

                                (die Fehlermeldung steht übrigens über der Zeile mit "platform": "Info",

                                ! {
                                ! "description": "Add configuration for your accessories or platforms according to the docs of the plugins.",
                                ! "accessories": [
                                ! {
                                ! "accessory": "RaspberryPiTemperature",
                                ! "name": "RaspberryPi CPU Temperature",
                                ! "updateInterval": 1000
                                ! }
                                ! ],
                                ! "platforms": [
                                ! {
                                ! "platform": "Seasons",
                                ! "name": "Seasons",
                                ! "calendar": "meteorologic",
                                ! "hemisphere": "north",
                                ! "display": "both"
                                ! }
                                ! {
                                ! "platform": "Info",
                                ! "port": 9876,
                                ! "name": "Homebridge Info Server",
                                ! "updateFrequency": 10000,
                                ! "updateCheckFrequency": 86400
                                ! }
                                ! ]
                                ! }

                                Was an meiner Konfiguration ist falsch bzw. wie kann man mehrere "platforms" in der Konfigurationsdatei eintragen.

                                Danke bereits jetzt für eure Tipps.

                                schroedinger

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

                                  @schroedinger:

                                  "platforms": [ `

                                  es fehlt eine Komma

                                  {

                                  "platform": "Seasons",

                                  "name": "Seasons",

                                  "calendar": "meteorologic",

                                  "hemisphere": "north",

                                  "display": "both"

                                  },

                                  {

                                  "platform": "Info",

                                  "port": 9876,

                                  "name": "Homebridge Info Server",

                                  "updateFrequency": 10000,

                                  "updateCheckFrequency": 86400

                                  }

                                  ]

                                  }

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

                                    Nach der ersten Plattform und der schliessenden geschweiften Klammer ein Komma bitte weil Du ja noch einen Eintrag angibst.

                                    Die Fehlermeldung sagt das doch … "erwarte ein Komma anstelle der nächsten öffnenden Klammer ...

                                    Edit: Alex war schneller 😉

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

                                      Hi,

                                      danke euch beiden.

                                      Ich habe immer noch Probleme mit der Syntax von Konfigurationsdateien - aber auch wieder was gelernt.

                                      Falls ich noch ein paar interessante hmebridge-adapter zum Laufen bringen, poste ich das hier. Mein Favorit wäre fakegato-history

                                      Wenn das funktioniert, könnte man in der Elgato Eve app Graphen anzeigen lassen.

                                      Sollte ich es hinbekommen, poste ich es hier.

                                      danke

                                      schroedinger

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

                                        Dann sag doch welche Probleme du hast, dann finden wir eine Lösung.

                                        Gesendet vom Handy …

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

                                          Ps: dir ist aber schon klar das fakegato-History kein homebridge Plugin ist. Das ist eine Library die andere Plugin Provider einbauen können um für ihre Plugins in eve histories anzuzeigen.

                                          Also du kannst da gar nichts tun. Das müssen die Plugin devs machen. Also wenn du es willst musst du bei denen isues aufmachen.

                                          Auch dann wäre das hier nur für den globalen Modus interessant!! Für den wrapper Modus nimm History in iobroker oder so.

                                          Gesendet vom Handy …

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

                                            hi @appolon77

                                            > Dann sag doch welche Probleme du hast, dann finden wir eine Lösung.
                                            Ich hatte mich schlecht ausgedrückt , als ich sagte, die Syntax macht mir immer noch Probleme. Ich meinte dies generell.

                                            Aber mein oben erwähntes Problem hast du doch deine Post gelöst. Ich werde dies als "gelöst" markieren.

                                            Bezüglich > fakegato-History kein homebridge Plugin
                                            Zumindest hier steht, dass es ein homebridge-plugin wäre.

                                            https://www.npmjs.com/search?q=homebrid … popularity

                                            cu

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            891
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            55
                                            343
                                            74683
                                            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