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

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    lgtv Adapter zur Steuerung von LG WebOS SmartTVs

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

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • E
        Eugene last edited by

        Hallo Leute,

        ich habe einen tolles neues TV, aber leider kann ich den LG WebOS Adapter nicht installieren. Da ich sonst keine Probleme mit dem IOBroker habe, liegt es wohl am Adapter. Mit Admin v6.3.5 und Node.js v16.15.0 und dazu passendem npm 8.5.5 lässt sich der Adapter nicht installieren. Folgende Fehlermeldung erscheint:

        Installing SebastianSchultz/ioBroker.lgtv... (System call)
        npm ERR! code 1
        npm ERR! gyp info it worked if it ends with oknpm ERR! gyp info using node-gyp@8.4.1
        npm ERR! gyp info using node@16.15.0 | linux | armnpm ERR! gyp ERR! find Python npm ERR! gyp ERR! find Python Python is not set from command line or npm configurationnpm ERR! gyp ERR! find Python Python is not set from environment variable PYTHONnpm ERR! gyp ERR! find Python checking if "python3" can be usednpm ERR! gyp ERR! find Python - executable path is "/usr/bin/python3"npm ERR! gyp ERR! find Python - version is "3.5.3"npm ERR! gyp ERR! find Python - version is 3.5.3 - should be >=3.6.0npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTEDnpm ERR! gyp ERR! find Python checking if "python" can be usednpm ERR! gyp ERR! find Python - executable path is "/usr/bin/python"npm ERR! gyp ERR! find Python - version is "2.7.13"npm ERR! gyp ERR! find Python - version is 2.7.13 - should be >=3.6.0npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTEDnpm ERR! gyp ERR! find Python npm ERR! gyp ERR! find Python **********************************************************npm ERR! gyp ERR! find Python You need to install the latest version of Python.npm ERR! gyp ERR! find Python Node-gyp should be able to find and use Python. If not,npm ERR! gyp ERR! find Python you can try one of the following options:npm ERR! gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"npm ERR! gyp ERR! find Python (accepted by both node-gyp and npm)npm ERR! gyp ERR! find Python - Set the environment variable PYTHONnpm ERR! gyp ERR! find Python - Set the npm configuration variable python:npm ERR! gyp ERR! find Python npm config set python "/path/to/pythonexecutable"
        npm ERR! A complete log of this run can be found in:
        npm ERR! /home/iobroker/.npm/_logs/2022-12-15T14_38_49_292Z-debug-0.log
        host.ioBroker-Tinker Cannot install SebastianSchultz/ioBroker.lgtv: 1
        ERROR: Process exited with code 25
        

        Sollte jemand eine Idee haben, bin ich für einen Hinweis dankbar!

        Euch allen schöne Feiertage und Gruß aus der Eifel

        Eugen

        liv-in-sky D Thomas Braun 3 Replies Last reply Reply Quote 0
        • liv-in-sky
          liv-in-sky @Eugene last edited by liv-in-sky

          @Eugene
          sorry - hier stand dummes 😞

          1 Reply Last reply Reply Quote 0
          • D
            dirkhe Developer @Eugene last edited by

            @eugene also irgendwas ist mit deiner python version schief, hast du vlt. 2 und 3 gleichzeitig installiert? In dem bereicn solltest du mal suchen

            E 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Eugene last edited by Thomas Braun

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

              version is 2.7.13 - should be >=3.6.0

              Vermutlich ein veraltetes Betriebssystem. Aktuelles Zeuch kommt mit passenden Versionen daher.

              1 Reply Last reply Reply Quote 0
              • E
                Eugene @dirkhe last edited by

                @dirkhe
                Alte Duster Version auf dem Tinker Board. Hab's platt gemacht und ein sauberes neues Armbian installiert.

                Natürlich geht jetzt alles.....

                Danke für Euren Tipp und frohe Weihnachten

                Eugen

                1 Reply Last reply Reply Quote 0
                • D
                  Dado @Maschine20 last edited by

                  @maschine20 Moin, sory für die Noob-Frage, aber wie genau hast Du das installiert? Ich kenne nur die Möglichkeit, aus dem Repo zu installieren. Danke

                  Maschine20 1 Reply Last reply Reply Quote 0
                  • Maschine20
                    Maschine20 @Dado last edited by Maschine20

                    @dado Hi, ich habe aus dem git https://github.com/SebastianSchultz/ioBroker.lgtv/tree/lgtv_test den link kopiert und dann im Expertenmodus den Adapter aus der github Quelle installiert.

                    Unter dem Button Code kann man den link kopieren für den Adapter.

                    V 1 Reply Last reply Reply Quote 0
                    • V
                      Vopi69 @Maschine20 last edited by Vopi69

                      Seit heute habe ich ein Update für meinen LG OLED55G29LA bekommen. Seitdem verbindet sich der Adapter nicht mehr mit dem Fernseher und ich habe beim Neustarten des Adapters:

                      2023-01-25 13:10:38.212 - info: host.iobroker stopInstance system.adapter.lgtv.0 (force=false, process=true)
                      2023-01-25 13:10:38.215 - info: lgtv.0 (14518) Got terminate signal TERMINATE_YOURSELF
                      2023-01-25 13:10:38.217 - info: lgtv.0 (14518) terminating
                      2023-01-25 13:10:38.218 - info: lgtv.0 (14518) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                      2023-01-25 13:10:38.257 - info: host.iobroker stopInstance system.adapter.lgtv.0 send kill signal
                      2023-01-25 13:10:38.772 - info: host.iobroker instance system.adapter.lgtv.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                      2023-01-25 13:10:41.269 - info: host.iobroker instance system.adapter.lgtv.0 started with pid 15224
                      2023-01-25 13:10:41.815 - info: lgtv.0 (15224) starting. Version 1.1.10 in /opt/iobroker/node_modules/iobroker.lgtv, node: v16.19.0, js-controller: 4.0.24
                      2023-01-25 13:10:41.825 - info: lgtv.0 (15224) Ready. Configured WebOS TV IP: 192.168.0.80

                      Weiß jemand woran das liegt?

                      Gruß Stefan

                      1 Reply Last reply Reply Quote 0
                      • D
                        dirkhe Developer last edited by

                        @vopi69 ohne debug log sieht man gar nichts

                        1 Reply Last reply Reply Quote 0
                        • D
                          Denzel1994 last edited by Denzel1994

                          Adapter verbindet sich mit meinem CS9 seit Firmware 03.30.16 nicht mehr:

                          
                          lgtv.0 2023-01-27 22:37:11.349	debug	Error on connecting or sending command to WebOS TV: Error: socket hang up
                          
                          lgtv.0 2023-01-27 22:37:11.340	debug	Connecting to WebOS TV: ws://192.168.XX.XX:3000
                          
                          lgtv.0 2023-01-27 22:37:11.298	debug	TV is off
                          
                          lgtv.0 2023-01-27 22:37:06.338	debug	Error on connecting or sending command to WebOS TV: Error: read ECONNRESET
                          
                          lgtv.0 2023-01-27 22:37:06.325	debug	Connecting to WebOS TV: ws://192.168.XX.XX:3000
                          
                          lgtv.0 2023-01-27 22:37:01.323	debug	Error on connecting or sending command to WebOS TV: Error: socket hang up
                          
                          lgtv.0 2023-01-27 22:37:01.293	debug	Connecting to WebOS TV: ws://192.168.XX.XX:3000
                          
                          sigi234 1 Reply Last reply Reply Quote 0
                          • sigi234
                            sigi234 Forum Testing Most Active @Denzel1994 last edited by

                            @denzel1994

                            Ist eine Verbindungsanfrage am TV gekommen?

                            R 1 Reply Last reply Reply Quote 0
                            • R
                              roesthod @sigi234 last edited by

                              @sigi234 Hallo, Ich habe genau das gleich Problem. Das Errorlog sieht wie folgt aus:
                              2023-01-28 13:56:39.791 - debug: lgtv.0 (1414) Redis Objects: Use Redis connection: 127.0.0.1:9001
                              2023-01-28 13:56:39.841 - debug: lgtv.0 (1414) Objects client ready ... initialize now
                              2023-01-28 13:56:39.842 - debug: lgtv.0 (1414) Objects create System PubSub Client
                              2023-01-28 13:56:39.842 - debug: lgtv.0 (1414) Objects create User PubSub Client
                              2023-01-28 13:56:39.958 - debug: lgtv.0 (1414) Objects client initialize lua scripts
                              2023-01-28 13:56:39.963 - debug: lgtv.0 (1414) Objects connected to redis: 127.0.0.1:9001
                              2023-01-28 13:56:39.964 - silly: lgtv.0 (1414) redis psubscribe cfg.o.system.user.*
                              2023-01-28 13:56:40.001 - silly: lgtv.0 (1414) redis psubscribe cfg.o.enum.*
                              2023-01-28 13:56:40.004 - silly: lgtv.0 (1414) objectDB connected
                              2023-01-28 13:56:40.005 - debug: lgtv.0 (1414) Redis States: Use Redis connection: 127.0.0.1:9000
                              2023-01-28 13:56:40.033 - debug: lgtv.0 (1414) States create System PubSub Client
                              2023-01-28 13:56:40.034 - debug: lgtv.0 (1414) States create User PubSub Client
                              2023-01-28 13:56:40.090 - debug: lgtv.0 (1414) States connected to redis: 127.0.0.1:9000
                              2023-01-28 13:56:40.090 - silly: lgtv.0 (1414) statesDB connected
                              2023-01-28 13:56:40.474 - info: lgtv.0 (1414) starting. Version 1.1.10 in /opt/iobroker/node_modules/iobroker.lgtv, node: v16.14.0, js-controller: 4.0.23
                              2023-01-28 13:56:40.496 - info: lgtv.0 (1414) Ready. Configured WebOS TV IP: 192.168.1.236
                              2023-01-28 13:56:40.497 - debug: lgtv.0 (1414) adapter.config = {"ip":"192.168.1.236","mac":"XX:XX:XX:XX:37:6B","timeout":"5000","reconnect":"5000","power":true,"healthIntervall":""}
                              2023-01-28 13:56:40.508 - silly: lgtv.0 (1414) States system redis pmessage system.adapter.lgtv.0.logLevel/system.adapter.lgtv.0.logLevel:{"val":"silly","ack":true,"ts":1674910600499,"q":0,"from":"system.adapter.lgtv.0","lc":1674910600499}
                              2023-01-28 13:56:40.516 - debug: lgtv.0 (1414) Connecting to WebOS TV: ws://192.168.1.236:3000
                              2023-01-28 13:56:40.523 - debug: lgtv.0 (1414) Error on connecting or sending command to WebOS TV: Error: socket hang up
                              2023-01-28 13:56:45.523 - debug: lgtv.0 (1414) Connecting to WebOS TV: ws://192.168.1.236:3000
                              2023-01-28 13:56:45.526 - debug: lgtv.0 (1414) Error on connecting or sending command to WebOS TV: Error: read ECONNRESET

                              Thomas Braun sigi234 2 Replies Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @roesthod last edited by

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

                                node: v16.14.0, js-controller: 4.0.23

                                Vom konkreten Problem abgesehen:
                                Halt die Kiste auf Stand.

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

                                  @roesthod

                                  IP Richtig? Kannst du den TV via Ping erreichen?

                                  R 1 Reply Last reply Reply Quote 1
                                  • R
                                    roesthod @sigi234 last edited by

                                    @sigi234 IP ist richtig und ich habe das System jetzt auf den aktuellen Stand gebracht.

                                    R 1 Reply Last reply Reply Quote 0
                                    • R
                                      roesthod @roesthod last edited by

                                      @roesthod Ich habe übrigends zwei von den LG's und beide mit dem identischen Fehlerbild...

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

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

                                        @roesthod Ich habe übrigends zwei von den LG's und beide mit dem identischen Fehlerbild...

                                        Alle mit WLAN verbunden?
                                        Hatte auch Probleme, mit LAN hat es dann mal nach 20 versuchen funktioniert.

                                        https://github.com/SebastianSchultz/ioBroker.lgtv/issues/123

                                        Dany53 created this issue in SebastianSchultz/ioBroker.lgtv

                                        closed Nach TV update keine Verbindung mehr #123

                                        D 1 Reply Last reply Reply Quote 0
                                        • D
                                          dirkhe Developer @sigi234 last edited by

                                          @sigi234 Da s sieht wirklich so aus, als wenn der Adapter angepasst werden muss. Ist halt auch schwierig rauszubekommen, welcher TV dann ws und welcher wss braucht. Zur Not müsste man es einstellbar machen..

                                          R 1 Reply Last reply Reply Quote 1
                                          • R
                                            roesthod @dirkhe last edited by

                                            @dirkhe TV's sind über LAN eingebunden...

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            675
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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