Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Installationsfehler HAM Adapter - Philips TV

    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

    SOLVED Installationsfehler HAM Adapter - Philips TV

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

      Zeig mal deine Konfiguration für das Plugin. Denke da ist was falsch

      S 1 Reply Last reply Reply Quote 0
      • S
        Stormbringer @apollon77 last edited by

        @apollon77

        Hab die Config genommen:

        {
        "platforms": [
        {
        "accessory": "PhilipsTV",
        "name": "My Philips TV",
        "ip_address": "ip",
        "poll_status_interval": "60",
        "model_year": 2016,
        "has_ambilight": true,
        "username": "username",
        "password": "password"
        }
        ],
        "description": "Add configuration for your accessories or platforms according to the docs of the plugins.",
        "accessories": []
        }

        IP, Username und Passwort natürlich die Eigenen Daten...

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

          So, jetzt vergleiche doch mal genau das was Du da hast mit dem auf der Readme https://www.npmjs.com/package/homebridge-philipstv-x ... Platforms muss bei dir leer sein und dafür alles unten in accessories

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

            Danke Apollo aber ich glaub ich kapiers nicht so ganz. Wenn ich es so eintrage wie beim Link geht es nicht. Dann kommt in der ersten Zeile Syntax Error, siehe Bild.

            Bildschirmfoto 2019-03-07 um 16.24.53.png

            Darum hab ich das gepostete zusammen geschustert....

            Und du hast so gemeint oder hab ich da was falsch verstanden?

            {
            "platforms": [],
            "description": "Add configuration for your accessories or platforms according to the docs of the plugins.",
            "accessories": [
            {
            "accessory": "PhilipsTV",
            "name": "My Philips TV",
            "ip_address": "ip",
            "poll_status_interval": "60",
            "model_year": 2016,
            "has_ambilight": true,
            "username": "user",
            "password": "pw"
            }
            ]
            }

            Dann kommt der Fehler

            host.ubuntu 2019-03-07 16:22:59.840 error instance system.adapter.ham.4 terminated with code 0 (OK)
            Caught 2019-03-07 16:22:59.840 error by controller[2]: at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:244:12)
            Caught 2019-03-07 16:22:59.840 error by controller[2]: at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:319:9)
            Caught 2019-03-07 16:22:59.840 error by controller[2]: at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:2434:25)
            Caught 2019-03-07 16:22:59.840 error by controller[2]: at adapter.getDevices (/opt/iobroker/node_modules/iobroker.ham/main.js:175:27)
            Caught 2019-03-07 16:22:59.840 error by controller[2]: at loadExistingAccessories (/opt/iobroker/node_modules/iobroker.ham/main.js:232:35)
            Caught 2019-03-07 16:22:59.840 error by controller[2]: at Object.start (/opt/iobroker/node_modules/iobroker.ham/lib/wrapper-handler.js:111:23)
            Caught 2019-03-07 16:22:59.840 error by controller[2]: at HomebridgeWrapper.init (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/index.js:216:17)
            Caught 2019-03-07 16:22:59.840 error by controller[2]: at Server.run (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/homebridge/server.js:87:38)
            Caught 2019-03-07 16:22:59.840 error by controller[2]: at Server._loadAccessories (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/homebridge/server.js:286:42)
            Caught 2019-03-07 16:22:59.840 error by controller[2]: at API.accessory (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/homebridge/api.js:61:13)
            Caught 2019-03-07 16:22:59.840 error by controller[2]: Error: The requested accessory 'PhilipsTV' has been registered multiple times. Please be more specific by writing one of: homebridge-philipstv-enhanced.PhilipsTV, homebridge-philips
            Caught 2019-03-07 16:22:59.840 error by controller[1]: [2019-3-7 16:22:59] Plugin /opt/iobroker/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'.
            Caught 2019-03-07 16:22:59.840 error by controller[0]: [2019-3-7 16:22:59] Plugin /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'.
            ham.4 2019-03-07 16:22:59.828 warn Exception: Error: The requested accessory 'PhilipsTV' has been registered multiple times. Please be more specific by writing one of: homebridge-philipstv-enhanced.PhilipsTV, homebridge-philipstv.Phil

            host.ubuntu 2019-03-07 16:16:35.143 info Restart adapter system.adapter.ham.4 because enabled
            host.ubuntu 2019-03-07 16:16:35.143 info Restart adapter system.adapter.ham.4 because enabled
            host.ubuntu 2019-03-07 16:16:35.143 info Restart adapter system.adapter.ham.4 because enabled
            host.ubuntu 2019-03-07 16:16:35.143 info Restart adapter system.adapter.ham.4 because enabled
            host.ubuntu 2019-03-07 16:16:35.144 info Restart adapter system.adapter.ham.4 because enabled
            host.ubuntu 2019-03-07 16:16:35.144 error instance system.adapter.ham.4 terminated with code 0 (OK)
            host.ubuntu 2019-03-07 16:16:35.144 error Caught by controller[2]: at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:244:12)
            host.ubuntu 2019-03-07 16:16:35.144 error Caught by controller[2]: at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:319:9)
            host.ubuntu 2019-03-07 16:16:35.144 error Caught by controller[2]: at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:2434:25)
            host.ubuntu 2019-03-07 16:16:35.144 error Caught by controller[2]: at adapter.getDevices (/opt/iobroker/node_modules/iobroker.ham/main.js:175:27)
            host.ubuntu 2019-03-07 16:16:35.144 error Caught by controller[2]: at loadExistingAccessories (/opt/iobroker/node_modules/iobroker.ham/main.js:232:35)
            host.ubuntu 2019-03-07 16:16:35.144 error Caught by controller[2]: at Object.start (/opt/iobroker/node_modules/iobroker.ham/lib/wrapper-handler.js:111:23)
            host.ubuntu 2019-03-07 16:16:35.144 error Caught by controller[2]: at HomebridgeWrapper.init (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/index.js:216:17)
            host.ubuntu 2019-03-07 16:16:35.144 error Caught by controller[2]: at Server.run (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/homebridge/server.js:87:38)
            host.ubuntu 2019-03-07 16:16:35.144 error Caught by controller[2]: at Server._loadAccessories (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/homebridge/server.js:286:42)
            host.ubuntu 2019-03-07 16:16:35.144 error Caught by controller[2]: at API.accessory (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/homebridge/api.js:61:13)
            host.ubuntu 2019-03-07 16:16:35.144 error Caught by controller[2]: Error: The requested accessory 'PhilipsTV' has been registered multiple times. Please be more specific by writing one of: homebridge-philipstv-enhanced.PhilipsTV, homebridge-p
            host.ubuntu 2019-03-07 16:16:35.144 error Caught by controller[1]: [2019-3-7 16:16:34] Plugin /opt/iobroker/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'.
            host.ubuntu 2019-03-07 16:16:35.144 error Caught by controller[0]: [2019-3-7 16:16:34] Plugin /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'.

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

              Und das oben ist wirklich die ganze Konfig? Die meldung sagt das Du irgendwie doppelt was angegeben hast

              S 1 Reply Last reply Reply Quote 0
              • S
                Stormbringer @apollon77 last edited by Stormbringer

                @apollon77
                ja so siehts im Broker aus

                Bildschirmfoto 2019-03-08 um 06.19.56.png
                Bildschirmfoto 2019-03-08 um 06.27.48.png

                Hab jetzt probeweise noch eine neue Instanz Angelegt, selbes Ergebnis ☹

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

                  Kann es sein das du früher noch andere PhilipsTV NPM Plugins installiert hattest? Gefühlt beissen die sich weil es scheinbar mehrere gibt die in Homebridge den gleichen "Namen" beanspruchen.

                  Die musst Du ggf manuell löschen.

                  Versuch mal im ioBroker Verzeichnis dort in node_modules/iobroker.ham zu gehen und dann dort "npm uninstall <name>" zu machen und die webzuwerfen die ggf zusätzlich da sind

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

                    Danke, es war schon noch ein anderes Modul installiert. Nach dem deinstallieren vom anderen kommt jetzt

                    host.ubuntu 2019-03-08 15:31:53.428 info Restart adapter system.adapter.ham.5 because enabled
                    host.ubuntu 2019-03-08 15:31:53.428 error instance system.adapter.ham.5 terminated with code 0 (OK)
                    Caught 2019-03-08 15:31:53.428 error by controller[2]: at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.ham/node_modules/request/request.js:1083:12)
                    Caught 2019-03-08 15:31:53.428 error by controller[2]: at Request.emit (events.js:211:7)
                    Caught 2019-03-08 15:31:53.428 error by controller[2]: at emitOne (events.js:116:13)
                    Caught 2019-03-08 15:31:53.428 error by controller[2]: at Request.<anonymous> (/opt/iobroker/node_modules/iobroker.ham/node_modules/request/request.js:1161:10)
                    Caught 2019-03-08 15:31:53.428 error by controller[2]: at Request.emit (events.js:214:7)
                    Caught 2019-03-08 15:31:53.428 error by controller[2]: at emitTwo (events.js:126:13)
                    Caught 2019-03-08 15:31:53.428 error by controller[2]: at Request.self.callback (/opt/iobroker/node_modules/iobroker.ham/node_modules/request/request.js:185:22)
                    Caught 2019-03-08 15:31:53.428 error by controller[2]: at Request._callback (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-philipstv-x/index.js:166:5)
                    Caught 2019-03-08 15:31:53.428 error by controller[2]: at HttpStatusAccessory.<anonymous> (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-philipstv-x/index.js:317:36)
                    Caught 2019-03-08 15:31:53.428 error by controller[2]: at JSON.parse (<anonymous>)
                    Caught 2019-03-08 15:31:53.428 error by controller[2]: SyntaxError: Unexpected token < in JSON at position 0
                    Caught 2019-03-08 15:31:53.428 error by controller[1]: [2019-3-8 15:31:50] Plugin /opt/iobroker/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'.
                    Caught 2019-03-08 15:31:53.427 error by controller[0]: [2019-3-8 15:31:50] Plugin /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'.
                    ham.5 2019-03-08 15:31:53.394 info terminating
                    ham.5 2019-03-08 15:31:53.391 warn Exception: SyntaxError: Unexpected token < in JSON at position 0
                    ham.5 2019-03-08 15:31:53.388 info cleaned everything up...
                    ham.5 2019-03-08 15:31:53.387 error at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.ham/node_modules/request/request.js:1083:12)
                    ham.5 2019-03-08 15:31:53.387 error at Request.emit (events.js:211:7)
                    ham.5 2019-03-08 15:31:53.387 error at emitOne (events.js:116:13)
                    ham.5 2019-03-08 15:31:53.387 error at Request.<anonymous> (/opt/iobroker/node_modules/iobroker.ham/node_modules/request/request.js:1161:10)
                    ham.5 2019-03-08 15:31:53.387 error at Request.emit (events.js:214:7)
                    ham.5 2019-03-08 15:31:53.387 error at emitTwo (events.js:126:13)
                    ham.5 2019-03-08 15:31:53.387 error at Request.self.callback (/opt/iobroker/node_modules/iobroker.ham/node_modules/request/request.js:185:22)
                    ham.5 2019-03-08 15:31:53.387 error at Request._callback (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-philipstv-x/index.js:166:5)
                    ham.5 2019-03-08 15:31:53.387 error at HttpStatusAccessory.<anonymous> (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-philipstv-x/index.js:317:36)
                    ham.5 2019-03-08 15:31:53.387 error at JSON.parse (<anonymous>)
                    ham.5 2019-03-08 15:31:53.387 error SyntaxError: Unexpected token < in JSON at position 0
                    ham.5 2019-03-08 15:31:53.387 error uncaught exception: Unexpected token < in JSON at position 0

                    Jetzt passt ihm wieder was nicht an der Config oder? Aber was?

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

                      Der Fehler führt hier hin https://github.com/skrollme/homebridge-philipstv-x/blob/master/index.js#L316 ... also scheinbar versucht den Ambilight Status zu lesen und da gibt der fernseher kein JSON zurück ...

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        Stormbringer @apollon77 last edited by Stormbringer

                        @apollon77 said in Installationsfehler HAM Adapter - Philips TV Plug In:

                        https://github.com/skrollme/homebridge-philipstv-x/blob/master/index.js#L316

                        Nach erneutem Pairen gehts jetzt. Auch wenn alles umsonst war, weil man Ambi und Hue wieder nicht steuern kann damit :o(

                        Schade, dass das anscheinend nur Openhab beherrscht. Und Openhab geht gar nicht, wenn man vom Komfort vom ioBorker verwöhnt ist 😜

                        Aber vielen Dank für deine Hilfe und ein schönes Wochenende.y

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        524
                        Online

                        31.9k
                        Users

                        80.1k
                        Topics

                        1.3m
                        Posts

                        error homebridge philips
                        2
                        11
                        811
                        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