Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Entwicklung
    4. lgtv Adapter zur Steuerung von LG WebOS SmartTVs

    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

    lgtv Adapter zur Steuerung von LG WebOS SmartTVs

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

      Die Installation von GitHub bricht mit Fehler ab:
      Fertig mit Fehler: internal/modules/cjs/loader.js:1175 throw err; ^SyntaxError: /opt/iobroker/node_modules/iobroker.lgtv/io-package.json: Unexpected token } in JSON at position 520 at parse () at Object.Module._extensions..json (internal/modules/cjs/loader.js:1172:22) at Module.load (internal/modules/cjs/loader.js:986:32) at Function.Module._load (internal/modules/cjs/loader.js:879:14) at Module.require (internal/modules/cjs/loader.js:1026:19) at require (internal/modules/cjs/helpers.js:72:18) at Upload.uploadAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpload.js:481:19) at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:1781:24 at ChildProcess. (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:478:47) at ChildProcess.emit (events.js:315:20)

      S 1 Reply Last reply Reply Quote 0
      • S
        SchuetzeSchulz @toschi last edited by

        @toschi
        Da hat sich leider noch ein Fehler eingeschlichen gehabt.
        Bitte nochmal probieren.

        sigi234 1 Reply Last reply Reply Quote 0
        • sigi234
          sigi234 Forum Testing Most Active @SchuetzeSchulz last edited by sigi234

          @SchuetzeSchulz sagte in lgtv Adapter zur Steuerung von LG WebOS SmartTVs:

          @toschi
          Da hat sich leider noch ein Fehler eingeschlichen gehabt.
          Bitte nochmal probieren.

          $ ./iobroker upgrade lgtv
          Update lgtv from @1.1.6 to @1.1.7
          NPM version: 6.14.4
          npm install iobroker.lgtv@1.1.7 --loglevel error (System call)
          gyp
           ERR! UNCAUGHT EXCEPTION gyp ERR! stack TypeError: tar.extract is not a functiongyp ERR! stack     at Request.<anonymous> (C:\Program Files\iobroker\Test\nodejs\node_modules\npm\node_modules\node-gyp\lib\install.js:199:22)gyp ERR! stack     at Request.emit (events.js:327:22)gyp ERR! stack     at Request.onRequestResponse (C:\Program Files\iobroker\Test\nodejs\node_modules\npm\node_modules\request\request.js:1066:10)gyp ERR! stack     at ClientRequest.emit (events.js:315:20)gyp ERR! stack     at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:596:27)gyp ERR! stack     at HTTPParser.parserOnHeadersComplete (_http_common.js:119:17)gyp ERR! stack     at TLSSocket.socketOnData (_http_client.js:469:22)gyp ERR! stack     at TLSSocket.emit (events.js:315:20)gyp ERR! stack     at addChunk (_stream_readable.js:295:12)gyp ERR! stack     at readableAddChunk (_stream_readable.js:271:9)gyp ERR! System Windows_NT 10.0.19041gyp ERR! command "C:\\Program Files\\iobroker\\Test\\nodejs\\node.exe" "C:\\Program Files\\iobroker\\Test\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"gyp ERR! cwd C:\Program Files\iobroker\Test\node_modules\unix-dgramgyp ERR! node -v v12.18.0gyp ERR! node-gyp -v v5.1.0gyp ERR! This is a bug in `node-gyp`.gyp ERR! Try to update node-gyp and file an Issue if it does not help:gyp ERR!     <https://github.com/nodejs/node-gyp/issues>
          ERROR: Cannot find io-package.json in C:/Program Files/iobroker/Test/node_modules/iobroker.lgtv
          ERROR: Cannot parse C:/Program Files/iobroker/Test/node_modules/iobroker.lgtv/io-package.json:SyntaxError: Unexpected token } in JSON at position 520Cannot find io-package.json in C:/Program Files/iobroker/Test/node_modules/iobroker.lgtv
          Adapter "lgtv" updated
          upload [3] lgtv.admin C:/Program Files/iobroker/Test/node_modules/iobroker.lgtv/admin/words.js words.js application/javascript
           writeFile will not write this file (words.js) in future versions: undefined
           DB closed
          upload [2] lgtv.admin C:/Program Files/iobroker/Test/node_modules/iobroker.lgtv/admin/lgtv.png lgtv.png image/png
           writeFile will not write this file (lgtv.png) in future versions: undefined
          upload [1] lgtv.admin C:/Program Files/iobroker/Test/node_modules/iobroker.lgtv/admin/index_m.html index_m.html text/html
           writeFile will not write this file (index_m.html) in future versions: undefined
          upload [0] lgtv.admin C:/Program Files/iobroker/Test/node_modules/iobroker.lgtv/admin/index.html index.html text/html
           writeFile will not write this file (index.html) in future versions: undefined
          Adapter "lgtv" updated
          ERROR: process exited with code 29
          
          os: win32
          RAM: 7.9 GB 
          Node.js: v12.18.0
          NPM: 6.14.4
          JS-Controller: 3.1.6
          Admin: 4.1.1
          Active instances: 46
          
          1 Reply Last reply Reply Quote 0
          • kmxak
            kmxak Most Active last edited by

            Von Github direkt installieren funktioniert. Über Update Button geht es nicht.

            sigi234 1 Reply Last reply Reply Quote 0
            • sigi234
              sigi234 Forum Testing Most Active @kmxak last edited by

              @kmxak sagte in lgtv Adapter zur Steuerung von LG WebOS SmartTVs:

              Von Github direkt installieren funktioniert. Über Update Button geht es nicht.

              Kann ich bestätigen.

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

                ich habe den adapter Version 1.1.7 gerade neu in iobroker normal installiert. Hat funktioniert kann aber erst nachmittags testen da TV aus ist.

                S 1 Reply Last reply Reply Quote 0
                • S
                  SchuetzeSchulz @toschi last edited by

                  Hab jetzt mal auf Hithub und NPM die Version 1.1.8 veröffentlicht.
                  Kann allerdings dauern, bis sie im Stable repository ist.

                  1 Reply Last reply Reply Quote 2
                  • T
                    toschi last edited by

                    Die Version 1.1.7 hat sich verbunden. Laut,leise,Kanal+ und - funktioniert. Den Rest kann ich erst später probieren. Die 1.1.8 kann ich abends testen.

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

                      Die 1.1.8 läuft bei mir auch. Keine Probleme gefunden. Vielen Dank für die schnelle Hilfe.

                      1 Reply Last reply Reply Quote -1
                      • sigi234
                        sigi234 Forum Testing Most Active @SchuetzeSchulz last edited by

                        @SchuetzeSchulz

                        Die 1.1.8 läuft bei mir auch. Keine Probleme gefunden. 👍

                        Screenshot (216)_LI.jpg

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          SchuetzeSchulz @sigi234 last edited by

                          Der Dank gilt @dirkhe . Er hat den "Fehler" ja gefunden 🙂

                          sigi234 1 Reply Last reply Reply Quote 0
                          • sigi234
                            sigi234 Forum Testing Most Active @SchuetzeSchulz last edited by

                            @SchuetzeSchulz sagte in lgtv Adapter zur Steuerung von LG WebOS SmartTVs:

                            Der Dank gilt @dirkhe

                            Dank an @dirkhe 😀

                            1 Reply Last reply Reply Quote 0
                            • liv-in-sky
                              liv-in-sky @SchuetzeSchulz last edited by liv-in-sky

                              @SchuetzeSchulz
                              hi
                              bei der installation probleme - im info wird update auf 1.1.8 angezeigt - wenn fertig ist es aber immer noch 1.1.7

                              wenn ich über "katze" installiere kommt code 25

                              E 1 Reply Last reply Reply Quote 0
                              • E
                                erde-online @liv-in-sky last edited by

                                Hi,

                                ich habe das gleiche Problem.Nach Installation von 1.1.8 habe ich immer noch 1.1.7 und mir wird die Installation auf 1.1.8 vorgeschlagen.

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  SchuetzeSchulz @erde-online last edited by

                                  Bitte bei Problemen den Adapter mal komplett deinstallieren und dann neu installieren.

                                  liv-in-sky 2 Replies Last reply Reply Quote 0
                                  • liv-in-sky
                                    liv-in-sky @SchuetzeSchulz last edited by

                                    @SchuetzeSchulz adapter gelöscht - neu installiert - selbes problem

                                    Image 15.png

                                    1 Reply Last reply Reply Quote 0
                                    • liv-in-sky
                                      liv-in-sky @SchuetzeSchulz last edited by liv-in-sky

                                      @SchuetzeSchulz

                                      noch eine weitere frage:
                                      der datenpunkt channel wird nicht upgedated - woran könnte das liegen

                                      D 1 Reply Last reply Reply Quote 0
                                      • D
                                        dirkhe Developer @liv-in-sky last edited by

                                        @liv-in-sky nur Channel nicht oder channelid auch nicht? Kannst du bitte ein debug Log hochladen?

                                        liv-in-sky 1 Reply Last reply Reply Quote 0
                                        • XxJooO
                                          XxJooO last edited by

                                          Bei mir das Gleiche, kann von 1.1.7 nicht auf 1.1.8 updaten. Nach Deinstallation von 1.1.7 wird 1.1.8 angeboten. Installation endet mit Exit code 0, aber er hat 1.1.7 installiert. Beim Versuch 1.1.7 zu installieren kommt Exit code 29.
                                          Beim Versuch zu starten steht im Log

                                          host.ioBrokerDebian10VM	2020-07-11 08:06:07.188	info	Restart adapter system.adapter.lgtv.0 because enabled
                                          host.ioBrokerDebian10VM	2020-07-11 08:06:07.188	error	instance system.adapter.lgtv.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                          host.ioBrokerDebian10VM	2020-07-11 08:06:07.188	error	Caught by controller[0]: at internal/main/run_main_module.js:17:47
                                          host.ioBrokerDebian10VM	2020-07-11 08:06:07.188	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
                                          host.ioBrokerDebian10VM	2020-07-11 08:06:07.188	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:879:14)
                                          host.ioBrokerDebian10VM	2020-07-11 08:06:07.187	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:986:32)
                                          host.ioBrokerDebian10VM	2020-07-11 08:06:07.187	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
                                          host.ioBrokerDebian10VM	2020-07-11 08:06:07.187	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1138:30)
                                          host.ioBrokerDebian10VM	2020-07-11 08:06:07.187	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.lgtv/lgtv.js:622:5)
                                          host.ioBrokerDebian10VM	2020-07-11 08:06:07.187	error	Caught by controller[0]: at startAdapter (/opt/iobroker/node_modules/iobroker.lgtv/lgtv.js:344:15)
                                          host.ioBrokerDebian10VM	2020-07-11 08:06:07.187	error	Caught by controller[0]: at new Adapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:393:32)
                                          host.ioBrokerDebian10VM	2020-07-11 08:06:07.186	error	Caught by controller[0]: at JSON.parse (<anonymous>)
                                          host.ioBrokerDebian10VM	2020-07-11 08:06:07.186	error	Caught by controller[0]: SyntaxError: Unexpected token } in JSON at position 520
                                          host.ioBrokerDebian10VM	2020-07-11 08:06:07.186	error	Caught by controller[0]: ^
                                          host.ioBrokerDebian10VM	2020-07-11 08:06:07.186	error	Caught by controller[0]: },
                                          host.ioBrokerDebian10VM	2020-07-11 08:06:07.185	error	Caught by controller[0]: undefined:17
                                          host.ioBrokerDebian10VM	2020-07-11 08:06:06.741	info	instance system.adapter.lgtv.0 started with pid 21423
                                          
                                          marcuskl 1 Reply Last reply Reply Quote 0
                                          • marcuskl
                                            marcuskl @XxJooO last edited by

                                            @XxJooO habe selbes Problem

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            449
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            lgtv
                                            113
                                            861
                                            274333
                                            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