NEWS
LG WebOS Smart TV - Abfrageintervall
-
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? -
@dirkhe da hast du wahrscheinlich recht! fällt dir noch eine andere Lösung ein?
Ich habe Timeouts 5000 / Abfrage 3000 / Reconnect 5000.Beste Grüße
-
@marwal momentan nicht, ich habe eben mal bei fhem gespickt, aber ganz schlau werde icn da nicht raus
-