@instalator:
в файле \iobroker.lgtv-rs\main.js закоменть строки с 199 по 203 включительно и рестартани драйвер в режиме дебаг - дай лог `
Выбран hdmi1
! ````
lgtv-rs.0 2017-12-30 17:11:11.505 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:11:11.505 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:11:11.477 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:11:06.505 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:11:06.505 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:11:06.477 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:11:01.504 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:11:01.504 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:11:01.477 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:10:56.502 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:10:56.502 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:10:56.474 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:10:51.502 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:10:51.502 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:10:51.475 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:10:46.497 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:10:46.497 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:10:46.470 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:10:41.492 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:10:41.492 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:10:41.464 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:10:36.492 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:10:36.492 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:10:36.465 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:10:31.490 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:10:31.490 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:10:31.462 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:10:26.490 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:10:26.490 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:10:26.461 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:10:21.495 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:10:21.495 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:10:21.460 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:10:16.486 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:10:16.485 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:10:16.455 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:10:11.477 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:10:11.477 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:10:11.449 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:10:06.478 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:10:06.478 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:10:06.449 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:10:01.476 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:10:01.476 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:10:01.449 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:09:56.471 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:09:56.471 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:09:56.442 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:09:51.470 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:09:51.470 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:09:51.442 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:09:46.465 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:09:46.464 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:09:46.437 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:09:41.430 info LG TV connected to: 192.168.11.95:23
lgtv-rs.0 2017-12-30 17:09:41.419 debug LG TV connect to: 192.168.11.95:23
lgtv-rs.0 2017-12-30 17:09:41.418 info starting. Version 0.0.3 in /opt/iobroker/node_modules/iobroker.lgtv-rs, node: v8.9.3
lgtv-rs.0 2017-12-30 17:09:41.329 debug statesDB connected
lgtv-rs.0 2017-12-30 17:09:41.314 debug objectDB connected
host.Bee-IoT 2017-12-30 17:09:41.084 info instance system.adapter.lgtv-rs.0 started with pid 25242
host.Bee-IoT 2017-12-30 17:09:38.589 info instance system.adapter.lgtv-rs.0 terminated with code 0 (OK)
lgtv-rs.0 2017-12-30 17:09:38.579 info terminating
host.Bee-IoT 2017-12-30 17:09:38.573 info stopInstance system.adapter.lgtv-rs.0 killing pid 25227
host.Bee-IoT 2017-12-30 17:09:38.573 info stopInstance system.adapter.lgtv-rs.0
lgtv-rs.0 2017-12-30 17:09:38.575 info Reconnect after 60 sec...
lgtv-rs.0 2017-12-30 17:09:38.575 error Error socket: Reconnect after 15 sec...
lgtv-rs.0 2017-12-30 17:09:38.575 error LG TV LG TV disconnected
lgtv-rs.0 2017-12-30 17:09:38.574 info cleaned everything up...
host.Bee-IoT 2017-12-30 17:09:38.573 info object change system.adapter.lgtv-rs.0
lgtv-rs.0 2017-12-30 17:09:36.156 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:09:36.155 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:09:36.125 debug
lgtv-rs.0 2017-12-30 17:09:36.125 debug Send Command: ka 00 ff
выбран analog1
>! ````
lgtv-rs.0 2017-12-30 17:14:00.946 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:14:00.946 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:14:00.919 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:13:55.952 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:13:55.952 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:13:55.918 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:13:50.945 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:13:50.945 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:13:50.917 debug
lgtv-rs.0 2017-12-30 17:13:50.917 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:13:45.940 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:13:45.940 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:13:45.911 debug
lgtv-rs.0 2017-12-30 17:13:45.911 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:13:40.938 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:13:40.938 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:13:40.910 debug
lgtv-rs.0 2017-12-30 17:13:40.910 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:13:35.935 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:13:35.934 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:13:35.906 debug
lgtv-rs.0 2017-12-30 17:13:35.906 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:13:30.930 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:13:30.930 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:13:30.901 debug
lgtv-rs.0 2017-12-30 17:13:30.901 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:13:28.645 debug name:volume
lgtv-rs.0 2017-12-30 17:13:28.644 debug req:{"cmd":"f","id":"01","ack":true,"val":"07"}
lgtv-rs.0 2017-12-30 17:13:28.644 debug LG TV incomming: f 01 OK07x
lgtv-rs.0 2017-12-30 17:13:28.617 debug
lgtv-rs.0 2017-12-30 17:13:28.617 debug Send Command: kf 00 7
lgtv-rs.0 2017-12-30 17:13:28.617 debug stateChange lgtv-rs.0.volume {"val":"7","ack":false,"ts":1514628808614,"q":0,"from":"system.adapter.admin.0","lc":1514628808614}
lgtv-rs.0 2017-12-30 17:13:25.933 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:13:25.933 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:13:25.901 debug
lgtv-rs.0 2017-12-30 17:13:25.901 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:13:25.222 debug name:volume
lgtv-rs.0 2017-12-30 17:13:25.222 debug req:{"cmd":"f","id":"01","ack":true,"val":"09"}
lgtv-rs.0 2017-12-30 17:13:25.222 debug LG TV incomming: f 01 OK09x
lgtv-rs.0 2017-12-30 17:13:25.193 debug
lgtv-rs.0 2017-12-30 17:13:25.193 debug Send Command: kf 00 9
lgtv-rs.0 2017-12-30 17:13:25.193 debug stateChange lgtv-rs.0.volume {"val":"9","ack":false,"ts":1514628805191,"q":0,"from":"system.adapter.admin.0","lc":1514628805191}
lgtv-rs.0 2017-12-30 17:13:20.931 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:13:20.931 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:13:20.900 debug
lgtv-rs.0 2017-12-30 17:13:20.900 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:13:15.927 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:13:15.927 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:13:15.899 debug
lgtv-rs.0 2017-12-30 17:13:15.899 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:13:10.935 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:13:10.935 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:13:10.899 debug
lgtv-rs.0 2017-12-30 17:13:10.899 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:13:05.922 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:13:05.922 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:13:05.894 debug
lgtv-rs.0 2017-12-30 17:13:05.894 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:13:00.922 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:13:00.922 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:13:00.889 debug
lgtv-rs.0 2017-12-30 17:13:00.889 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:12:55.919 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:12:55.919 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:12:55.889 debug
lgtv-rs.0 2017-12-30 17:12:55.889 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:12:50.917 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:12:50.917 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:12:50.889 debug
lgtv-rs.0 2017-12-30 17:12:50.889 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:12:45.912 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:12:45.912 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:12:45.884 debug
lgtv-rs.0 2017-12-30 17:12:45.884 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:12:40.912 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:12:40.912 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:12:40.884 debug
lgtv-rs.0 2017-12-30 17:12:40.884 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:12:35.908 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
lgtv-rs.0 2017-12-30 17:12:35.907 debug LG TV incomming: a 01 OK01x
lgtv-rs.0 2017-12-30 17:12:35.879 debug
lgtv-rs.0 2017-12-30 17:12:35.879 debug Send Command: ka 00 ff
lgtv-rs.0 2017-12-30 17:12:30.873 info LG TV connected to: 192.168.11.95:23
lgtv-rs.0 2017-12-30 17:12:30.863 debug LG TV connect to: 192.168.11.95:23
lgtv-rs.0 2017-12-30 17:12:30.862 info starting. Version 0.0.3 in /opt/iobroker/node_modules/iobroker.lgtv-rs, node: v8.9.3
lgtv-rs.0 2017-12-30 17:12:30.770 debug statesDB connected
lgtv-rs.0 2017-12-30 17:12:30.754 debug objectDB connected
host.Bee-IoT 2017-12-30 17:12:30.524 info instance system.adapter.lgtv-rs.0 started with pid 25263
host.Bee-IoT 2017-12-30 17:12:28.031 info instance system.adapter.lgtv-rs.0 terminated with code 0 (OK)
lgtv-rs.0 2017-12-30 17:12:28.018 info terminating
host.Bee-IoT 2017-12-30 17:12:28.013 info stopInstance system.adapter.lgtv-rs.0 killing pid 25242
host.Bee-IoT 2017-12-30 17:12:28.013 info stopInstance system.adapter.lgtv-rs.0
lgtv-rs.0 2017-12-30 17:12:28.015 info Reconnect after 60 sec...
lgtv-rs.0 2017-12-30 17:12:28.014 error Error socket: Reconnect after 15 sec...
lgtv-rs.0 2017-12-30 17:12:28.014 error LG TV LG TV disconnected
lgtv-rs.0 2017-12-30 17:12:28.014 info cleaned everything up...
host.Bee-IoT 2017-12-30 17:12:28.013 info object change system.adapter.lgtv-rs.0
Работает, но не обновляются статусы объектов (lgtv-rs.0.volume, lgtv-rs.0.input-select и др…)