NEWS
lgtv Adapter zur Steuerung von LG WebOS SmartTVs
-
@dirkhe sagte in lgtv Adapter zur Steuerung von LG WebOS SmartTVs:
@SchuetzeSchulz ich denke, den ein oder anderen test brauchen wir noch. Das Problem ist ja, dass die Geräte unterschiedlich reagieren, darum müssen halt mehrere Leute testen. Ich melde mich dann
Ok, ich teste mal.
lgtv.0 2020-02-24 14:05:30.328 debug (19312) TV is off lgtv.0 2020-02-24 14:05:29.827 debug (19312) DEBUGGING getForegroundAppInfo: {"subscribed":true,"appId":"","returnValue":true,"windowId":"","processId":""} lgtv.0 2020-02-24 14:04:47.486 debug (19312) system.adapter.admin.0: logging true lgtv.0 2020-02-24 14:04:40.093 debug (19312) check TV connection: ok lgtv.0 2020-02-24 14:03:40.094 debug (19312) check TV connection: ok lgtv.0 2020-02-24 14:02:40.900 debug (19312) getCurrentSWInformation: {"returnValue":true,"product_name":"webOSTV 4.0","model_name":"HE_DTV_W18A_AFADABAA","sw_type":"FIRMWARE","major_ver":"05","minor_ver":"10.40","country":"AT","country lgtv.0 2020-02-24 14:02:40.819 debug (19312) tv/getCurrentChannel: {"subscribed":true,"channelId":"3_68_9_10_11118_20004_1","physicalNumber":68,"isScrambled":true,"channelTypeName":"Cable Digital TV","isLocked":false,"dualChannel":{"dua lgtv.0 2020-02-24 14:02:40.819 debug (19312) getSystemInfo: {"returnValue":true,"features":{"3d":false,"dvr":true},"receiverType":"dvb","modelName":"43UK6300LLB","programMode":"true"} lgtv.0 2020-02-24 14:02:40.818 debug (19312) audio/getSoundOutput: {"soundOutput":"tv_speaker","subscribed":true} lgtv.0 2020-02-24 14:02:40.810 debug (19312) Service list: {"returnValue":true,"services":[{"name":"api","version":1},{"name":"audio","version":1},{"name":"config","version":1},{"name":"externalpq","version":1},{"name":"media.controls", lgtv.0 2020-02-24 14:02:40.758 debug (19312) audio/getVolume: {"returnValue":true,"volumeMax":100,"ringtonewithvibration":true,"scenario":"mastervolume_tv_speaker","muted":false,"hac":false,"subscribed":true,"volume":10,"action":"reques lgtv.0 2020-02-24 14:02:40.746 debug (19312) cur app is com.webos.app.livetv lgtv.0 2020-02-24 14:02:40.746 debug (19312) DEBUGGING getForegroundAppInfo: {"appId":"com.webos.app.livetv","subscribed":true,"returnValue":true,"windowId":"","processId":""} lgtv.0 2020-02-24 14:02:40.640 debug (19312) WebOS TV Connected lgtv.0 2020-02-24 14:02:40.548 debug (19312) Connecting to WebOS TV: ws://192.168.178.41:3000 lgtv.0 2020-02-24 14:02:40.068 debug (19312) Connection closed: 1000 lgtv.0 2020-02-24 14:02:14.192 debug (19312) system.adapter.admin.0: logging false lgtv.0 2020-02-24 14:01:40.182 debug (19312) getCurrentSWInformation: {"returnValue":true,"product_name":"webOSTV 4.0","model_name":"HE_DTV_W18A_AFADABAA","sw_type":"FIRMWARE","major_ver":"05","minor_ver":"10.40","country":"AT","country lgtv.0 2020-02-24 14:01:40.083 debug (19312) tv/getCurrentChannel: {"subscribed":true,"channelId":"3_68_9_10_11118_20004_1","physicalNumber":68,"isScrambled":true,"channelTypeName":"Cable Digital TV","isLocked":false,"dualChannel":{"dua lgtv.0 2020-02-24 14:01:40.081 debug (19312) getSystemInfo: {"returnValue":true,"features":{"3d":false,"dvr":true},"receiverType":"dvb","modelName":"43UK6300LLB","programMode":"true"} lgtv.0 2020-02-24 14:01:40.081 debug (19312) audio/getSoundOutput: {"soundOutput":"tv_speaker","subscribed":true} lgtv.0 2020-02-24 14:01:40.052 debug (19312) Service list: {"returnValue":true,"services":[{"name":"api","version":1},{"name":"audio","version":1},{"name":"config","version":1},{"name":"externalpq","version":1},{"name":"media.controls", lgtv.0 2020-02-24 14:01:40.051 debug (19312) renew connection in one minute for stable subscriptions... lgtv.0 2020-02-24 14:01:40.036 debug (19312) cur app is com.webos.app.livetv lgtv.0 2020-02-24 14:01:40.036 debug (19312) DEBUGGING getForegroundAppInfo: {"appId":"com.webos.app.livetv","subscribed":true,"returnValue":true,"windowId":"","processId":""} lgtv.0 2020-02-24 14:01:39.933 debug (19312) audio/getVolume: {"returnValue":true,"volumeMax":100,"ringtonewithvibration":true,"scenario":"mastervolume_tv_speaker","muted":false,"hac":false,"subscribed":true,"volume":10,"action":"reques lgtv.0 2020-02-24 14:01:39.873 debug (19312) WebOS TV Connected lgtv.0 2020-02-24 14:01:39.769 debug (19312) Connecting to WebOS TV: ws://192.168.178.41:3000 lgtv.0 2020-02-24 14:01:23.757 debug (19312) TV is off lgtv.0 2020-02-24 14:01:13.755 debug (19312) Connecting to WebOS TV: ws://192.168.178.41:3000 lgtv.0 2020-02-24 14:01:08.751 debug (19312) Error on connecting or sending command to WebOS TV: Error: connect ETIMEDOUT 192.168.178.41:3000 lgtv.0 2020-02-24 14:00:57.732 debug (19312) TV is off lgtv.0 2020-02-24 14:00:56.509 debug (19312) system.adapter.admin.0: logging true lgtv.0 2020-02-24 14:00:47.726 debug (19312) Connecting to WebOS TV: ws://192.168.178.41:3000 lgtv.0 2020-02-24 14:00:47.716 debug (19312) adapter.config = {"ip":"192.168.178.41","timeout":"15000","interval":"5000","mac":"20:17:42:96:4B:BA","power":true} lgtv.0 2020-02-24 14:00:47.716 info (19312) Ready. Configured WebOS TV IP: 192.168.178.41 lgtv.0 2020-02-24 14:00:47.697 info (19312) starting. Version 1.1.5 in C:/Program Files/iobroker/Test/node_modules/iobroker.lgtv, node: v10.16.3 lgtv.0 2020-02-24 14:00:47.502 debug (19312) statesDB connected lgtv.0 2020-02-24 14:00:47.502 debug (19312) States connected to redis: 127.0.0.1:9000 lgtv.0 2020-02-24 14:00:47.494 debug (19312) States create System PubSub Client lgtv.0 2020-02-24 14:00:47.493 debug (19312) States create User PubSub Client lgtv.0 2020-02-24 14:00:47.490 debug (19312) Redis States: Use Redis connection: 127.0.0.1:9000 lgtv.0 2020-02-24 14:00:47.489 debug (19312) objectDB connected lgtv.0 2020-02-24 14:00:47.487 debug (19312) Objects connected to redis: 127.0.0.1:9013 lgtv.0 2020-02-24 14:00:47.477 debug (19312) Objects client initialize lua scripts lgtv.0 2020-02-24 14:00:47.477 debug (19312) Objects create User PubSub Client lgtv.0 2020-02-24 14:00:47.476 debug (19312) Objects create System PubSub Client lgtv.0 2020-02-24 14:00:47.475 debug (19312) Objects client ready ... initialize now lgtv.0 2020-02-24 14:00:47.461 debug (19312) Redis Objects: Use Redis connection: 127.0.0.1:9013 lgtv.0 2020-02-24 14:00:44.302 info (3884) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason lgtv.0 2020-02-24 14:00:44.301 info (3884) terminating lgtv.0 2020-02-24 14:00:44.300 info (3884) Got terminate signal TERMINATE_YOURSELF lgtv.0 2020-02-24 13:57:46.211 info (3884) Ready. Configured WebOS TV IP: 192.168.178.41 lgtv.0 2020-02-24 13:57:45.909 info (3884) starting. Version 1.1.5 in C:/Program Files/iobroker/Test/node_modules/iobroker.lgtv, node: v10.16.3 lgtv.0 2020-02-24 13:57:41.929 info (19240) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason lgtv.0 2020-02-24 13:57:41.928 info (19240) terminating lgtv.0 2020-02-24 13:57:41.927 info (19240) Got terminate signal TERMINATE_YOURSELF lgtv.0 2020-02-24 13:57:02.007 info (19240) Ready. Configured WebOS TV IP: 192.168.178.41 lgtv.0 2020-02-24 13:57:01.942 info (19240) starting. Version 1.1.5 in C:/Program Files/iobroker/Test/node_modules/iobroker.lgtv, node: v10.16.3 lgtv.0 2020-02-24 13:56:54.640 info (10656) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason lgtv.0 2020-02-24 13:56:54.639 info (10656) terminating lgtv.0 2020-02-24 13:56:54.632 info (10656) Got terminate signal TERMINATE_YOURSELF
Adapter zeigt Grün an wenn er ausgeschaltet wurde.
Was soll ich testen, habe nicht alles durchgelesen. -
Im Prinzip nur, ob er alles tut, so wie erwartet. Ich habe gerade nochmal eine neue Version hochgeladen (1.1.5-RC5), in der ich einen kleinen Fehler behoben habe. Wenn du deinen TV jetzt zb. wieder anmachst, fängt er nach 2 Minuten wieder an zu pollen (check TV connection: ok). Das sollte nach bei dir eigentlich nicht mehr gemacht werden, weil bei dir in Zeile 3 und 2 der TV sich sauber abgemeldet hat und der TV im Adapter auch aus ist. Allerdings kann er in deiner Version noch vorkommen, dass er dass nicht immer macht (asynchrone Laufzeiten). Das habe ich jetzt nochmal gefixt.
Also wenn Adapter gestartet, kommt nach 1 Minute das reconnecting, dann nach 1 Minute minütlich check TV connection: ok. Wenn der TV aus gemacht wurde und wieder an, kommt nach 1 Minute wieder das reconnecting und dann kein Polling mehr.
Bei @StefanMc sollte das Polling immer kommen. -
lgtv.0 2020-02-24 16:36:30.756 debug (14500) getCurrentSWInformation: {"returnValue":true,"product_name":"webOSTV 4.0","model_name":"HE_DTV_W18A_AFADABAA","sw_type":"FIRMWARE","major_ver":"05","minor_ver":"10.40","country":"AT","country_ lgtv.0 2020-02-24 16:36:30.693 debug (14500) tv/getCurrentChannel: {"subscribed":true,"channelId":"3_67_1_1_1118_13001_333","physicalNumber":67,"isScrambled":false,"channelTypeName":"Cable Digital TV","isLocked":false,"dualChannel":{"dua lgtv.0 2020-02-24 16:36:30.691 debug (14500) getSystemInfo: {"returnValue":true,"features":{"3d":false,"dvr":true},"receiverType":"dvb","modelName":"43UK6300LLB","programMode":"true"} lgtv.0 2020-02-24 16:36:30.690 debug (14500) audio/getSoundOutput: {"soundOutput":"tv_speaker","subscribed":true} lgtv.0 2020-02-24 16:36:30.682 debug (14500) Service list: {"returnValue":true,"services":[{"name":"api","version":1},{"name":"audio","version":1},{"name":"config","version":1},{"name":"externalpq","version":1},{"name":"media.controls"," lgtv.0 2020-02-24 16:36:30.629 debug (14500) audio/getVolume: {"returnValue":true,"volumeMax":100,"ringtonewithvibration":true,"scenario":"mastervolume_tv_speaker","muted":false,"hac":false,"subscribed":true,"volume":12,"action":"request lgtv.0 2020-02-24 16:36:30.607 debug (14500) cur app is com.webos.app.livetv lgtv.0 2020-02-24 16:36:30.607 debug (14500) DEBUGGING getForegroundAppInfo: {"appId":"com.webos.app.livetv","subscribed":true,"returnValue":true,"windowId":"","processId":""} lgtv.0 2020-02-24 16:36:30.486 debug (14500) WebOS TV Connected lgtv.0 2020-02-24 16:36:30.370 debug (14500) Connecting to WebOS TV: ws://192.168.178.41:3000 lgtv.0 2020-02-24 16:36:29.899 debug (14500) Connection closed: 1000 lgtv.0 2020-02-24 16:35:33.288 debug (14500) tv/getCurrentChannel: {"channelId":"3_67_1_1_1118_13001_333","dualChannel":{"dualChannelId":null,"dualChannelTypeName":null,"dualChannelTypeId":null,"dualChannelNumber":null},"isScrambled":fal lgtv.0 2020-02-24 16:35:31.185 debug (14500) tv/getCurrentChannel: {"channelId":"3_67_1_1_1118_13001_333","dualChannel":{"dualChannelId":null,"dualChannelTypeName":null,"dualChannelTypeId":null,"dualChannelNumber":null},"isScrambled":fal lgtv.0 2020-02-24 16:35:29.867 debug (14500) renew connection in one minute for stable subscriptions... lgtv.0 2020-02-24 16:35:29.863 debug (14500) cur app is com.webos.app.livetv lgtv.0 2020-02-24 16:35:29.862 debug (14500) DEBUGGING getForegroundAppInfo: {"subscribed":true,"appId":"com.webos.app.livetv","returnValue":true,"windowId":"","processId":""} lgtv.0 2020-02-24 16:35:29.810 debug (14500) audio/getSoundOutput: {"soundOutput":"tv_speaker","subscribed":true} lgtv.0 2020-02-24 16:35:15.014 debug (14500) TV is off lgtv.0 2020-02-24 16:35:14.512 debug (14500) DEBUGGING getForegroundAppInfo: {"subscribed":true,"appId":"","returnValue":true,"windowId":"","processId":""} lgtv.0 2020-02-24 16:34:53.310 debug (14500) check TV connection: ok lgtv.0 2020-02-24 16:33:53.297 debug (14500) check TV connection: ok lgtv.0 2020-02-24 16:32:54.122 debug (14500) getCurrentSWInformation: {"returnValue":true,"product_name":"webOSTV 4.0","model_name":"HE_DTV_W18A_AFADABAA","sw_type":"FIRMWARE","major_ver":"05","minor_ver":"10.40","country":"AT","country_ lgtv.0 2020-02-24 16:32:54.044 debug (14500) tv/getCurrentChannel: {"subscribed":true,"channelId":"3_67_1_1_1118_13001_333","physicalNumber":67,"isScrambled":false,"channelTypeName":"Cable Digital TV","isLocked":false,"dualChannel":{"dua lgtv.0 2020-02-24 16:32:54.036 debug (14500) audio/getSoundOutput: {"soundOutput":"tv_speaker","subscribed":true} lgtv.0 2020-02-24 16:32:54.035 debug (14500) getSystemInfo: {"returnValue":true,"features":{"3d":false,"dvr":true},"receiverType":"dvb","modelName":"43UK6300LLB","programMode":"true"} lgtv.0 2020-02-24 16:32:54.021 debug (14500) Service list: {"returnValue":true,"services":[{"name":"api","version":1},{"name":"audio","version":1},{"name":"config","version":1},{"name":"externalpq","version":1},{"name":"media.controls"," lgtv.0 2020-02-24 16:32:53.971 debug (14500) audio/getVolume: {"returnValue":true,"volumeMax":100,"ringtonewithvibration":true,"scenario":"mastervolume_tv_speaker","muted":false,"hac":false,"subscribed":true,"volume":12,"action":"request lgtv.0 2020-02-24 16:32:53.957 debug (14500) cur app is com.webos.app.livetv lgtv.0 2020-02-24 16:32:53.957 debug (14500) DEBUGGING getForegroundAppInfo: {"appId":"com.webos.app.livetv","subscribed":true,"returnValue":true,"windowId":"","processId":""} lgtv.0 2020-02-24 16:32:53.848 debug (14500) WebOS TV Connected lgtv.0 2020-02-24 16:32:53.746 debug (14500) Connecting to WebOS TV: ws://192.168.178.41:3000 lgtv.0 2020-02-24 16:32:53.279 debug (14500) Connection closed: 1000 lgtv.0 2020-02-24 16:32:04.273 debug (14500) system.adapter.admin.0: logging true lgtv.0 2020-02-24 16:31:53.340 debug (14500) getCurrentSWInformation: {"returnValue":true,"product_name":"webOSTV 4.0","model_name":"HE_DTV_W18A_AFADABAA","sw_type":"FIRMWARE","major_ver":"05","minor_ver":"10.40","country":"AT","country lgtv.0 2020-02-24 16:31:53.235 debug (14500) renew connection in one minute for stable subscriptions... lgtv.0 2020-02-24 16:31:53.212 debug (14500) tv/getCurrentChannel: {"subscribed":true,"channelId":"3_67_1_1_1118_13001_333","physicalNumber":67,"isScrambled":false,"channelTypeName":"Cable Digital TV","isLocked":false,"dualChannel":{"du lgtv.0 2020-02-24 16:31:53.211 debug (14500) getSystemInfo: {"returnValue":true,"features":{"3d":false,"dvr":true},"receiverType":"dvb","modelName":"43UK6300LLB","programMode":"true"} lgtv.0 2020-02-24 16:31:53.211 debug (14500) audio/getSoundOutput: {"soundOutput":"tv_speaker","subscribed":true} lgtv.0 2020-02-24 16:31:53.203 debug (14500) Service list: {"returnValue":true,"services":[{"name":"api","version":1},{"name":"audio","version":1},{"name":"config","version":1},{"name":"externalpq","version":1},{"name":"media.controls", lgtv.0 2020-02-24 16:31:53.194 debug (14500) cur app is com.webos.app.livetv lgtv.0 2020-02-24 16:31:53.194 debug (14500) DEBUGGING getForegroundAppInfo: {"appId":"com.webos.app.livetv","subscribed":true,"returnValue":true,"windowId":"","processId":""} lgtv.0 2020-02-24 16:31:53.129 debug (14500) audio/getVolume: {"returnValue":true,"volumeMax":100,"ringtonewithvibration":true,"scenario":"mastervolume_tv_speaker","muted":false,"hac":false,"subscribed":true,"volume":12,"action":"reques lgtv.0 2020-02-24 16:31:53.098 debug (14500) WebOS TV Connected lgtv.0 2020-02-24 16:31:53.043 debug (14500) Connecting to WebOS TV: ws://192.168.178.41:3000 lgtv.0 2020-02-24 16:31:53.032 debug (14500) adapter.config = {"ip":"192.168.178.41","timeout":"15000","interval":"5000","mac":"20:17:42:96:4B:BA","power":true} lgtv.0 2020-02-24 16:31:53.031 info (14500) Ready. Configured WebOS TV IP: 192.168.178.41 lgtv.0 2020-02-24 16:31:52.990 info (14500) starting. Version 1.1.5 in C:/Program Files/iobroker/Test/node_modules/iobroker.lgtv, node: v10.16.3 lgtv.0 2020-02-24 16:31:52.780 debug (14500) statesDB connected lgtv.0 2020-02-24 16:31:52.779 debug (14500) States connected to redis: 127.0.0.1:9000 lgtv.0 2020-02-24 16:31:52.769 debug (14500) States create System PubSub Client lgtv.0 2020-02-24 16:31:52.768 debug (14500) States create User PubSub Client lgtv.0 2020-02-24 16:31:52.763 debug (14500) Redis States: Use Redis connection: 127.0.0.1:9000 lgtv.0 2020-02-24 16:31:52.761 debug (14500) objectDB connected lgtv.0 2020-02-24 16:31:52.758 debug (14500) Objects connected to redis: 127.0.0.1:9013 lgtv.0 2020-02-24 16:31:52.740 debug (14500) Objects client initialize lua scripts lgtv.0 2020-02-24 16:31:52.740 debug (14500) Objects create User PubSub Client lgtv.0 2020-02-24 16:31:52.739 debug (14500) Objects create System PubSub Client lgtv.0 2020-02-24 16:31:52.729 debug (14500) Objects client ready ... initialize now lgtv.0 2020-02-24 16:31:52.687 debug (14500) Redis Objects: Use Redis connection: 127.0.0.1:9013 lgtv.0 2020-02-24 16:31:49.649 info (16148) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason lgtv.0 2020-02-24 16:31:49.648 info (16148) terminating lgtv.0 2020-02-24 16:31:49.647 info (16148) Got terminate signal TERMINATE_YOURSELF lgtv.0 2020-02-24 16:31:44.905 info (16148) Ready. Configured WebOS TV IP: 192.168.178.41 lgtv.0 2020-02-24 16:31:44.875 info (16148) starting. Version 1.1.5 in C:/Program Files/iobroker/Test/node_modules/iobroker.lgtv, node: v10.16.3 lgtv.0 2020-02-24 16:31:41.431 info (1772) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason lgtv.0 2020-02-24 16:31:41.430 info (1772) terminating lgtv.0 2020-02-24 16:31:41.429 info (1772) Got terminate signal TERMINATE_YOURSELF lgtv.0 2020-02-24 16:31:12.419 info (1772) Ready. Configured WebOS TV IP: 192.168.178.41 lgtv.0 2020-02-24 16:31:12.384 info (1772) starting. Version 1.1.5 in C:/Program Files/iobroker/Test/node_modules/iobroker.lgtv, node: v10.16.3 lgtv.0 2020-02-24 16:31:06.757 info (14708) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason lgtv.0 2020-02-24 16:31:06.757 info (14708) terminating lgtv.0 2020-02-24 16:31:06.750 info (14708) Got terminate signal TERMINATE_YOURSELF
-
@sigi234 Wenn bei dir jetzt kein check TV connection: ok mehr kommt, ist alles Top, Danke fürs Testen
-
@StefanMc QuickStart+ hab ich die ganze Zeit.... im LOG steht nix..
wieder Gelb
der Fernseher ist aus.. währe also OK..
der Fernseher ist an ... wieder Grün..ich beobachte das mal
-
@dirkhe sagte in lgtv Adapter zur Steuerung von LG WebOS SmartTVs:
@sigi234 Wenn bei dir jetzt kein check TV connection: ok mehr kommt, ist alles Top, Danke fürs Testen
Kommt nicht. Alles getestet.
Was mir auffällt ist wenn ich auf Mute gehe ist der Ton aus, klicke ich wieder drauf bleibt er noch stumm. Auch eine Veränderung der Lautstärke geht nicht. Erst wenn ich mit der FB auf Mute drücke geht es wieder.Eventuell falsches Widget oder DP?
-
@arteck Hmmm, eigentlich hatte ich das mit gelb gefixt. Der setzt die info.connection jetzt nur noch auf false, wenn die connection echt weg ist. Die function wird eigentlich nur noch aufgerufen, wenn die Connection entweder vom TV geschlossen wird oder wenn er neu versucht zu connecten..
Kannst du nochmal die aktuelle Version installieren, bitte. -
@sigi234 Bei mir geht es, habe es aber direkt in den Objekten gemacht. Was meiner Meinung nach ein bisschen unglüclkich ist, die Volume up/down und manch andere States auch sind ja eigentlich Buttons, sprich sind zwar auch vom type boolean, aber man kann die ja nicht auf false setzten...
Was steht denn beidir im Log, wenn du klickst?State change "states.volumeDown" - VALUE: true 2020-02-24 16:56:14.541 - debug: lgtv.0 (15498) Sending volumeDown true command to WebOS TV: 192.168.1.186 2020-02-24 16:56:14.553 - debug: lgtv.0 (15498) audio/getVolume: {"changed":["muted"],"returnValue":true,"volumeMax":100,"scenario":"mastervolume_tv_speaker","muted":false,"volume":12,"caller":"secondscreen.client","action":"changed","supportvolume":true,"active":false} State change "states.mute" - VALUE: true 2020-02-24 16:55:11.451 - debug: lgtv.0 (15498) Sending mute true command to WebOS TV: 192.168.1.186 2020-02-24 16:55:11.497 - debug: lgtv.0 (15498) audio/getVolume: {"changed":["muted"],"returnValue":true,"volumeMax":100,"scenario":"mastervolume_tv_speaker","muted":true,"volume":12,"caller":"com.webos.service.apiadapter","action":"changed","supportvolume":true,"active":false} 2020-02-24 16:55:17.383 - debug: lgtv.0 (15498) State change "states.mute" - VALUE: false 2020-02-24 16:55:17.383 - debug: lgtv.0 (15498) Sending mute false command to WebOS TV: 192.168.1.186 2020-02-24 16:55:17.392 - debug: lgtv.0 (15498) audio/getVolume: {"changed":["muted"],"returnValue":true,"volumeMax":100,"scenario":"mastervolume_tv_speaker","muted":false,"volume":12,"caller":"com.webos.service.apiadapter","action":"changed","supportvolume":true,"active":false}
-
@dirkhe sagte in lgtv Adapter zur Steuerung von LG WebOS SmartTVs:
Was steht denn beidir im Log, wenn du klickst?
lgtv.0 2020-02-24 17:01:09.909 debug (14500) Sending mute true command to WebOS TV: 192.168.178.41 lgtv.0 2020-02-24 17:01:09.909 debug (14500) State change "states.mute" - VALUE: true lgtv.0 2020-02-24 17:01:06.960 debug (14500) audio/getVolume: {"changed":["muted"],"returnValue":true,"volumeMax":100,"scenario":"mastervolume_tv_speaker","muted":true,"volume":10,"caller":"com.webos.service.apiadapter","action":"changed lgtv.0 2020-02-24 17:01:06.897 debug (14500) Sending mute true command to WebOS TV: 192.168.178.41 lgtv.0 2020-02-24 17:01:06.897 debug (14500) State change "states.mute" - VALUE: true
Ok, Volume up/down im DP geht.
Nur Mute nicht wenn ich auf ihn klicke, denke ein anderes Widget was auf frue/false geht ist nötig. Ich Teste mal. -
@sigi234 Du triggerst im vis auch immer true. Du musst da ein anderes widget nehmen. Im Prinzip ist das ein bool state, quasi eine checkbox. Die gibt es aber auch als Icon
-
@dirkhe sagte in lgtv Adapter zur Steuerung von LG WebOS SmartTVs:
@sigi234 Du triggerst im vis auch immer true. Du musst da ein anderes widget nehmen. Im Prinzip ist das ein bool state, quasi eine checkbox. Die gibt es aber auch als Icon
Jupp, gecheckt.
-
@arteck sagte in lgtv Adapter zur Steuerung von LG WebOS SmartTVs:
@StefanMc QuickStart+ hab ich die ganze Zeit.... im LOG steht nix..
wieder Gelb
der Fernseher ist aus.. währe also OK..
der Fernseher ist an ... wieder Grün..ich beobachte das mal
Genau das ist bei mir auch, im Log konnte ich auch nix finden
-
@deta Hast de debug aktiviert? GGf. mal auf dem Server im Verzeichnis iobroker/log/ im Log von gestern schauen, Vlt steht da was er gemacht hat?
-
@dirkhe sagte in lgtv Adapter zur Steuerung von LG WebOS SmartTVs:
@deta Hast de debug aktiviert? GGf. mal auf dem Server im Verzeichnis iobroker/log/ im Log von gestern schauen, Vlt steht da was er gemacht hat?
Ich hab den debug aktiviert, auch im gestern Log steht nix! Kann man das Log irgendwie scannen das er nur die lgtv.0 Zeilen zeit. Wäre mal eine Idee für ein Adapter Für Fehlersuche.
Hab auch jetzt auf die RC5 geuppt. Er geht ja nicht sofort auf Gelb, sondern irgendwann. Mein TV ist aber mit LAN Kabel im Netz. Nicht per WLAN.
Beobachte es mal weiter.
-
Für notepadd ++ gibt es ein Plugin, allerdings reicht es da auch, wenn man es mal per doppelclick highlighted,
Aber ja, lass uns mal bis morgen warten... -
warum sind bei euch eigentlich die instanzen an, wenn der tv nicht läuft - bei mir schalte ich plex und lgtv instanzen aus, wenn der tv nicht läuft und an, wenn er läuft - frisst ja alles resourcen
-
@liv-in-sky Das war auch mein erster Gedanke, normalerweise mache ich den TV auch komplett Stromlos, hatte ich vorher zumindest. Jetzt habe ich einen OLED und da habe ich gehört, dass man den nicht unbedingt stromlos machen soll, weil der Algos fährt um die OLED zu kalibirieren, wnn er im Ruhestand ist.
MIr war der Adapter aber auch zu aktiv, daher hatte ich mal in den Adapter geschaut und jetzt sind wir hier. Bei meinem alten TV habe ich sogar die Fernbedienung abgefangen und wenn nötig, erst den Strom eingeschaltet und dann das Signal an den TV weitergegeben, hatte auch super geklappt. Ich habe das jetzt aber alles reduziert undmache zv. die Lautsprecher gar nicht mehr an.Irgendwas in der Art muss man aber haben, dass du merkst, wenn der TV an ist, damit du den Adapter anschalten kannst
-
@dirkhe
hier mein loglgtv.0 2020-02-24 21:28:15.183 debug (18386) TV is off lgtv.0 2020-02-24 21:28:15.182 debug (18386) check TV connection: Error: timeout lgtv.0 2020-02-24 21:28:15.180 debug (18386) ERROR! Response from TV: Error: timeout lgtv.0 2020-02-24 21:27:10.230 debug (18386) check TV connection: ok lgtv.0 2020-02-24 21:26:10.238 debug (18386) check TV connection: ok lgtv.0 2020-02-24 21:25:10.213 debug (18386) check TV connection: ok lgtv.0 2020-02-24 21:24:10.227 debug (18386) check TV connection: ok lgtv.0 2020-02-24 21:23:10.944 debug (18386) tv/getCurrentChannel: {"returnValue":false,"errorCode":-1000,"errorText":"internal error"} lgtv.0 2020-02-24 21:23:10.942 debug (18386) getSystemInfo: {"returnValue":true,"features":{"3d":false,"dvr":true},"receiverType":"dvb","modelName":"49UJ635V-ZF"} lgtv.0 2020-02-24 21:23:10.940 debug (18386) audio/getSoundOutput: {"soundOutput":"tv_external_speaker","subscribed":true} lgtv.0 2020-02-24 21:23:10.937 debug (18386) getCurrentSWInformation: {"returnValue":true,"product_name":"webOSTV 3.5","model_name":"HE_DTV_W17P_AFADABAA","sw_type":"FIRMWARE","major_ver":"05","minor_ver":"80.50","country":"AT","country_ lgtv.0 2020-02-24 21:23:10.935 debug (18386) Service list: {"returnValue":true,"services":[{"name":"api","version":1},{"name":"audio","version":1},{"name":"config","version":1},{"name":"media.controls","version":1},{"name":"media.viewer" lgtv.0 2020-02-24 21:23:10.872 debug (18386) cur app is com.webos.app.hdmi1 lgtv.0 2020-02-24 21:23:10.871 debug (18386) DEBUGGING getForegroundAppInfo: {"appId":"com.webos.app.hdmi1","subscribed":true,"returnValue":true,"windowId":"","processId":""} lgtv.0 2020-02-24 21:23:10.808 debug (18386) audio/getVolume: {"returnValue":true,"volumeMax":100,"muted":false,"scenario":"mastervolume_tv_speaker","subscribed":true,"volume":11,"action":"requested","active":false,"changed":["muted","vo lgtv.0 2020-02-24 21:23:10.767 debug (18386) WebOS TV Connected lgtv.0 2020-02-24 21:23:10.674 debug (18386) Connecting to WebOS TV: ws://192.168.2.15:3000 lgtv.0 2020-02-24 21:23:10.207 debug (18386) Connection closed: 1000 lgtv.0 2020-02-24 21:22:10.171 debug (18386) renew connection in one minute for stable subscriptions... lgtv.0 2020-02-24 21:22:10.159 debug (18386) cur app is com.webos.app.hdmi1 lgtv.0 2020-02-24 21:22:10.159 debug (18386) DEBUGGING getForegroundAppInfo: {"subscribed":true,"appId":"com.webos.app.hdmi1","returnValue":true,"windowId":"","processId":""} lgtv.0 2020-02-24 21:22:10.156 debug (18386) audio/getSoundOutput: {"soundOutput":"tv_external_speaker","subscribed":true} lgtv.0 2020-02-24 21:22:10.154 debug (18386) DEBUGGING getForegroundAppInfo: {"subscribed":true,"appId":"","returnValue":true,"windowId":"","processId":""} lgtv.0 2020-02-24 21:17:45.545 debug (18386) TV is off lgtv.0 2020-02-24 21:17:45.544 debug (18386) check TV connection: Error: timeout lgtv.0 2020-02-24 21:17:45.542 debug (18386) ERROR! Response from TV: Error: timeout lgtv.0 2020-02-24 21:16:40.589 debug (18386) check TV connection: ok lgtv.0 2020-02-24 21:15:40.576 debug (18386) check TV connection: ok lgtv.0 2020-02-24 21:14:40.588 debug (18386) check TV connection: ok lgtv.0 2020-02-24 21:13:41.287 debug (18386) tv/getCurrentChannel: {"returnValue":false,"errorCode":-1000,"errorText":"internal error"} lgtv.0 2020-02-24 21:13:41.284 debug (18386) getSystemInfo: {"returnValue":true,"features":{"3d":false,"dvr":true},"receiverType":"dvb","modelName":"49UJ635V-ZF"} lgtv.0 2020-02-24 21:13:41.282 debug (18386) audio/getSoundOutput: {"soundOutput":"tv_external_speaker","subscribed":true} lgtv.0 2020-02-24 21:13:41.274 debug (18386) Service list: {"returnValue":true,"services":[{"name":"api","version":1},{"name":"audio","version":1},{"name":"config","version":1},{"name":"media.controls","version":1},{"name":"media.viewer" lgtv.0 2020-02-24 21:13:41.258 debug (18386) getCurrentSWInformation: {"returnValue":true,"product_name":"webOSTV 3.5","model_name":"HE_DTV_W17P_AFADABAA","sw_type":"FIRMWARE","major_ver":"05","minor_ver":"80.50","country":"AT","country_ lgtv.0 2020-02-24 21:13:41.210 debug (18386) cur app is com.webos.app.hdmi1 lgtv.0 2020-02-24 21:13:41.209 debug (18386) DEBUGGING getForegroundAppInfo: {"appId":"com.webos.app.hdmi1","subscribed":true,"returnValue":true,"windowId":"","processId":""} lgtv.0 2020-02-24 21:13:41.156 debug (18386) audio/getVolume: {"returnValue":true,"volumeMax":100,"muted":false,"scenario":"mastervolume_tv_speaker","subscribed":true,"volume":11,"action":"requested","active":false,"changed":["muted","vo lgtv.0 2020-02-24 21:13:41.119 debug (18386) WebOS TV Connected lgtv.0 2020-02-24 21:13:41.036 debug (18386) Connecting to WebOS TV: ws://192.168.2.15:3000 lgtv.0 2020-02-24 21:13:40.548 debug (18386) Connection closed: 1000 lgtv.0 2020-02-24 21:13:19.507 debug (18386) audio/getVolume: {"changed":["volume"],"returnValue":true,"cause":"volumeUp","volumeMax":100,"scenario":"mastervolume_tv_speaker","muted":false,"volume":11,"action":"changed","active":false} lgtv.0 2020-02-24 21:13:15.899 debug (18386) audio/getVolume: {"changed":["volume"],"returnValue":true,"cause":"volumeDown","volumeMax":100,"scenario":"mastervolume_tv_speaker","muted":false,"volume":10,"action":"changed","active":false} lgtv.0 2020-02-24 21:13:15.682 debug (18386) audio/getVolume: {"changed":["volume"],"returnValue":true,"cause":"volumeDown","volumeMax":100,"scenario":"mastervolume_tv_speaker","muted":false,"volume":11,"action":"changed","active":false} lgtv.0 2020-02-24 21:13:15.165 debug (18386) audio/getVolume: {"changed":["volume"],"returnValue":true,"cause":"volumeDown","volumeMax":100,"scenario":"mastervolume_tv_speaker","muted":false,"volume":12,"action":"changed","active":false} lgtv.0 2020-02-24 21:13:13.618 debug (18386) audio/getVolume: {"changed":["volume"],"returnValue":true,"cause":"volumeUp","volumeMax":100,"scenario":"mastervolume_tv_speaker","muted":false,"volume":13,"action":"changed","active":false} lgtv.0 2020-02-24 21:12:40.524 debug (18386) renew connection in one minute for stable subscriptions... lgtv.0 2020-02-24 21:12:40.447 debug (18386) getSystemInfo: {"returnValue":true,"features":{"3d":false,"dvr":true},"receiverType":"dvb","modelName":"49UJ635V-ZF"} lgtv.0 2020-02-24 21:12:40.445 debug (18386) tv/getCurrentChannel: {"returnValue":false,"errorCode":-1000,"errorText":"internal error"} lgtv.0 2020-02-24 21:12:40.443 debug (18386) audio/getSoundOutput: {"soundOutput":"tv_external_speaker","subscribed":true} lgtv.0 2020-02-24 21:12:40.435 debug (18386) Service list: {"returnValue":true,"services":[{"name":"api","version":1},{"name":"audio","version":1},{"name":"config","version":1},{"name":"media.controls","version":1},{"name":"media.viewer" lgtv.0 2020-02-24 21:12:40.410 debug (18386) getCurrentSWInformation: {"returnValue":true,"product_name":"webOSTV 3.5","model_name":"HE_DTV_W17P_AFADABAA","sw_type":"FIRMWARE","major_ver":"05","minor_ver":"80.50","country":"AT","country_ lgtv.0 2020-02-24 21:12:40.372 debug (18386) cur app is com.webos.app.hdmi1 lgtv.0 2020-02-24 21:12:40.371 debug (18386) DEBUGGING getForegroundAppInfo: {"appId":"com.webos.app.hdmi1","subscribed":true,"returnValue":true,"windowId":"","processId":""} lgtv.0 2020-02-24 21:12:40.315 debug (18386) audio/getVolume: {"returnValue":true,"volumeMax":100,"muted":false,"scenario":"mastervolume_tv_speaker","subscribed":true,"volume":12,"action":"requested","active":false,"changed":["muted","vo lgtv.0 2020-02-24 21:12:40.272 debug (18386) WebOS TV Connected lgtv.0 2020-02-24 21:12:40.114 debug (18386) Connecting to WebOS TV: ws://192.168.2.15:3000 lgtv.0 2020-02-24 21:12:40.077 debug (18386) adapter.config = {"ip":"192.168.2.15","mac":"","timeout":"5000","power":false} lgtv.0 2020-02-24 21:12:40.075 info (18386) Ready. Configured WebOS TV IP: 192.168.2.15 lgtv.0 2020-02-24 21:12:40.017 info (18386) starting. Version 1.1.5 in /opt/iobroker/node_modules/iobroker.lgtv, node: v10.19.0
-
Vom log her sieht es doch jetzt gut aus, oder?
-
Ja, funktioniert wieder zuverlässig!
Dank, Lob und Anerkennung!