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

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    lgtv Adapter zur Steuerung von LG WebOS SmartTVs

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

      ich habe seit einem Sytsemupdate auch massive Probleme das der State "is on" aktualisiert wird.
      webOS: 3.8.0-61312
      Softwareversion: 05.80.50
      Hier mal der Debug Log:

      2020-02-22 10:22:05.681 - debug: lgtv.0 (2822) Connecting to WebOS TV: ws://192.168.2.15:3000
      2020-02-22 10:22:13.744 - debug: lgtv.0 (2822) Connecting to WebOS TV: ws://192.168.2.15:3000
      2020-02-22 10:22:15.540 - debug: lgtv.0 (2822) WebOS TV Connected
      2020-02-22 10:22:15.698 - debug: lgtv.0 (2822) DEBUGGING getForegroundAppInfo: {"appId":"com.webos.app.hdmi1","subscribed":true,"returnValue":true,"windowId":"","processId":""}
      2020-02-22 10:22:15.705 - debug: lgtv.0 (2822) audio/getVolume: {"returnValue":true,"volumeMax":100,"muted":false,"scenario":"mastervolume_tv_speaker","subscribed":true,"volume":5,"action":"requested","active":false,"changed":["muted","volume"]}
      2020-02-22 10:22:15.720 - debug: lgtv.0 (2822) Service list: {"returnValue":true,"services":[{"name":"api","version":1},{"name":"audio","version":1},{"name":"config","version":1},{"name":"media.controls","version":1},{"name":"media.viewer","version":1},{"name":"pairing","version":1},{"name":"settings","version":1},{"name":"system","version":1},{"name":"system.launcher","version":1},{"name":"system.notifications","version":1},{"name":"timer","version":1},{"name":"tv","version":1},{"name":"user","version":1},{"name":"webapp","version":2}]}
      2020-02-22 10:22:15.722 - debug: lgtv.0 (2822) getCurrentSWInformation: {"returnValue":true,"product_name":"webOSTV 3.5","model_name":"HE_DTV_W17P_AFADABAA","sw_type":"FIRMWARE","major_ver":"05","minor_ver":"80.50","country":"AT","country_group":"EU","device_id":"78:5d:c8:98:3b:80","auth_flag":"N","ignore_disable":"N","eco_info":"01","config_key":"00","language_code":"de-AT"}
      2020-02-22 10:22:15.746 - debug: lgtv.0 (2822) getSystemInfo: {"returnValue":true,"features":{"3d":false,"dvr":true},"receiverType":"dvb","modelName":"49UJ635V-ZF"}
      2020-02-22 10:22:15.750 - debug: lgtv.0 (2822) audio/getSoundOutput: {"soundOutput":"tv_external_speaker","subscribed":true}
      2020-02-22 10:22:15.757 - debug: lgtv.0 (2822) tv/getCurrentChannel: {"returnValue":false,"errorCode":-1000,"errorText":"internal error"}
      2020-02-22 10:22:16.480 - debug: lgtv.0 (2822) audio/getVolume: {"changed":["volume"],"returnValue":true,"cause":"volumeUp","volumeMax":100,"scenario":"mastervolume_tv_speaker","muted":false,"volume":6,"action":"changed","active":false}
      2020-02-22 10:22:16.774 - debug: lgtv.0 (2822) audio/getVolume: {"changed":["volume"],"returnValue":true,"cause":"volumeUp","volumeMax":100,"scenario":"mastervolume_tv_speaker","muted":false,"volume":7,"action":"changed","active":false}
      2020-02-22 10:25:29.639 - debug: lgtv.0 (2822) system.adapter.admin.0: logging false
      2020-02-22 10:26:30.497 - debug: lgtv.0 (2822) audio/getVolume: {"changed":["volume"],"returnValue":true,"cause":"volumeUp","volumeMax":100,"scenario":"mastervolume_tv_speaker","muted":false,"volume":8,"action":"changed","active":false}
      2020-02-22 10:26:31.307 - debug: lgtv.0 (2822) audio/getVolume: {"changed":["volume"],"returnValue":true,"cause":"volumeUp","volumeMax":100,"scenario":"mastervolume_tv_speaker","muted":false,"volume":9,"action":"changed","active":false}
      2020-02-22 10:26:31.778 - debug: lgtv.0 (2822) audio/getVolume: {"changed":["volume"],"returnValue":true,"cause":"volumeUp","volumeMax":100,"scenario":"mastervolume_tv_speaker","muted":false,"volume":10,"action":"changed","active":false}
      2020-02-22 10:26:38.005 - debug: lgtv.0 (2822) audio/getVolume: {"changed":["muted"],"returnValue":true,"volumeMax":100,"scenario":"mastervolume_tv_speaker","muted":true,"volume":10,"action":"changed","active":false}
      2020-02-22 10:26:41.014 - debug: lgtv.0 (2822) audio/getVolume: {"changed":["muted"],"returnValue":true,"volumeMax":100,"scenario":"mastervolume_tv_speaker","muted":false,"volume":10,"action":"changed","active":false}
      2020-02-22 10:27:16.140 - debug: lgtv.0 (2822) system.adapter.admin.0: logging true
      2020-02-22 10:27:50.796 - debug: lgtv.0 (2822) system.adapter.admin.0: logging false
      2020-02-22 10:27:56.968 - debug: lgtv.0 (2822) system.adapter.admin.0: logging true
      2020-02-22 10:29:15.326 - debug: lgtv.0 (2822) DEBUGGING getForegroundAppInfo: {"subscribed":true,"appId":"","returnValue":true,"windowId":"","processId":""}
      2020-02-22 10:29:15.333 - debug: lgtv.0 (2822) DEBUGGING getForegroundAppInfo: {"subscribed":true,"appId":"com.webos.app.hdmi1","returnValue":true,"windowId":"","processId":""}
      2020-02-22 10:29:15.340 - debug: lgtv.0 (2822) audio/getSoundOutput: {"soundOutput":"tv_external_speaker","subscribed":true}
      

      Kann mir da wer weiterhelfen?

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

        jedesmal, wenn diese Zeile im Log auftritt

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

        DEBUGGING getForegroundAppInfo

        werden folgende 3 states gesetzt:
        adapter.setStateChanged('states.on', appId, true);
        adapter.setStateChanged('states.power', appId, true);
        adapter.setStateChanged('info.connection', appId, true);
        wobei appId true ist, wenn vom tv eine übergeben wurde, sonst false.
        Allerdings schreibt ioBroker den state nur neu, wenn er sich ändert.
        Du kannst ja mal an einem der 3 Stati die history einschalten, dann solltest du das nachvollziehen können.

        Hast du den TV um 10:29:15 kurz ausgemacht und sofort wieder angemacht?
        Hast du öfter 2mal so kurz hintereinander
        DEBUGGING getForegroundAppInfo?
        Wenn das nämlich so wäre, könnte es Probleme geben, dass sich das Setzten der beiden überholt. Dann müsste man eine Verzögeung reinbauen.

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

          @dirkhe Danke für deine Antwort,
          ich habe jetzt mal nachgesehen, getForegroundAppInfo wird beim Einschalten des Fernsehrs geschrieben binnen 50ms zwei mal

          lgtv.0	2020-02-22 17:34:51.268	debug	(2822) DEBUGGING getForegroundAppInfo: {"subscribed":true,"appId":"com.webos.app.hdmi1","returnValue":true,"windowId":"","processId":""}
          lgtv.0	2020-02-22 17:34:51.219	debug	(2822) DEBUGGING getForegroundAppInfo: {"subscribed":true,"appId":"","returnValue":true,"windowId":"","processId":""}
          lgtv.0	2020-02-22 17:13:05.838	debug	(2822) DEBUGGING getForegroundAppInfo: {"subscribed":true,"appId":"com.webos.app.hdmi1","returnValue":true,"windowId":"","processId":""}
          lgtv.0	2020-02-22 17:13:05.790	debug	(2822) DEBUGGING getForegroundAppInfo: {"subscribed":true,"appId":"","returnValue":true,"windowId":"","processId":""}
          lgtv.0	2020-02-22 10:29:15.333	debug	(2822) DEBUGGING getForegroundAppInfo: {"subscribed":true,"appId":"com.webos.app.hdmi1","returnValue":true,"windowId":"","processId":""}
          lgtv.0	2020-02-22 10:29:15.326	debug	(2822) DEBUGGING getForegroundAppInfo: {"subscribed":true,"appId":"","returnValue":true,"windowId":"","processId":""}
          
          1 Reply Last reply Reply Quote 0
          • D
            dirkhe Developer last edited by

            Ok, es sieht so aus, als wenn deine firmware das immer erst leer setzt und dann den neuen Wert sendet. Ich versuche das mal rauszufiltern

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

              Ok,

              ich habe hier mal eine neue Version hochgeladen, teste die mal bitte:
              https://github.com/dirkhe/ioBroker.lgtv

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

                so, nachdem meine Frau nun endlich mit Ihrem Film fertig ist, hab ich testen können:

                lgtv.0	2020-02-22 19:54:55.911	debug	(1056) DEBUGGING getForegroundAppInfo: {"subscribed":true,"appId":"com.webos.app.hdmi1","returnValue":true,"windowId":"","processId":""}
                lgtv.0	2020-02-22 19:54:55.864	debug	(1056) DEBUGGING getForegroundAppInfo: {"subscribed":true,"appId":"","returnValue":true,"windowId":"","processId":""}
                lgtv.0	2020-02-22 19:51:57.717	debug	(1056) DEBUGGING getForegroundAppInfo: {"subscribed":true,"appId":"com.webos.app.hdmi1","returnValue":true,"windowId":"","processId":""}
                lgtv.0	2020-02-22 19:51:57.675	debug	(1056) DEBUGGING getForegroundAppInfo: {"subscribed":true,"appId":"","returnValue":true,"windowId":"","processId":""}
                

                hat sich nichts verändert.
                Jedoch muss ich sagen das ich mehr das Problem habe das der ON State nicht auf false gesetzt wird, wenn der FS aus ist. Hängt das jetzt auch da mit dran?

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

                  Hast du das Log jetzt gekürzt?
                  Diese logeinträge werden ja jedes mal geschrieben, wenn der tv die Applikationen wechselt. Was ist denn der letzte Eintrag, wenn du den tv aus machst?

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

                    lgtv.0	2020-02-22 20:00:37.742	debug	(1056) audio/getVolume: {"changed":["volume"],"returnValue":true,"cause":"volumeUp","volumeMax":100,"scenario":"mastervolume_tv_speaker","muted":false,"volume":8,"action":"changed","active":false}
                    lgtv.0	2020-02-22 19:54:55.912	debug	(1056) audio/getSoundOutput: {"soundOutput":"tv_external_speaker","subscribed":true}
                    lgtv.0	2020-02-22 19:54:55.911	debug	(1056) DEBUGGING getForegroundAppInfo: {"subscribed":true,"appId":"com.webos.app.hdmi1","returnValue":true,"windowId":"","processId":""}
                    lgtv.0	2020-02-22 19:54:55.864	debug	(1056) DEBUGGING getForegroundAppInfo: {"subscribed":true,"appId":"","returnValue":true,"windowId":"","processId":""}
                    lgtv.0	2020-02-22 19:53:39.249	debug	(1056) system.adapter.admin.0: logging true
                    lgtv.0	2020-02-22 19:51:57.719	debug	(1056) audio/getSoundOutput: {"soundOutput":"tv_external_speaker","subscribed":true}
                    lgtv.0	2020-02-22 19:51:57.717	debug	(1056) DEBUGGING getForegroundAppInfo: {"subscribed":true,"appId":"com.webos.app.hdmi1","returnValue":true,"windowId":"","processId":""}
                    lgtv.0	2020-02-22 19:51:57.675	debug	(1056) DEBUGGING getForegroundAppInfo: {"subscribed":true,"appId":"","returnValue":true,"windowId":"","processId":""}
                    lgtv.0	2020-02-22 19:12:02.289	debug	(1056) system.adapter.admin.0: logging false
                    lgtv.0	2020-02-22 18:53:10.311	debug	(1056) system.adapter.admin.0: logging true
                    lgtv.0	2020-02-22 18:42:27.559	debug	(1056) system.adapter.admin.0: logging false
                    lgtv.0	2020-02-22 18:41:54.164	debug	(1056) tv/getCurrentChannel: {"returnValue":false,"errorCode":-1000,"errorText":"internal error"}
                    lgtv.0	2020-02-22 18:41:54.161	debug	(1056) audio/getSoundOutput: {"soundOutput":"tv_external_speaker","subscribed":true}
                    lgtv.0	2020-02-22 18:41:54.158	debug	(1056) getSystemInfo: {"returnValue":true,"features":{"3d":false,"dvr":true},"receiverType":"dvb","modelName":"49UJ635V-ZF"}
                    lgtv.0	2020-02-22 18:41:54.128	debug	(1056) getCurrentSWInformation: {"returnValue":true,"product_name":"webOSTV 3.5","model_name":"HE_DTV_W17P_AFADABAA","sw_type":"FIRMWARE","major_ver":"05","minor_ver":"80.50","country":"AT","country_
                    lgtv.0	2020-02-22 18:41:54.126	debug	(1056) Service list: {"returnValue":true,"services":[{"name":"api","version":1},{"name":"audio","version":1},{"name":"config","version":1},{"name":"media.controls","version":1},{"name":"media.viewer"
                    lgtv.0	2020-02-22 18:41:54.084	debug	(1056) DEBUGGING getForegroundAppInfo: {"appId":"amazon","subscribed":true,"returnValue":true,"windowId":"","processId":""}
                    lgtv.0	2020-02-22 18:41:53.976	debug	(1056) audio/getVolume: {"returnValue":true,"volumeMax":100,"muted":false,"scenario":"mastervolume_tv_speaker","subscribed":true,"volume":7,"action":"requested","active":false,"changed":["muted","vol
                    lgtv.0	2020-02-22 18:41:53.920	debug	(1056) WebOS TV Connected
                    lgtv.0	2020-02-22 18:41:53.715	debug	(1056) Connecting to WebOS TV: ws://192.168.2.15:3000
                    lgtv.0	2020-02-22 18:41:53.679	debug	(1056) adapter.config = {"ip":"192.168.2.15","mac":"","timeout":"5000","power":true}
                    lgtv.0	2020-02-22 18:41:53.677	info	(1056) Ready. Configured WebOS TV IP: 192.168.2.15
                    lgtv.0	2020-02-22 18:41:53.632	info	(1056) starting. Version 1.1.5 in /opt/iobroker/node_modules/iobroker.lgtv, node: v10.19.0
                    lgtv.0	2020-02-22 18:41:49.072	debug	(1056) statesDB connected
                    lgtv.0	2020-02-22 18:41:49.071	debug	(1056) States connected to redis: 127.0.0.1:9000
                    lgtv.0	2020-02-22 18:41:49.014	debug	(1056) States create System PubSub Client
                    lgtv.0	2020-02-22 18:41:49.009	debug	(1056) States create User PubSub Client
                    lgtv.0	2020-02-22 18:41:48.978	debug	(1056) Redis States: Use Redis connection: 127.0.0.1:9000
                    lgtv.0	2020-02-22 18:41:48.975	debug	(1056) objectDB connected
                    lgtv.0	2020-02-22 18:41:48.959	debug	(1056) Objects connected to redis: 127.0.0.1:9001
                    lgtv.0	2020-02-22 18:41:48.901	debug	(1056) Objects client initialize lua scripts
                    lgtv.0	2020-02-22 18:41:48.900	debug	(1056) Objects create User PubSub Client
                    lgtv.0	2020-02-22 18:41:48.899	debug	(1056) Objects create System PubSub Client
                    lgtv.0	2020-02-22 18:41:48.892	debug	(1056) Objects client ready ... initialize now
                    lgtv.0	2020-02-22 18:41:48.805	debug	(1056) Redis Objects: Use Redis connection: 127.0.0.1:9001
                    lgtv.0	2020-02-22 18:40:14.138	info	(2822) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
                    lgtv.0	2020-02-22 18:40:14.136	info	(2822) terminating
                    lgtv.0	2020-02-22 18:40:14.134	info	(2822) Got terminate signal TERMINATE_YOURSELF
                    

                    das sind die letzten Einträge seit der neuen Version, um 19:51und um 19:54 hab ich kurz aus und wieder ein geschalten.
                    ich sehe da aber keine Meldung wenn ich aus schalte

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

                      Irgendwie kann ich das Schalten nicht nachvollziehen. Da heisst, wenn du ausschaltest, wird nichts ins log geschrieben?
                      Schaltest du den tv über die Fernbedienung aus oder machst du den direkt stromlos?

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

                        Genau das mein ich ja.
                        Ich schalte ihn ganz normal über die Fernbedienung.
                        Das einzige das ich in den Einstellungen aktiviert habe ist das QuickStart+, das aber auch erst seit heute.

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

                          @StefanMc ok, ich mache mir mal Gedanken, ob wir optional doch noch Polling einbauen, so lange der tv läuft.
                          Vlt. Gibt es ja noch andere ws, die das ausschalten melden.
                          Hast du zufällig das aufwecken über WiFi ausgeschaltet?

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

                            Also ich habe schon mal ein wenig gelesen und es scheint so zu sein, dass manche tv einfach dicht machen. Was mich wundert ist, dass das websocket nicht geschlossen wird. Ich muss da tiefer rein, dass Problem ist, dass es nicht der Adapter ist, sondern die Bibliothek von @hobbyquaker. Ich schau mal, was ich machen kann. Aber wahrscheinlich brauche ich deine Hilfe zum testen

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              StefanMc @dirkhe last edited by

                              Wakeup on wifi und bluetooth hab ich deaktiviert.
                              Wenn du hilfe beim testen brauchst, immer gerne!
                              Werde vorübergehend die alte version mit dem polling installieren, damit meine skripte wieder funktionieren.
                              Danke schon mal im voraus für deine mühen!

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

                                @StefanMc kannst du bitte nochmal die aktuelle Version vom Git ziehen, testen und das Log posten?

                                S 1 Reply Last reply Reply Quote 0
                                • D
                                  deta Most Active last edited by

                                  Hallo, ich habe dieses Version am laufen:
                                  Screenshot_20200223_144701.png
                                  Hab das Problem, das wenn der TV ausgeschaltet ist, das der Adapter auf Gelb geht.
                                  Ist doch bestimmt nicht richtig.
                                  Der LG ist der 49SJ800V-ZB

                                  Wenn der TV eingeschaltet wird wird er wieder grün.
                                  Nein er wird nicht vom Strom genommen, geht nur auf Standby.

                                  Wo liegt das Problem?

                                  cu Deta

                                  sigi234 D 2 Replies Last reply Reply Quote 0
                                  • S
                                    StefanMc last edited by StefanMc

                                    aktuelle Version installiert
                                    ob er eingeschalten ist oder nicht wird jetzt erkannt EDIT: bin mir nicht ganz sicher, werde s im auge behalten
                                    hier ist das Log:

                                    lgtv.1	2020-02-23 17:39:59.454	debug	(11296) DEBUGGING CHANNEL POLLING PROBLEM: {"returnValue":false,"errorCode":-1000,"errorText":"internal error"}
                                    lgtv.1	2020-02-23 17:39:59.392	debug	(11296) Current Input and/or App: com.webos.app.hdmi1
                                    lgtv.1	2020-02-23 17:39:59.359	debug	(11296) pollVolumeLevel: {"returnValue":true,"scenario":"mastervolume_tv_speaker","volume":9,"muted":false,"volumeMax":100}
                                    lgtv.1	2020-02-23 17:39:59.108	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:39:59.105	debug	(11296) Polling Input and current App
                                    lgtv.1	2020-02-23 17:39:59.101	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:39:59.098	debug	(11296) Polling OnlineStatus
                                    lgtv.1	2020-02-23 17:39:59.093	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:39:59.089	debug	(11296) Polling volume level
                                    lgtv.1	2020-02-23 17:39:59.083	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:39:59.080	debug	(11296) Polling channel
                                    lgtv.1	2020-02-23 17:38:59.444	debug	(11296) DEBUGGING CHANNEL POLLING PROBLEM: {"returnValue":false,"errorCode":-1000,"errorText":"internal error"}
                                    lgtv.1	2020-02-23 17:38:59.421	debug	(11296) Current Input and/or App: com.webos.app.hdmi1
                                    lgtv.1	2020-02-23 17:38:59.357	debug	(11296) pollVolumeLevel: {"returnValue":true,"scenario":"mastervolume_tv_speaker","volume":9,"muted":false,"volumeMax":100}
                                    lgtv.1	2020-02-23 17:38:59.106	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:38:59.104	debug	(11296) Polling Input and current App
                                    lgtv.1	2020-02-23 17:38:59.099	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:38:59.097	debug	(11296) Polling OnlineStatus
                                    lgtv.1	2020-02-23 17:38:59.092	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:38:59.089	debug	(11296) Polling volume level
                                    lgtv.1	2020-02-23 17:38:59.083	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:38:59.079	debug	(11296) Polling channel
                                    lgtv.1	2020-02-23 17:37:59.470	debug	(11296) DEBUGGING CHANNEL POLLING PROBLEM: {"returnValue":false,"errorCode":-1000,"errorText":"internal error"}
                                    lgtv.1	2020-02-23 17:37:59.410	debug	(11296) Current Input and/or App: com.webos.app.hdmi1
                                    lgtv.1	2020-02-23 17:37:59.378	debug	(11296) pollVolumeLevel: {"returnValue":true,"scenario":"mastervolume_tv_speaker","volume":9,"muted":false,"volumeMax":100}
                                    lgtv.1	2020-02-23 17:37:59.107	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:37:59.104	debug	(11296) Polling Input and current App
                                    lgtv.1	2020-02-23 17:37:59.099	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:37:59.097	debug	(11296) Polling OnlineStatus
                                    lgtv.1	2020-02-23 17:37:59.091	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:37:59.089	debug	(11296) Polling volume level
                                    lgtv.1	2020-02-23 17:37:59.082	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:37:59.079	debug	(11296) Polling channel
                                    lgtv.1	2020-02-23 17:37:17.653	debug	(11296) ERROR on polling input and app: Error: connect EHOSTUNREACH 192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:37:17.652	debug	(11296) Error on connecting or sending command to WebOS TV: Error: connect EHOSTUNREACH 192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:37:17.650	debug	(11296) Error on connecting or sending command to WebOS TV: Error: connect EHOSTUNREACH 192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:37:17.648	debug	(11296) pollVolumeLevel: undefined
                                    lgtv.1	2020-02-23 17:37:17.647	debug	(11296) Error on connecting or sending command to WebOS TV: Error: connect EHOSTUNREACH 192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:37:17.645	debug	(11296) DEBUGGING CHANNEL POLLING PROBLEM: undefined
                                    lgtv.1	2020-02-23 17:37:17.644	debug	(11296) Error on connecting or sending command to WebOS TV: Error: connect EHOSTUNREACH 192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:36:59.106	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:36:59.104	debug	(11296) Polling Input and current App
                                    lgtv.1	2020-02-23 17:36:59.101	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:36:59.097	debug	(11296) Polling OnlineStatus
                                    lgtv.1	2020-02-23 17:36:59.093	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:36:59.089	debug	(11296) Polling volume level
                                    lgtv.1	2020-02-23 17:36:59.085	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:36:59.079	debug	(11296) Polling channel
                                    lgtv.1	2020-02-23 17:35:59.412	debug	(11296) DEBUGGING CHANNEL POLLING PROBLEM: {"returnValue":false,"errorCode":-1000,"errorText":"internal error"}
                                    lgtv.1	2020-02-23 17:35:59.353	debug	(11296) Current Input and/or App: com.webos.app.hdmi1
                                    lgtv.1	2020-02-23 17:35:59.325	debug	(11296) pollVolumeLevel: {"returnValue":true,"scenario":"mastervolume_tv_speaker","volume":9,"muted":false,"volumeMax":100}
                                    lgtv.1	2020-02-23 17:35:59.103	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:35:59.101	debug	(11296) Polling Input and current App
                                    lgtv.1	2020-02-23 17:35:59.098	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:35:59.096	debug	(11296) Polling OnlineStatus
                                    lgtv.1	2020-02-23 17:35:59.092	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:35:59.089	debug	(11296) Polling volume level
                                    lgtv.1	2020-02-23 17:35:59.083	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:35:59.079	debug	(11296) Polling channel
                                    lgtv.1	2020-02-23 17:34:59.485	debug	(11296) DEBUGGING CHANNEL POLLING PROBLEM: {"returnValue":false,"errorCode":-1000,"errorText":"internal error"}
                                    lgtv.1	2020-02-23 17:34:59.425	debug	(11296) Current Input and/or App: com.webos.app.hdmi1
                                    lgtv.1	2020-02-23 17:34:59.391	debug	(11296) pollVolumeLevel: {"returnValue":true,"scenario":"mastervolume_tv_speaker","volume":9,"muted":false,"volumeMax":100}
                                    lgtv.1	2020-02-23 17:34:59.104	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:34:59.101	debug	(11296) Polling Input and current App
                                    lgtv.1	2020-02-23 17:34:59.099	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:34:59.095	debug	(11296) Polling OnlineStatus
                                    lgtv.1	2020-02-23 17:34:59.091	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:34:59.089	debug	(11296) Polling volume level
                                    lgtv.1	2020-02-23 17:34:59.081	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:34:59.079	debug	(11296) Polling channel
                                    lgtv.1	2020-02-23 17:33:59.468	debug	(11296) DEBUGGING CHANNEL POLLING PROBLEM: {"returnValue":false,"errorCode":-1000,"errorText":"internal error"}
                                    lgtv.1	2020-02-23 17:33:59.406	debug	(11296) Current Input and/or App: com.webos.app.hdmi1
                                    lgtv.1	2020-02-23 17:33:59.376	debug	(11296) pollVolumeLevel: {"returnValue":true,"scenario":"mastervolume_tv_speaker","volume":9,"muted":false,"volumeMax":100}
                                    lgtv.1	2020-02-23 17:33:59.099	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:33:59.098	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:33:59.097	debug	(11296) Polling Input and current App
                                    lgtv.1	2020-02-23 17:33:59.095	debug	(11296) Polling OnlineStatus
                                    lgtv.1	2020-02-23 17:33:59.093	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:33:59.090	debug	(11296) Polling volume level
                                    lgtv.1	2020-02-23 17:33:59.084	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:33:59.079	debug	(11296) Polling channel
                                    lgtv.1	2020-02-23 17:33:17.535	debug	(11296) ERROR on polling input and app: Error: connect EHOSTUNREACH 192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:33:17.534	debug	(11296) Error on connecting or sending command to WebOS TV: Error: connect EHOSTUNREACH 192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:33:17.519	debug	(11296) Error on connecting or sending command to WebOS TV: Error: connect EHOSTUNREACH 192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:33:17.517	debug	(11296) pollVolumeLevel: undefined
                                    lgtv.1	2020-02-23 17:33:17.516	debug	(11296) Error on connecting or sending command to WebOS TV: Error: connect EHOSTUNREACH 192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:33:17.515	debug	(11296) DEBUGGING CHANNEL POLLING PROBLEM: undefined
                                    lgtv.1	2020-02-23 17:33:17.514	debug	(11296) Error on connecting or sending command to WebOS TV: Error: connect EHOSTUNREACH 192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:32:59.098	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:32:59.096	debug	(11296) Polling Input and current App
                                    lgtv.1	2020-02-23 17:32:59.094	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:32:59.091	debug	(11296) Polling OnlineStatus
                                    lgtv.1	2020-02-23 17:32:59.089	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:32:59.086	debug	(11296) Polling volume level
                                    lgtv.1	2020-02-23 17:32:59.083	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:32:59.078	debug	(11296) Polling channel
                                    lgtv.1	2020-02-23 17:31:59.412	debug	(11296) DEBUGGING CHANNEL POLLING PROBLEM: {"returnValue":false,"errorCode":-1000,"errorText":"internal error"}
                                    lgtv.1	2020-02-23 17:31:59.356	debug	(11296) pollVolumeLevel: {"returnValue":true,"scenario":"mastervolume_tv_speaker","volume":9,"muted":false,"volumeMax":100}
                                    lgtv.1	2020-02-23 17:31:59.352	debug	(11296) Current Input and/or App: com.webos.app.hdmi1
                                    lgtv.1	2020-02-23 17:31:59.097	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:31:59.093	debug	(11296) Polling Input and current App
                                    lgtv.1	2020-02-23 17:31:59.091	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:31:59.088	debug	(11296) Polling OnlineStatus
                                    lgtv.1	2020-02-23 17:31:59.084	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:31:59.082	debug	(11296) Polling volume level
                                    lgtv.1	2020-02-23 17:31:59.079	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:31:59.077	debug	(11296) Polling channel
                                    lgtv.1	2020-02-23 17:30:59.454	debug	(11296) DEBUGGING CHANNEL POLLING PROBLEM: {"returnValue":false,"errorCode":-1000,"errorText":"internal error"}
                                    lgtv.1	2020-02-23 17:30:59.381	debug	(11296) Current Input and/or App: com.webos.app.hdmi1
                                    lgtv.1	2020-02-23 17:30:59.353	debug	(11296) pollVolumeLevel: {"returnValue":true,"scenario":"mastervolume_tv_speaker","volume":9,"muted":false,"volumeMax":100}
                                    lgtv.1	2020-02-23 17:30:59.094	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:30:59.091	debug	(11296) Polling Input and current App
                                    lgtv.1	2020-02-23 17:30:59.089	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:30:59.087	debug	(11296) Polling OnlineStatus
                                    lgtv.1	2020-02-23 17:30:59.084	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:30:59.082	debug	(11296) Polling volume level
                                    lgtv.1	2020-02-23 17:30:59.073	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:30:59.070	debug	(11296) Polling channel
                                    lgtv.1	2020-02-23 17:30:00.002	debug	(11296) DEBUGGING CHANNEL POLLING PROBLEM: {"returnValue":false,"errorCode":-1000,"errorText":"internal error"}
                                    lgtv.1	2020-02-23 17:29:59.312	debug	(11296) pollVolumeLevel: {"returnValue":true,"scenario":"mastervolume_tv_speaker","volume":9,"muted":false,"volumeMax":100}
                                    lgtv.1	2020-02-23 17:29:59.287	debug	(11296) Current Input and/or App: com.webos.app.hdmi1
                                    lgtv.1	2020-02-23 17:29:59.096	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:29:59.091	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:29:59.090	debug	(11296) Polling Input and current App
                                    lgtv.1	2020-02-23 17:29:59.088	debug	(11296) Polling OnlineStatus
                                    lgtv.1	2020-02-23 17:29:59.084	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:29:59.082	debug	(11296) Polling volume level
                                    lgtv.1	2020-02-23 17:29:59.074	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:29:59.071	debug	(11296) Polling channel
                                    lgtv.1	2020-02-23 17:29:31.672	debug	(11296) Current Input and/or App: com.webos.app.hdmi1
                                    lgtv.1	2020-02-23 17:28:59.440	debug	(11296) Waiting for pairing confirmation on WebOS TV 192.168.2.15
                                    lgtv.1	2020-02-23 17:28:59.428	debug	(11296) Waiting for pairing confirmation on WebOS TV 192.168.2.15
                                    lgtv.1	2020-02-23 17:28:59.415	debug	(11296) Waiting for pairing confirmation on WebOS TV 192.168.2.15
                                    lgtv.1	2020-02-23 17:28:59.399	debug	(11296) Waiting for pairing confirmation on WebOS TV 192.168.2.15
                                    lgtv.1	2020-02-23 17:28:59.398	debug	(11296) Waiting for pairing confirmation on WebOS TV 192.168.2.15
                                    lgtv.1	2020-02-23 17:28:59.397	debug	(11296) Waiting for pairing confirmation on WebOS TV 192.168.2.15
                                    lgtv.1	2020-02-23 17:28:59.395	debug	(11296) Waiting for pairing confirmation on WebOS TV 192.168.2.15
                                    lgtv.1	2020-02-23 17:28:59.108	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:28:59.107	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:28:59.104	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:28:59.087	debug	(11296) Connecting to WebOS TV: ws://192.168.2.15:3000
                                    lgtv.1	2020-02-23 17:28:59.085	debug	(11296) Polling Input and current App
                                    lgtv.1	2020-02-23 17:28:59.084	debug	(11296) Polling OnlineStatus
                                    lgtv.1	2020-02-23 17:28:59.081	debug	(11296) Polling volume level
                                    lgtv.1	2020-02-23 17:28:59.070	debug	(11296) Polling channel
                                    lgtv.1	2020-02-23 17:27:59.067	info	(11296) Ready. Configured WebOS TV IP: 192.168.2.15
                                    lgtv.1	2020-02-23 17:27:59.032	info	(11296) starting. Version 1.0.8 in /opt/iobroker/node_modules/iobroker.lgtv, node: v10.19.0
                                    lgtv.1	2020-02-23 17:27:56.944	debug	(11296) statesDB connected
                                    lgtv.1	2020-02-23 17:27:56.942	debug	(11296) States connected to redis: 127.0.0.1:9000
                                    lgtv.1	2020-02-23 17:27:56.882	debug	(11296) States create System PubSub Client
                                    lgtv.1	2020-02-23 17:27:56.877	debug	(11296) States create User PubSub Client
                                    lgtv.1	2020-02-23 17:27:56.840	debug	(11296) Redis States: Use Redis connection: 127.0.0.1:9000
                                    lgtv.1	2020-02-23 17:27:56.835	debug	(11296) objectDB connected
                                    lgtv.1	2020-02-23 17:27:56.821	debug	(11296) Objects connected to redis: 127.0.0.1:9001
                                    lgtv.1	2020-02-23 17:27:56.746	debug	(11296) Objects client initialize lua scripts
                                    lgtv.1	2020-02-23 17:27:56.745	debug	(11296) Objects create User PubSub Client
                                    lgtv.1	2020-02-23 17:27:56.743	debug	(11296) Objects create System PubSub Client
                                    lgtv.1	2020-02-23 17:27:56.736	debug	(11296) Objects client ready ... initialize now
                                    lgtv.1	2020-02-23 17:27:56.644	debug	(11296) Redis Objects: Use Redis connection: 127.0.0.1:9001
                                    
                                    D 1 Reply Last reply Reply Quote 0
                                    • sigi234
                                      sigi234 Forum Testing Most Active @deta last edited by

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

                                      Wenn der TV eingeschaltet wird wird er wieder grün.

                                      Ist bei mir auch so.

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

                                        @StefanMc Du hast aber nicht "meine" Version installiert, sondern die alte, wo naoch die ganze Zeit gepollt wird

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

                                          @deta Ich dachte, dass waäre vorher auch so gewesen, war es aber nicht. Ich hab das mal angepasst

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

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

                                            @deta Ich dachte, dass waäre vorher auch so gewesen, war es aber nicht. Ich hab das mal angepasst

                                            So, wo und was ist jetzt die Neue aktuelle Version?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            655
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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