NEWS
LGTV Adapter gelb und wird rot beim Einschalten des TV
-
@dirkhe
Ich habe folgende Informationen gefunden:
Software Version 03.01.15
WebOS 5.0.0 - 14735 (jhericurl - jamestowne)
Es werden keine neueren Version über update angeboten.
Adapter Version 1.1.6
Ich denke auch, daß kurzfristig eine Verbindung entsteht, da der Adapter kurz grün wird nach Neustart. -
Ich hatte gestern nicht genau geschaut, die neuere Version ist noch nicht offiziell, ich hatte mich halt nur gewundert, weil die Zeilennummer nicht passt.
Gehe bei dir in der Datei iobroker/node_modules/iobroker.lgtv/lgtv.js ungefähr an Zeile 400 und suche mal folgendes:if (~res.changed.indexOf('volume')){ volume = parseInt(res.volume); adapter.setState('states.volume', volume, true); } if (~res.changed.indexOf('muted')){ adapter.setState('states.mute', res.muted, true); }
mache daraus mal folgendes:
if (res && res.changed){ if (~res.changed.indexOf('volume')){ volume = parseInt(res.volume); adapter.setState('states.volume', volume, true); } if (~res.changed.indexOf('muted')){ adapter.setState('states.mute', res.muted, true); } }
Wenn das hilft, können wir das in den Adapter übernehmen, allerdings vermute ich mal dass es da noch mehr solcher Änderungen gibt, dass muss dann ggf. alles angepasst werden
-
@dirkhe
Erfolg! Es hat geholfen.
Danke und Grüße -
Beobachte den Adapter, bzw. log jetzt bitte mal eine Zeit lang und spiele mal mit deinem TV. Wenn dann noch mehr Fehler auftauchen, versuchen wir die zu beheben und dann mache ich ein pull request
-
@dirkhe
Auf einmal (ich weiß nicht wieso oder wann) hat der Adapter nicht mehr funktioniert. Einträge im Log enthielten Informationen, daß PIDs nicht übereinstimmen. Details habe ich vergessen. Habe dann die Instanz gelöscht und wieder installiert. Jetzt verbindet sich der Adapter nicht mehr mit dem LG. Hier der Logauszug:lgtv.0 2020-06-18 21:24:34.051 debug (15641) Connecting to WebOS TV: ws://192.168.178.82:3000 lgtv.0 2020-06-18 21:24:27.738 debug (15641) TV is off lgtv.0 2020-06-18 21:24:25.892 debug (15641) Connecting to WebOS TV: ws://192.168.178.82:3000 lgtv.0 2020-06-18 21:24:19.630 debug (15641) TV is off lgtv.0 2020-06-18 21:24:17.734 debug (15641) Connecting to WebOS TV: ws://192.168.178.82:3000 lgtv.0 2020-06-18 21:24:12.732 debug (15641) Error on connecting or sending command to WebOS TV: Error: connect EHOSTUNREACH 192.168.178.82:3000 lgtv.0 2020-06-18 21:24:09.625 debug (15641) Connecting to WebOS TV: ws://192.168.178.82:3000 lgtv.0 2020-06-18 21:24:09.568 debug (15641) adapter.config = {"ip":"192.168.178.82","mac":"","timeout":"5000","reconnect":"5000","power":false,"healthIntervall":""} lgtv.0 2020-06-18 21:24:09.565 info (15641) Ready. Configured WebOS TV IP: 192.168.178.82 lgtv.0 2020-06-18 21:24:09.503 info (15641) starting. Version 1.1.6 in /opt/iobroker/node_modules/iobroker.lgtv, node: v12.16.2, js-controller: 3.1.4
Hoffentlich kannst Du etwas damit anfangen.
Grüße -
Steht doch da ganz deutlich:
Error on connecting or sending command to WebOS TV: Error: connect EHOSTUNREACH 192.168.178.82:3000 -
@dirkhe
Habe nicht nachgedacht. Ethernet hat sich gelockert.
Sorry und Danke -
@dirkhe
Jetzt habe ich doch noch ein (echtes) Problem. Wenn ich es richtig verstehe, kann man über die ID power (unter states) den LG aus- und einschalten. Ausschalten geht aber im Moment nicht (ich meine es wäre schon mal gegangen). Hier der debug Auszug:2020-06-21 00:07:17.011 - debug: lgtv.0 (13852) State change "states.power" - VALUE: true 2020-06-21 00:07:17.016 - debug: lgtv.0 (13852) GetState mac: {"val":"64:95:6c:cd:90:8a","ack":true,"ts":1592690576976,"q":0,"from":"system.adapter.lgtv.0","user":"system.user.admin","lc":1592047258900} 2020-06-21 00:07:17.042 - debug: lgtv.0 (13852) Send WOL to MAC: {64:95:6c:cd:90:8a} OK 2020-06-21 00:07:21.285 - debug: lgtv.0 (13852) check TV connection: ok 2020-06-21 00:07:26.285 - debug: lgtv.0 (13852) check TV connection: ok 2020-06-21 00:07:27.959 - info: javascript.0 (7566) script.js.TV.TV: LG manual schalter: false 2020-06-21 00:07:27.960 - debug: lgtv.0 (13852) State change "states.power" - VALUE: false 2020-06-21 00:07:27.961 - debug: lgtv.0 (13852) Sending turn OFF command to WebOS TV: 192.168.178.82 2020-06-21 00:07:31.286 - debug: lgtv.0 (13852) check TV connection: ok 2020-06-21 00:07:36.287 - debug: lgtv.0 (13852) check TV connection: ok 2020-06-21 00:07:40.866 - debug: lgtv.0 (13852) system.adapter.admin.0: logging true 2020-06-21 00:07:41.287 - debug: lgtv.0 (13852) check TV connection: ok
Es scheint nichts zu passieren.
Beim Einschalten kommt es häufig vor, daß in Kanal 1 geschaltet wird und nicht in den letzten benutzten. Hab die richtige Debug Sequenz noch nicht erwischt,
Grüße -
@dirkhe
Version 1.1.8 produces the same error (no connection yellow but not green) see above (https://forum.iobroker.net/post/451809). See also issue on github. How can I correct it?
Thanks and regards -
@hukio auf github hat Sebastian dir ja bereits geantwortet, du scheinst ein Netzwerk Problem zu haben
-
@dirkhe
The connector on the TV was loose. What a coincidence!
Sorry for the bother. Thanks and regards. -
Ich schalte den LG immer in standby (lowest power mode) ohne Netzverbindung um Energie zu sparen. Nach dem Wiederanschalten erkennt der Adapter nicht, daß es wieder eine Netzverbindung zum LG gibt. Ich habe nichts gefunden, wie ich dies anregen könnte über ioBroker. Ich behelfe mir mit einem Neustart des Adapters. Es wäre schön, wenn es ein Kommando im Adapter gäbe, das einen Scan auslöst.
-
@hukio wenn er die Connection verliert, versucht er die ganze zeit in bestimmten Abständen, die du konfigurieren kannst, den tv zu erreichen. Du kannst natürlich nicht erwarten, dass der Adapter dann sofort da ist, wenn du den tv einschaltet, da musst du warten, bis zum nächsten Intervall. Über so einen Trigger von aussen könnte man sogar nachdenken. Hadt dh mal versucht, eine Aktion über den adapter auszulösen?
-
@dirkhe Soweit ich das sehe, sprichst Du von einem der Intervalle, die man in den Einstellungen einstellen kann, typischerweise einige Sekunden. Ich habe bei allen drei 5000 msec eingestellt. Es dauert in der Größenordnung Minuten bevor der LG wiedererkannt wird. Dies auch nicht zuverlässig. Was ich gerne erreichen möchte: wenn die Netzverbindung da ist (ping), soll der Lgtv Adapter die Verbindung herstellen. Im Moment erreiche ich dies verläßlich indem ich den Adapter neu starte. Geht das irgendwie anders?
-
Der sollte eigentlich in regelmäßigen Abständen versuchen, die Connection aufzubauen. Kannst den Adapter mal auf debug stellen und den tv ausschalten, mal 10 Minuten mutloggen und dann den tv wieder einschalten und noch mal min 2 Minuten mitloggen
-
@dirkhe Hier ist das log. Um 10:44 habe ich den TV ausgeschaltet, um 10:55 eingeschaltet, um 10:58 wieder ausgeschaltet.
2020-07-12 10:44:14.864 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:44:18.866 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:44:22.867 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:44:26.868 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:44:30.869 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:44:33.192 - debug: lgtv.0 (30199) Connection closed: 1001 2020-07-12 10:44:38.194 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:44:39.007 - info: javascript.0 (1381) script.js.TV.TV: LG manual schalter: false Vio: false 2020-07-12 10:44:39.007 - info: javascript.0 (1381) script.js.TV.TV: LG manual schalter 2: false 2020-07-12 10:44:42.103 - error: zigbee.0 (9698) Error on send command to 0x588e81fffe144976. Error: Error: Command 0x588e81fffe144976/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null}) failed (Error: Data request failed with error: 'MAC no ack' (233)) at Endpoint. (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:365:23) at Generator.throw () at rejected (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:6:65) 2020-07-12 10:44:43.194 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:44:48.195 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:45:12.276 - debug: lgtv.0 (30199) Error on connecting or sending command to WebOS TV: Error: connect EHOSTUNREACH 192.168.178.82:3000 2020-07-12 10:45:17.277 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:45:25.278 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:45:27.279 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:45:33.275 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:45:35.280 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:45:41.275 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:45:43.277 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:45:49.356 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:45:51.277 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:45:57.355 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:45:59.358 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:46:05.355 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:46:07.357 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:46:13.355 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:46:15.356 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:46:21.435 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:46:23.357 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:46:29.436 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:46:31.437 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:46:37.435 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:46:39.437 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:46:45.435 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:46:47.437 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:46:47.758 - info: javascript.0 (1381) script.js.Sensoren.Klima_Sonne_Wohnzimmer: Vrpos: 100 Vmpos: 52 Vmarkise: 52 Vrollo: 11 Vaction: false Vsensors: 73490.23529411765 2020-07-12 10:46:50.842 - error: zigbee.0 (9698) Error on send command to 0x588e81fffe144976. Error: Error: Command 0x588e81fffe144976/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null}) failed (Error: Data request failed with error: 'MAC no ack' (233)) at Endpoint. (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:365:23) at Generator.throw () at rejected (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:6:65) 2020-07-12 10:46:53.515 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:46:55.436 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:47:01.515 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:47:03.517 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:47:09.515 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:47:11.516 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:47:17.594 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:47:17.762 - info: javascript.0 (1381) script.js.Sensoren.Klima_Sonne_Wohnzimmer: VSTime vor1: Zeitstempel: 1594543633069 2020-07-12 10:47:17.763 - info: javascript.0 (1381) script.js.Sensoren.Klima_Sonne_Wohnzimmer: VSTime nach1: 1594543633069 Zeitstempel: 1594543633069 2020-07-12 10:47:19.517 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:47:25.595 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:47:27.596 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:47:33.596 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:47:35.597 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:47:41.596 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:47:43.597 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:47:49.676 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:47:51.598 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:47:57.675 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:47:59.677 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:48:05.675 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:48:07.677 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:48:13.755 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:48:15.677 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:48:21.755 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:48:23.757 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:48:29.755 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:48:31.757 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:48:37.755 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:48:39.757 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:48:45.836 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:48:47.757 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:48:53.845 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:48:55.838 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:49:01.836 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:49:03.848 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:49:09.836 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:49:11.838 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:49:17.916 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:49:19.839 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:49:25.916 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:49:27.918 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:49:33.916 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:49:35.918 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:49:41.926 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:49:43.918 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:49:49.996 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:49:51.928 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:49:57.996 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:49:59.998 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:50:05.996 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:50:07.999 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:50:14.076 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:50:15.999 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:50:22.076 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:50:24.078 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:50:30.075 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:50:32.077 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:50:38.076 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:50:40.077 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:50:46.165 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:50:48.078 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:50:54.156 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:50:56.168 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:51:02.236 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:51:04.158 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:51:07.834 - info: javascript.0 (1381) Stop script script.js.TV.TV_connect 2020-07-12 10:51:10.236 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:51:12.238 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:51:15.934 - info: javascript.0 (1381) Stop script script.js.TV.TV 2020-07-12 10:51:18.236 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:51:20.239 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:51:26.235 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:51:28.238 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:51:34.316 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:51:36.237 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:51:42.316 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:51:44.319 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:51:50.316 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:51:52.318 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:51:58.396 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:52:00.318 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:52:06.396 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:52:08.398 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:52:14.396 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:52:16.398 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:52:22.396 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:52:24.398 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:52:30.475 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:52:32.398 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:52:38.475 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:52:40.477 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:52:46.475 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:52:48.477 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:52:54.475 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:52:56.477 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:53:02.555 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:53:04.477 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:53:10.555 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:53:12.556 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:53:18.557 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:53:20.557 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:53:26.635 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:53:28.566 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:53:34.635 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:53:36.637 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:53:42.635 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:53:44.636 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:53:50.635 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:53:52.637 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:53:58.714 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:54:00.636 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:54:06.715 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:54:08.714 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:54:14.715 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:54:16.717 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:54:22.715 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:54:24.715 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:54:30.795 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:54:32.716 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:54:38.795 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:54:40.797 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:54:46.795 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:54:48.796 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:54:54.795 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:54:56.797 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:55:02.876 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:55:04.797 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:55:10.875 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:55:12.878 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:55:20.877 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:55:26.313 - debug: lgtv.0 (30199) WebOS TV Connected 2020-07-12 10:55:26.882 - debug: lgtv.0 (30199) DEBUGGING getForegroundAppInfo: {"appId":"com.webos.app.livetv","subscribed":true,"returnValue":true,"windowId":"","processId":""} 2020-07-12 10:55:26.883 - debug: lgtv.0 (30199) cur app is com.webos.app.livetv 2020-07-12 10:55:26.907 - debug: lgtv.0 (30199) renew connection in one minute for stable subscriptions... 2020-07-12 10:55:26.958 - debug: lgtv.0 (30199) audio/getVolume: {"volumeStatus":{"activeStatus":true,"adjustVolume":false,"maxVolume":100,"muteStatus":false,"volume":10,"soundOutput":"external_optical"},"returnValue":true,"callerId":"secondscreen.client"} 2020-07-12 10:55:26.965 - debug: lgtv.0 (30199) Service list: {"returnValue":true,"services":[{"name":"api","version":1},{"name":"audio","version":1},{"name":"config","version":1},{"name":"externalpq","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-07-12 10:55:27.296 - debug: lgtv.0 (30199) getCurrentSWInformation: {"returnValue":true,"product_name":"webOSTV 5.0","model_name":"HE_DTV_W20H_AFADABAA","sw_type":"FIRMWARE","major_ver":"03","minor_ver":"01.15","country":"DE","country_group":"EU","device_id":"64:95:6c:cd:90:8a","auth_flag":"N","ignore_disable":"N","eco_info":"01","config_key":"00","language_code":"de-DE"} 2020-07-12 10:55:31.143 - debug: lgtv.0 (30199) tv/getCurrentChannel: {"subscribed":true,"channelId":"7_59_593_0_1002_5001_1","physicalNumber":59,"isScrambled":false,"channelTypeName":"Satellite Digital TV","isLocked":false,"dualChannel":{"dualChannelId":null,"dualChannelTypeName":null,"dualChannelTypeId":255,"dualChannelNumber":null},"isChannelChanged":false,"channelModeName":"Satellite","channelNumber":"593","isFineTuned":false,"channelTypeId":6,"isDescrambled":false,"isReplaceChannel":false,"isSkipped":false,"isHEVCChannel":false,"hybridtvType":null,"isInteractiveRestrictionChannel":false,"isInvisible":false,"favoriteGroup":null,"channelName":"BBC World News Europe HD","channelModeId":2,"signalChannelId":"1002_5001_1"} 2020-07-12 10:55:31.153 - debug: lgtv.0 (30199) audio/getSoundOutput: {"soundOutput":"external_optical","subscribed":true} 2020-07-12 10:55:31.188 - debug: lgtv.0 (30199) getSystemInfo: {"returnValue":true,"features":{"dvr":false},"receiverType":"DVB","modelName":"86UN85006LA","programMode":true} 2020-07-12 10:56:26.958 - debug: lgtv.0 (30199) Connection closed: 1000 2020-07-12 10:56:27.412 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:56:27.516 - debug: lgtv.0 (30199) WebOS TV Connected 2020-07-12 10:56:27.742 - debug: lgtv.0 (30199) DEBUGGING getForegroundAppInfo: {"appId":"com.webos.app.livetv","subscribed":true,"returnValue":true,"windowId":"","processId":""} 2020-07-12 10:56:27.743 - debug: lgtv.0 (30199) cur app is com.webos.app.livetv 2020-07-12 10:56:27.745 - debug: lgtv.0 (30199) audio/getVolume: {"volumeStatus":{"activeStatus":true,"adjustVolume":false,"maxVolume":100,"muteStatus":false,"volume":10,"soundOutput":"external_optical"},"returnValue":true,"callerId":"secondscreen.client"} 2020-07-12 10:56:27.807 - debug: lgtv.0 (30199) Service list: {"returnValue":true,"services":[{"name":"api","version":1},{"name":"audio","version":1},{"name":"config","version":1},{"name":"externalpq","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-07-12 10:56:27.840 - debug: lgtv.0 (30199) audio/getSoundOutput: {"soundOutput":"external_optical","subscribed":true} 2020-07-12 10:56:27.842 - debug: lgtv.0 (30199) getSystemInfo: {"returnValue":true,"features":{"dvr":false},"receiverType":"DVB","modelName":"86UN85006LA","programMode":true} 2020-07-12 10:56:27.867 - debug: lgtv.0 (30199) tv/getCurrentChannel: {"subscribed":true,"channelId":"7_59_593_0_1002_5001_1","physicalNumber":59,"isScrambled":false,"channelTypeName":"Satellite Digital TV","isLocked":false,"dualChannel":{"dualChannelId":null,"dualChannelTypeName":null,"dualChannelTypeId":255,"dualChannelNumber":null},"isChannelChanged":false,"channelModeName":"Satellite","channelNumber":"593","isFineTuned":false,"channelTypeId":6,"isDescrambled":false,"isReplaceChannel":false,"isSkipped":false,"isHEVCChannel":false,"hybridtvType":null,"isInteractiveRestrictionChannel":false,"isInvisible":false,"favoriteGroup":null,"channelName":"BBC World News Europe HD","channelModeId":2,"signalChannelId":"1002_5001_1"} 2020-07-12 10:56:27.971 - debug: lgtv.0 (30199) getCurrentSWInformation: {"returnValue":true,"product_name":"webOSTV 5.0","model_name":"HE_DTV_W20H_AFADABAA","sw_type":"FIRMWARE","major_ver":"03","minor_ver":"01.15","country":"DE","country_group":"EU","device_id":"64:95:6c:cd:90:8a","auth_flag":"N","ignore_disable":"N","eco_info":"01","config_key":"00","language_code":"de-DE"} 2020-07-12 10:56:30.925 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:56:34.920 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:56:38.917 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:56:42.919 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:56:46.919 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:56:50.925 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:56:54.922 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:56:58.920 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:57:02.925 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:57:06.922 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:57:10.921 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:57:14.923 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:57:18.921 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:57:22.920 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:57:26.918 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:57:30.920 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:57:34.920 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:57:38.921 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:57:42.919 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:57:46.919 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:57:50.920 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:57:54.920 - debug: lgtv.0 (30199) check TV connection: ok 2020-07-12 10:57:58.037 - debug: lgtv.0 (30199) Connection closed: 1001 2020-07-12 10:58:03.038 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:58:08.039 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:58:10.638 - error: zigbee.0 (9698) Error on send command to 0x588e81fffe144976. Error: Error: Command 0x588e81fffe144976/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null}) failed (Error: Data request failed with error: 'MAC no ack' (233)) at Endpoint. (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:365:23) at Generator.throw () at rejected (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:6:65) 2020-07-12 10:58:13.039 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:59:16.315 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:59:24.474 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:59:26.317 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:59:32.635 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:59:34.476 - debug: lgtv.0 (30199) TV is off 2020-07-12 10:59:40.795 - debug: lgtv.0 (30199) Connecting to WebOS TV: ws://192.168.178.82:3000 2020-07-12 10:59:42.637 - debug: lgtv.0 (30199) TV is off
Grüße
-
Das läuft doch wie ein uhrwerk. Er bekommt doch alles mit.
adapter.log.debug('WebOS TV Connected'); isConnect = true; adapter.setStateChanged('info.connection', true, true);
Wenn er webOS tv connected ausgibt, wird auch der Status gesetzt