NEWS
LG WebOS Smart TV - Abfrageintervall
-
Hallo zusammen,
ich wechsle gerade mein System von FHEM auf ioBroker und habe meinen LG durch die lgtv-Instanz des ioBrokers auch bestens integrieren können - allerdings habe ich für den Umstieg auch die fhem-Instanz installiert.
Ich schalte den Fernseher konventionell über eine Fernbedienung ein. Nun habe ich ein Skript, welches beim einschalten des Fernsehers eine Standlampe ausmachen und beim einschalten anmachen soll.
Das klappt auch, nur bekomme ich das Event von der ioBroker lgtv-Instanz zu spät.Nehme ich den Datenpunkt "state" des LG-Moduls aus der fhem-Instanz fhem.0 schaltet die Lampe unmittelbar beim ausschalten des Fernsehers ein - nehme ich hingegen "on" aus lgtv.0 aus der ioBroker-Instanz dauert es exakt 10sek länger bis sich der Datenpunkt aktualisiert und es einen neuen Zeitstempel gibt - was mir aber nichts bringt, da der Raum dann noch 10sek dunkel bleibt.
Das ändern des "Abfrageintervall in ms" (auf bspw. 10 ms) der lgtv-Instanz führte bisher auch zu keinem Erfolg.
Wie und Wo kann man diese Verzögerung beeinflussen?Besten Dank im Voraus!
-
@marwal zeig doch bitte mal dein debug log, ist der tv connected oder muss er sich erst nich connecten? Wenn das in fhem besser geht, müsste man mal schauen, wie die das machen
-
@dirkhe Ich habe den LG 11:11:00 Uhr angeschaltet und 11:12:00 Uhr wieder aus.
Nach dem anschalten, dauert es bei ioBroker als auch bei FHEM etwa 30 Sekunden bis TV erkannt wird. Beim ausschalten fällt mir auf, dass die Zeit zwischen "Connection closed: 1001" und "TV is off" auch genau 10 Sekunden beträgt.
Der LG ist per LAN verbunden - so wie es aussieht versucht er aller 5 Sekunden sich zu connecten. Anbei das Log:2023-02-26 11:10:57.043 - debug: lgtv.0 (12517) TV is off 2023-02-26 11:11:03.352 - debug: lgtv.0 (12517) Connecting to WebOS TV: ws://192.168.87.51:3000 2023-02-26 11:11:05.194 - debug: lgtv.0 (12517) TV is off 2023-02-26 11:11:11.511 - debug: lgtv.0 (12517) Connecting to WebOS TV: ws://192.168.87.51:3000 2023-02-26 11:11:13.354 - debug: lgtv.0 (12517) TV is off 2023-02-26 11:11:19.672 - debug: lgtv.0 (12517) Connecting to WebOS TV: ws://192.168.87.51:3000 2023-02-26 11:11:21.067 - debug: lgtv.0 (12517) Error on connecting or sending command to WebOS TV: Error: connect ECONNREFUSED 192.168.87.51:3000 2023-02-26 11:11:21.514 - debug: lgtv.0 (12517) TV is off 2023-02-26 11:11:26.069 - debug: lgtv.0 (12517) Connecting to WebOS TV: ws://192.168.87.51:3000 2023-02-26 11:11:29.675 - debug: lgtv.0 (12517) TV is off 2023-02-26 11:11:31.073 - debug: lgtv.0 (12517) Connecting to WebOS TV: ws://192.168.87.51:3000 2023-02-26 11:11:36.073 - debug: lgtv.0 (12517) TV is off 2023-02-26 11:11:36.082 - debug: lgtv.0 (12517) Connecting to WebOS TV: ws://192.168.87.51:3000 2023-02-26 11:11:36.288 - debug: lgtv.0 (12517) WebOS TV Connected 2023-02-26 11:11:36.302 - debug: lgtv.0 (12517) ERROR! Response from TV: Error: timeout 2023-02-26 11:11:36.303 - debug: lgtv.0 (12517) ERROR! Response from TV: Error: timeout 2023-02-26 11:11:36.304 - debug: lgtv.0 (12517) ERROR! Response from TV: Error: timeout 2023-02-26 11:11:36.492 - debug: lgtv.0 (12517) DEBUGGING getForegroundAppInfo: {"appId":"com.webos.app.hdmi1","subscribed":true,"returnValue":true,"windowId":"","processId":""} 2023-02-26 11:11:36.493 - debug: lgtv.0 (12517) cur app is com.webos.app.hdmi1 2023-02-26 11:11:36.510 - debug: lgtv.0 (12517) audio/getVolume: {"muted":false,"scenario":"mastervolume_tv_speaker","active":false,"action":"requested","volume":15,"returnValue":true,"subscribed":true,"changed":["muted","volume"]} 2023-02-26 11:11:36.530 - debug: lgtv.0 (12517) renew connection in one minute for stable subscriptions... 2023-02-26 11:11:37.393 - debug: lgtv.0 (12517) audio/getSoundOutput: {"soundOutput":"tv_external_speaker","subscribed":true} 2023-02-26 11:11:37.433 - debug: lgtv.0 (12517) tv/getCurrentChannel: {"returnValue":false,"errorCode":"BROADCAST_ERROR_0001","errorText":"Invalid broadcastID error"} 2023-02-26 11:12:04.720 - debug: lgtv.0 (12517) Connection closed: 1001 2023-02-26 11:12:09.721 - debug: lgtv.0 (12517) Connecting to WebOS TV: ws://192.168.87.51:3000 2023-02-26 11:12:14.721 - debug: lgtv.0 (12517) TV is off 2023-02-26 11:12:19.722 - debug: lgtv.0 (12517) TV is off
und hier die Einträge aus dem Event-Monitor von FHEM - angeschaltet um 11:15:00 und ausgeschaltet um 11:16:00
2023-02-26 11:15:31 LGTV_WebOS TV pairing: unpaired 2023-02-26 11:15:31 LGTV_WebOS TV lastResponse: error - 401 insufficient permissions 2023-02-26 11:15:31 LGTV_WebOS TV on 2023-02-26 11:15:35 LGTV_WebOS TV pairing: paired 2023-02-26 11:15:35 LGTV_WebOS TV lastResponse: ok 2023-02-26 11:16:00 LGTV_WebOS TV off
Besten Dank!
-
@marwal kann es sein, dass FHEM und iobroker lg-tv Adapter gleichzeitig auf den TV zugreifen? Denke das wird das Problem sein.. schalt mal zum testen den FHEM Task dazu aus.. ??
-
@ilovegym ich habe jetzt mal vorsichtshalber das Modul in FHEM nicht nur deaktiviert, sondern gelöscht. Daran scheint es nicht zu liegen, hier sieht man auch wieder dass das Event "TV is off" exakt 10 Sekunden nach "Connection closed" kommt. Man müsste also auf "Connection closed: 1001" gehen, jedoch wird der Datenpunkt "lgtv.0.info connection" auch erst genau 10sek später aktualisiert, wie kann ich auf "Connection closed: 1001" zugreifen? anbei mal der Log danach - TV an um 12:08:00 und aus um 12:09:00
2023-02-26 12:07:59.192 - debug: lgtv.0 (12517) Connecting to WebOS TV: ws://192.168.87.51:3000 2023-02-26 12:08:01.034 - debug: lgtv.0 (12517) TV is off 2023-02-26 12:08:07.352 - debug: lgtv.0 (12517) Connecting to WebOS TV: ws://192.168.87.51:3000 2023-02-26 12:08:09.194 - debug: lgtv.0 (12517) TV is off 2023-02-26 12:08:15.512 - debug: lgtv.0 (12517) Connecting to WebOS TV: ws://192.168.87.51:3000 2023-02-26 12:08:15.532 - debug: lgtv.0 (12517) Error on connecting or sending command to WebOS TV: Error: connect ECONNREFUSED 192.168.87.51:3000 2023-02-26 12:08:17.353 - debug: lgtv.0 (12517) TV is off 2023-02-26 12:08:20.533 - debug: lgtv.0 (12517) Connecting to WebOS TV: ws://192.168.87.51:3000 2023-02-26 12:08:25.513 - debug: lgtv.0 (12517) TV is off 2023-02-26 12:08:25.554 - debug: lgtv.0 (12517) Connecting to WebOS TV: ws://192.168.87.51:3000 2023-02-26 12:08:30.534 - debug: lgtv.0 (12517) TV is off 2023-02-26 12:08:30.577 - debug: lgtv.0 (12517) Connecting to WebOS TV: ws://192.168.87.51:3000 2023-02-26 12:08:30.838 - debug: lgtv.0 (12517) WebOS TV Connected 2023-02-26 12:08:30.851 - debug: lgtv.0 (12517) ERROR! Response from TV: Error: timeout 2023-02-26 12:08:30.852 - debug: lgtv.0 (12517) ERROR! Response from TV: Error: timeout 2023-02-26 12:08:30.853 - debug: lgtv.0 (12517) ERROR! Response from TV: Error: timeout 2023-02-26 12:08:31.145 - debug: lgtv.0 (12517) DEBUGGING getForegroundAppInfo: {"appId":"com.webos.app.hdmi1","subscribed":true,"returnValue":true,"windowId":"","processId":""} 2023-02-26 12:08:31.146 - debug: lgtv.0 (12517) cur app is com.webos.app.hdmi1 2023-02-26 12:08:31.147 - debug: lgtv.0 (12517) audio/getVolume: {"muted":false,"scenario":"mastervolume_tv_speaker","active":false,"action":"requested","volume":15,"returnValue":true,"subscribed":true,"changed":["muted","volume"]} 2023-02-26 12:08:31.221 - debug: lgtv.0 (12517) renew connection in one minute for stable subscriptions... 2023-02-26 12:08:32.132 - debug: lgtv.0 (12517) audio/getSoundOutput: {"soundOutput":"tv_external_speaker","subscribed":true} 2023-02-26 12:08:32.180 - debug: lgtv.0 (12517) tv/getCurrentChannel: {"returnValue":false,"errorCode":"BROADCAST_ERROR_0001","errorText":"Invalid broadcastID error"} 2023-02-26 12:09:01.097 - debug: lgtv.0 (12517) Connection closed: 1001 2023-02-26 12:09:06.098 - debug: lgtv.0 (12517) Connecting to WebOS TV: ws://192.168.87.51:3000 2023-02-26 12:09:11.098 - debug: lgtv.0 (12517) TV is off
-
Hi, ok, damit kann man das mal ausschliessen.
Ich kann hier mit 2 LG TV's das leider nicht nachvollziehen, die Konfig sieht hier so aus:
vielleicht hast du einfach eine zu kurze Zeit eingestellt?
Dass es ein paar Sekunden dauert, bis iobroker das synced, hab ich auch, ich schalte aber mit iobroker das Geraet an/aus, und kann damit auch alles andere Schalten. Ich hab bei mir im Buero nur ein Script, das liest den Status aus und wechselt dann die Dashboards auf dem TV, wenn er eingeschaltet ist. -
@ilovegym Schalte ich direkt über die Datenpunkte oder verknüpfe diese mit einem Schalter, wird es unmittelbar ein und ausgeschaltet, da das System ja auch weiß was ich möchte und keine Antwort vom TV benötigt. Wie sieht es bei dir aus, wenn du die Fernbedienung nutzt? Dauert es dann mit deiner Config auch 10sek länger bis sich die Datenpunkte aktualisieren wenn du den LG ausschaltest?
-
@marwal Keine direkte Lösung, aber für iobroker gibt es den FHEM-Adapgter. Damit hast Du alle FHEM-Geräte in iobroker, die Du in FHEM einem (virtuellen) Raum iobroker zuweist. Habe ich auch parallel laufen für manche Dinge, für die es in iobroker leider keine so schöne Lösung wie in FHEM gibt. Quasi „best of both worlds“.
Damit hättest Du die Datenpunkte für Deinen LG dann in iobroker aber mit der vollen Funktionalität und Responsivität, wie sie FHEM bietet.Gruss, Jürgen
-
Ich habe gerade nochmal in den code geschaut. Sobald die connection weg ist, wartet er 10 sec und wenn dann immer noch offline, setzt er die connection auf false.
Man könnte drüber nachdenken, ob man states.power oder states.on dann ach schon direkt auf false setzt. -
@dirkhe ich hab diese Zeit auch, wäre schön wenn man das einstellbar machen könnte, falls es doch Probleme mit kurzer Zeit gibt..?
-
das problem ist, dass wenn man jetzt states.on direkt auf false setzt, vlt andere probleme haben. Wenn jetzt mal kurz die connection weg ist, sollte das vlt auch nicht direkt gesetzt werden.
Ich denke man könnte den zumindest direkt auf false setzten, wenn der tv expliziet die verbindung trennt.
Du könntst ja mal in der lgtv.js in zeile 369 folgendes einfügenadapter.setStateChanged('states.on', isTVon,True)
Also
lgtvobj.on('close', (e) => { adapter.log.debug('Connection closed: ' + e); adapter.setStateChanged('states.on', false,true); checkConnection(); });
-
@wildbill Danke Wildbill, ich habe den FHEM-Adapter bereits installiert, wie oben beschrieben schaltet er über das Event von fhem.0 sofort aus. Ziel ist allerdings der Umstieg von FHEM auf ioBroker und nicht 2 Server-Instanzen gleichzeitig am laufen zu haben.
Beste Grüße
-
Ich habe gerade nochmal in den code geschaut. Sobald die connection weg ist, wartet er 10 sec und wenn dann immer noch offline, setzt er die connection auf false. Man könnte drüber nachdenken, ob man states.power oder states.on dann ach schon direkt auf false setzt.
Das wäre super! Was ist denn mit "Connection closed"? könnte man da nicht einen separaten Datenpunkt anlegen?
Beste Grüße
-
@dirkhe said in LG WebOS Smart TV - Abfrageintervall:
das problem ist, dass wenn man jetzt states.on direkt auf false setzt, vlt andere probleme haben. Wenn jetzt mal kurz die connection weg ist, sollte das vlt auch nicht direkt gesetzt werden.
Ich denke man könnte den zumindest direkt auf false setzten, wenn der tv expliziet die verbindung trennt.
Du könntst ja mal in der lgtv.js in zeile 369 folgendes einfügen
adapter.setStateChanged('states.on', isTVon,True)Also
lgtvobj.on('close', (e) => { adapter.log.debug('Connection closed: ' + e); adapter.setStateChanged('states.on', false,true); checkConnection(); });Die Zeile
adapter.setStateChanged('states.on', isTVon,True)
ersetzen oder den Rest darunter einfügen?
-
@marwal nein der untere teil ist so vollständig, so sollte es danach aussehen, da ist die 1. zeile schon mit drin.
-
@dirkhe anbei der Logauszug mit den Änderungen in der lgtv.js. Die Änderung scheint bei mir aber nur Probleme zu verursachen und bombt das Logfile zu. Die Datenpunkte werden hier auch erst nach den 10sek aktualisiert. 09:40:00 an und 09:41:00 ausIch hab es an einer falschen Stelle eingefügt
-
@dirkhe FUNKTIONIERT!
exakt bei dem Event ging das Licht an:
2023-02-27 14:25:00.925 - debug: lgtv.0 (16857) Connection closed: 1001
hier nochmal der Log nachdem der Code in der lgtv.js an der richtigen Stelle ist - 14:24:00 an und 14:25:00 aus :
2023-02-27 14:24:22.491 - debug: lgtv.0 (16857) TV is off 2023-02-27 14:24:24.329 - debug: lgtv.0 (16857) Connecting to WebOS TV: ws://192.168.87.51:3000 2023-02-27 14:24:29.328 - debug: lgtv.0 (16857) TV is off 2023-02-27 14:24:29.335 - debug: lgtv.0 (16857) Connecting to WebOS TV: ws://192.168.87.51:3000 2023-02-27 14:24:29.566 - debug: lgtv.0 (16857) WebOS TV Connected 2023-02-27 14:24:29.824 - debug: lgtv.0 (16857) DEBUGGING getForegroundAppInfo: {"appId":"com.webos.app.hdmi1","subscribed":true,"returnValue":true,"windowId":"","processId":""} 2023-02-27 14:24:29.825 - debug: lgtv.0 (16857) cur app is com.webos.app.hdmi1 2023-02-27 14:24:29.830 - debug: lgtv.0 (16857) audio/getVolume: {"muted":false,"scenario":"mastervolume_tv_speaker","active":false,"action":"requested","volume":14,"returnValue":true,"subscribed":true,"changed":["muted","volume"]} 2023-02-27 14:24:29.852 - debug: lgtv.0 (16857) 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}]} 2023-02-27 14:24:29.956 - debug: lgtv.0 (16857) getCurrentSWInformation: {"returnValue":true,"product_name":"webOSTV 3.0","model_name":"HE_DTV_W16P_AFADABAA","sw_type":"FIRMWARE","major_ver":"05","minor_ver":"70.30","country":"DE","country_group":"EU","device_id":"14:c9:13:52:3d:ef","auth_flag":"N","ignore_disable":"N","eco_info":"01","config_key":"00","language_code":"de-DE"} 2023-02-27 14:24:29.958 - debug: lgtv.0 (16857) renew connection in one minute for stable subscriptions... 2023-02-27 14:24:30.798 - debug: lgtv.0 (16857) getSystemInfo: {"returnValue":true,"features":{"3d":false,"dvr":true},"receiverType":"dvb","modelName":"55UH605V-ZC"} 2023-02-27 14:24:30.808 - debug: lgtv.0 (16857) audio/getSoundOutput: {"soundOutput":"tv_external_speaker","subscribed":true} 2023-02-27 14:24:30.817 - debug: lgtv.0 (16857) tv/getCurrentChannel: {"returnValue":false,"errorCode":"BROADCAST_ERROR_0001","errorText":"Invalid broadcastID error"} 2023-02-27 14:25:00.925 - debug: lgtv.0 (16857) Connection closed: 1001 2023-02-27 14:25:05.926 - debug: lgtv.0 (16857) Connecting to WebOS TV: ws://192.168.87.51:3000 2023-02-27 14:25:10.926 - debug: lgtv.0 (16857) TV is off 2023-02-27 14:25:15.928 - debug: lgtv.0 (16857) TV is off
Wirst du das ganze mit einpflegen, oder sollte ich im Falle eines Updates darauf achten?
Besten Dank für eure Mühe und Geduld! -
@marwal das müsste dann @SchuetzeSchulz machen, ich könnte zwar ein pr machen, aber wegen einer zeile..
-
@dirkhe Ich muss das gelöst doch nochmal zurücknehmen. Ich habe nun das Problem, dass das Licht aller 1min für 1sek angeht und wieder aus - also immer zwischen den "check TV connection: ok". Da wird ebenfalls ein "Connection closed: 1000" gesendet. Anbei ein Log:
2023-02-28 09:42:16.331 - debug: lgtv.0 (18185) TV is off 2023-02-28 09:42:16.587 - debug: lgtv.0 (18185) Connecting to WebOS TV: ws://192.168.87.51:3000 2023-02-28 09:42:21.582 - debug: lgtv.0 (18185) TV is off 2023-02-28 09:42:21.590 - debug: lgtv.0 (18185) Connecting to WebOS TV: ws://192.168.87.51:3000 2023-02-28 09:42:21.789 - debug: lgtv.0 (18185) WebOS TV Connected 2023-02-28 09:42:22.002 - debug: lgtv.0 (18185) DEBUGGING getForegroundAppInfo: {"appId":"com.webos.app.hdmi1","subscribed":true,"returnValue":true,"windowId":"","processId":""} 2023-02-28 09:42:22.004 - debug: lgtv.0 (18185) cur app is com.webos.app.hdmi1 2023-02-28 09:42:22.017 - debug: lgtv.0 (18185) audio/getVolume: {"muted":false,"scenario":"mastervolume_tv_speaker","active":false,"action":"requested","volume":14,"returnValue":true,"subscribed":true,"changed":["muted","volume"]} 2023-02-28 09:42:22.028 - debug: lgtv.0 (18185) 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}]} 2023-02-28 09:42:22.073 - debug: lgtv.0 (18185) renew connection in one minute for stable subscriptions... 2023-02-28 09:42:22.451 - debug: lgtv.0 (18185) getCurrentSWInformation: {"returnValue":true,"product_name":"webOSTV 3.0","model_name":"HE_DTV_W16P_AFADABAA","sw_type":"FIRMWARE","major_ver":"05","minor_ver":"70.30","country":"DE","country_group":"EU","device_id":"14:c9:13:52:3d:ef","auth_flag":"N","ignore_disable":"N","eco_info":"01","config_key":"00","language_code":"de-DE"} 2023-02-28 09:42:22.952 - debug: lgtv.0 (18185) getSystemInfo: {"returnValue":true,"features":{"3d":false,"dvr":true},"receiverType":"dvb","modelName":"55UH605V-ZC"} 2023-02-28 09:42:22.956 - debug: lgtv.0 (18185) tv/getCurrentChannel: {"returnValue":false,"errorCode":"BROADCAST_ERROR_0001","errorText":"Invalid broadcastID error"} 2023-02-28 09:42:22.960 - debug: lgtv.0 (18185) audio/getSoundOutput: {"soundOutput":"tv_external_speaker","subscribed":true} 2023-02-28 09:43:22.090 - debug: lgtv.0 (18185) Connection closed: 1000 2023-02-28 09:43:22.577 - debug: lgtv.0 (18185) Connecting to WebOS TV: ws://192.168.87.51:3000 2023-02-28 09:43:22.708 - debug: lgtv.0 (18185) WebOS TV Connected 2023-02-28 09:43:22.870 - debug: lgtv.0 (18185) DEBUGGING getForegroundAppInfo: {"appId":"com.webos.app.hdmi1","subscribed":true,"returnValue":true,"windowId":"","processId":""} 2023-02-28 09:43:22.871 - debug: lgtv.0 (18185) cur app is com.webos.app.hdmi1 2023-02-28 09:43:22.874 - debug: lgtv.0 (18185) audio/getVolume: {"muted":false,"scenario":"mastervolume_tv_speaker","active":false,"action":"requested","volume":14,"returnValue":true,"subscribed":true,"changed":["muted","volume"]} 2023-02-28 09:43:22.904 - debug: lgtv.0 (18185) 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}]} 2023-02-28 09:43:22.929 - debug: lgtv.0 (18185) audio/getSoundOutput: {"soundOutput":"tv_external_speaker","subscribed":true} 2023-02-28 09:43:22.931 - debug: lgtv.0 (18185) getSystemInfo: {"returnValue":true,"features":{"3d":false,"dvr":true},"receiverType":"dvb","modelName":"55UH605V-ZC"} 2023-02-28 09:43:22.934 - debug: lgtv.0 (18185) renew connection in one minute for stable subscriptions... 2023-02-28 09:43:22.954 - debug: lgtv.0 (18185) tv/getCurrentChannel: {"returnValue":false,"errorCode":"BROADCAST_ERROR_0001","errorText":"Invalid broadcastID error"} 2023-02-28 09:43:22.959 - debug: lgtv.0 (18185) getCurrentSWInformation: {"returnValue":true,"product_name":"webOSTV 3.0","model_name":"HE_DTV_W16P_AFADABAA","sw_type":"FIRMWARE","major_ver":"05","minor_ver":"70.30","country":"DE","country_group":"EU","device_id":"14:c9:13:52:3d:ef","auth_flag":"N","ignore_disable":"N","eco_info":"01","config_key":"00","language_code":"de-DE"} 2023-02-28 09:43:25.103 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:43:28.090 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:43:31.084 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:43:34.086 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:43:37.087 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:43:40.089 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:43:43.088 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:43:46.089 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:43:49.092 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:43:52.090 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:43:55.091 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:43:58.092 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:01.094 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:04.091 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:07.093 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:10.100 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:13.093 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:16.094 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:19.102 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:22.095 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:22.949 - debug: lgtv.0 (18185) Connection closed: 1000 2023-02-28 09:44:23.437 - debug: lgtv.0 (18185) Connecting to WebOS TV: ws://192.168.87.51:3000 2023-02-28 09:44:23.523 - debug: lgtv.0 (18185) WebOS TV Connected 2023-02-28 09:44:23.613 - debug: lgtv.0 (18185) DEBUGGING getForegroundAppInfo: {"appId":"com.webos.app.hdmi1","subscribed":true,"returnValue":true,"windowId":"","processId":""} 2023-02-28 09:44:23.614 - debug: lgtv.0 (18185) cur app is com.webos.app.hdmi1 2023-02-28 09:44:23.617 - debug: lgtv.0 (18185) audio/getVolume: {"muted":false,"scenario":"mastervolume_tv_speaker","active":false,"action":"requested","volume":14,"returnValue":true,"subscribed":true,"changed":["muted","volume"]} 2023-02-28 09:44:23.623 - debug: lgtv.0 (18185) 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}]} 2023-02-28 09:44:23.638 - debug: lgtv.0 (18185) getSystemInfo: {"returnValue":true,"features":{"3d":false,"dvr":true},"receiverType":"dvb","modelName":"55UH605V-ZC"} 2023-02-28 09:44:23.640 - debug: lgtv.0 (18185) tv/getCurrentChannel: {"returnValue":false,"errorCode":"BROADCAST_ERROR_0001","errorText":"Invalid broadcastID error"} 2023-02-28 09:44:23.642 - debug: lgtv.0 (18185) audio/getSoundOutput: {"soundOutput":"tv_external_speaker","subscribed":true} 2023-02-28 09:44:23.646 - debug: lgtv.0 (18185) renew connection in one minute for stable subscriptions... 2023-02-28 09:44:23.662 - debug: lgtv.0 (18185) getCurrentSWInformation: {"returnValue":true,"product_name":"webOSTV 3.0","model_name":"HE_DTV_W16P_AFADABAA","sw_type":"FIRMWARE","major_ver":"05","minor_ver":"70.30","country":"DE","country_group":"EU","device_id":"14:c9:13:52:3d:ef","auth_flag":"N","ignore_disable":"N","eco_info":"01","config_key":"00","language_code":"de-DE"} 2023-02-28 09:44:25.096 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:25.942 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:28.096 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:28.944 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:31.098 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:31.944 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:34.096 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:34.949 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:37.101 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:37.948 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:40.104 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:40.952 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:43.098 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:43.946 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:46.101 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:46.947 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:49.101 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:49.953 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:52.101 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:52.947 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:55.101 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:55.948 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:58.101 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:44:58.948 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:01.103 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:01.949 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:04.100 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:04.949 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:07.103 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:07.949 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:10.107 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:10.950 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:13.102 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:13.950 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:16.103 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:16.951 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:19.103 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:19.951 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:22.104 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:22.952 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:23.656 - debug: lgtv.0 (18185) Connection closed: 1000 2023-02-28 09:45:24.148 - debug: lgtv.0 (18185) Connecting to WebOS TV: ws://192.168.87.51:3000 2023-02-28 09:45:24.234 - debug: lgtv.0 (18185) WebOS TV Connected 2023-02-28 09:45:24.257 - debug: lgtv.0 (18185) audio/getVolume: {"muted":false,"scenario":"mastervolume_tv_speaker","active":false,"action":"requested","volume":14,"returnValue":true,"subscribed":true,"changed":["muted","volume"]} 2023-02-28 09:45:24.307 - debug: lgtv.0 (18185) DEBUGGING getForegroundAppInfo: {"appId":"com.webos.app.hdmi1","subscribed":true,"returnValue":true,"windowId":"","processId":""} 2023-02-28 09:45:24.308 - debug: lgtv.0 (18185) cur app is com.webos.app.hdmi1 2023-02-28 09:45:24.333 - debug: lgtv.0 (18185) 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}]} 2023-02-28 09:45:24.340 - debug: lgtv.0 (18185) getSystemInfo: {"returnValue":true,"features":{"3d":false,"dvr":true},"receiverType":"dvb","modelName":"55UH605V-ZC"} 2023-02-28 09:45:24.342 - debug: lgtv.0 (18185) tv/getCurrentChannel: {"returnValue":false,"errorCode":"BROADCAST_ERROR_0001","errorText":"Invalid broadcastID error"} 2023-02-28 09:45:24.344 - debug: lgtv.0 (18185) audio/getSoundOutput: {"soundOutput":"tv_external_speaker","subscribed":true} 2023-02-28 09:45:24.386 - debug: lgtv.0 (18185) renew connection in one minute for stable subscriptions... 2023-02-28 09:45:24.394 - debug: lgtv.0 (18185) getCurrentSWInformation: {"returnValue":true,"product_name":"webOSTV 3.0","model_name":"HE_DTV_W16P_AFADABAA","sw_type":"FIRMWARE","major_ver":"05","minor_ver":"70.30","country":"DE","country_group":"EU","device_id":"14:c9:13:52:3d:ef","auth_flag":"N","ignore_disable":"N","eco_info":"01","config_key":"00","language_code":"de-DE"} 2023-02-28 09:45:25.103 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:25.952 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:26.653 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:28.103 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:28.953 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:29.652 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:31.105 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:31.953 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:32.652 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:34.103 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:34.957 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:35.653 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:37.105 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:37.953 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:38.654 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:40.105 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:40.955 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:41.655 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:43.104 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:43.953 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:44.657 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:46.104 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:46.953 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:47.655 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:49.108 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:49.953 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:50.654 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:52.110 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:52.954 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:53.654 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:55.105 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:55.953 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:56.654 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:58.104 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:58.954 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:45:59.654 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:01.105 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:01.961 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:02.661 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:04.104 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:04.957 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:05.655 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:07.104 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:07.955 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:08.655 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:10.105 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:10.956 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:11.666 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:13.104 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:13.954 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:14.656 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:16.104 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:16.956 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:17.659 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:19.106 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:19.957 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:20.657 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:22.109 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:22.957 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:23.656 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:24.398 - debug: lgtv.0 (18185) Connection closed: 1000 2023-02-28 09:46:24.889 - debug: lgtv.0 (18185) Connecting to WebOS TV: ws://192.168.87.51:3000 2023-02-28 09:46:24.980 - debug: lgtv.0 (18185) WebOS TV Connected 2023-02-28 09:46:25.000 - debug: lgtv.0 (18185) audio/getVolume: {"muted":false,"scenario":"mastervolume_tv_speaker","active":false,"action":"requested","volume":14,"returnValue":true,"subscribed":true,"changed":["muted","volume"]} 2023-02-28 09:46:25.073 - debug: lgtv.0 (18185) DEBUGGING getForegroundAppInfo: {"appId":"com.webos.app.hdmi1","subscribed":true,"returnValue":true,"windowId":"","processId":""} 2023-02-28 09:46:25.074 - debug: lgtv.0 (18185) cur app is com.webos.app.hdmi1 2023-02-28 09:46:25.080 - debug: lgtv.0 (18185) 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}]} 2023-02-28 09:46:25.085 - debug: lgtv.0 (18185) audio/getSoundOutput: {"soundOutput":"tv_external_speaker","subscribed":true} 2023-02-28 09:46:25.087 - debug: lgtv.0 (18185) getSystemInfo: {"returnValue":true,"features":{"3d":false,"dvr":true},"receiverType":"dvb","modelName":"55UH605V-ZC"} 2023-02-28 09:46:25.089 - debug: lgtv.0 (18185) tv/getCurrentChannel: {"returnValue":false,"errorCode":"BROADCAST_ERROR_0001","errorText":"Invalid broadcastID error"} 2023-02-28 09:46:25.104 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:25.116 - debug: lgtv.0 (18185) getCurrentSWInformation: {"returnValue":true,"product_name":"webOSTV 3.0","model_name":"HE_DTV_W16P_AFADABAA","sw_type":"FIRMWARE","major_ver":"05","minor_ver":"70.30","country":"DE","country_group":"EU","device_id":"14:c9:13:52:3d:ef","auth_flag":"N","ignore_disable":"N","eco_info":"01","config_key":"00","language_code":"de-DE"} 2023-02-28 09:46:25.122 - debug: lgtv.0 (18185) renew connection in one minute for stable subscriptions... 2023-02-28 09:46:25.959 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:26.662 - debug: lgtv.0 (18185) check TV connection: ok 2023-02-28 09:46:27.394 - debug: lgtv.0 (18185) check TV connection: ok
Beste Grüße
-
@marwal das ist dann wahrscheinlich der grund, warum der befehl erst nach 10 sec bestätigt wird.
Wie niedrig hasr du eigentlich dein intervall stehen?