Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Русский
    3. ioBroker
    4. ioBroker драйвера
    5. Драйвер lgtv-rs

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Драйвер lgtv-rs

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MSapogov last edited by

      Решил оживить свой телевизор, подключив его к IoB, нашел драйвер от installator-а

      https://github.com/instalator/ioBroker.lgtv-rs

      Взял переходник RS232-TTL и ESP8266

      Сначала использовал прошивку TCP2UART https://esp8266.ru/forum/threads/proshi … o-web.146/

      Драйвер не заработал, потом по совету installator-а, прошил ESP8266.TelnetToSerial https://github.com/instalator/ESP8266.TelnetToSerial

      Драйвер не ожил все равно 😞

      Немного поразбиравшись с проблеммой обнаружил, что в исходниках https://github.com/instalator/ioBroker. … er/main.js в 132 строке явно указан IP адрес… И такое ощущуние, что IP и порт, указанный в настройках не воспринимаются.

      Изменив в main.js IP адрес на свой драйвер начал шевелиться, но не полностью...

      Каждую минуту драйвер рестартует... лог

      ! ````
      host.Bee-IoT 2017-12-29 10:36:33.867 info Restart adapter system.adapter.lgtv-rs.0 because enabled
      host.Bee-IoT 2017-12-29 10:36:33.867 error instance system.adapter.lgtv-rs.0 terminated with code 0 (OK)
      host.Bee-IoT 2017-12-29 10:36:33.867 error Caught by controller[0]: at TCP.onread (net.js:594:20)
      host.Bee-IoT 2017-12-29 10:36:33.867 error Caught by controller[0]: at Socket.Readable.push (_stream_readable.js:208:10)
      host.Bee-IoT 2017-12-29 10:36:33.867 error Caught by controller[0]: at readableAddChunk (_stream_readable.js:250:11)
      host.Bee-IoT 2017-12-29 10:36:33.867 error Caught by controller[0]: at addChunk (_stream_readable.js:263:12)
      host.Bee-IoT 2017-12-29 10:36:33.867 error Caught by controller[0]: at Socket.emit (events.js:211:7)
      host.Bee-IoT 2017-12-29 10:36:33.867 error Caught by controller[0]: at emitOne (events.js:116:13)
      host.Bee-IoT 2017-12-29 10:36:33.867 error Caught by controller[0]: at Socket. (/opt/iobroker/node_modules/iobroker.lgtv-rs/main.js:159:13)
      host.Bee-IoT 2017-12-29 10:36:33.867 error Caught by controller[0]: at parse (/opt/iobroker/node_modules/iobroker.lgtv-rs/main.js:199:61)
      host.Bee-IoT 2017-12-29 10:36:33.866 error Caught by controller[0]: TypeError: Cannot read property 'name' of undefined
      lgtv-rs.0 2017-12-29 10:36:33.796 debug Send Command: kc 00 ff
      lgtv-rs.0 2017-12-29 10:36:33.796 debug name:power
      lgtv-rs.0 2017-12-29 10:36:33.796 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
      lgtv-rs.0 2017-12-29 10:36:33.795 debug LG TV incomming: a 01 OK01x
      lgtv-rs.0 2017-12-29 10:36:33.765 debug Send Command: ka 00 ff
      lgtv-rs.0 2017-12-29 10:36:28.758 info LG TV connected to: 192.168.11.95:23
      lgtv-rs.0 2017-12-29 10:36:28.747 debug LG TV connect to: 192.168.11.95:23
      lgtv-rs.0 2017-12-29 10:36:28.745 info starting. Version 0.0.3 in /opt/iobroker/node_modules/iobroker.lgtv-rs, node: v8.9.3
      lgtv-rs.0 2017-12-29 10:36:28.658 debug statesDB connected
      lgtv-rs.0 2017-12-29 10:36:28.642 debug objectDB connected
      host.Bee-IoT 2017-12-29 10:36:28.402 info instance system.adapter.lgtv-rs.0 started with pid 27132
      host.Bee-IoT 2017-12-29 10:36:28.396 info object change system.adapter.lgtv-rs.0
      host.Bee-IoT 2017-12-29 10:36:05.394 info Restart adapter system.adapter.lgtv-rs.0 because enabled

      Потом спустя какое-то время (на следующий день)…
      
      Обнаружил, что в объектах lgtv-rs.0 появились названия и их значения. Подумал О! чудо... работает!
      
      Но в логах все также продолжались падения драйвера.
      
      Потом все таки обнаружил условие при котором драйвер работает без ошибок. Телевизор не должен быть включен на просмотр телевидения (вход analog1). Как только выбираю другой источник сигнала (av1, hdmi1, hdmi2, component1), то драйвер работает и не перезагружается каждую минуту.
      
      Закоментил строки с 199 по 203
      
      >! ````
      lgtv-rs.0	2017-12-30 16:52:43.832	info	LG TV connected to: 192.168.11.95:23
      lgtv-rs.0	2017-12-30 16:52:43.816	info	starting. Version 0.0.3 in /opt/iobroker/node_modules/iobroker.lgtv-rs, node: v8.9.3
      lgtv-rs.0	2017-12-30 16:52:40.982	info	terminating
      lgtv-rs.0	2017-12-30 16:52:40.978	info	Reconnect after 60 sec...
      lgtv-rs.0	2017-12-30 16:52:40.978	error	Error socket: Reconnect after 15 sec...
      lgtv-rs.0	2017-12-30 16:52:40.978	error	LG TV LG TV disconnected
      

      Дополнительно появилась вкладка remote. Нажатие на кнопки работает.

      1 Reply Last reply Reply Quote 0
      • I
        instalator last edited by

        @MSapogov:

        Решил оживить свой телевизор, подключив его к IoB, нашел драйвер от installator-а

        https://github.com/instalator/ioBroker.lgtv-rs

        Взял переходник RS232-TTL и ESP8266

        Сначала использовал прошивку TCP2UART https://esp8266.ru/forum/threads/proshi … o-web.146/

        Драйвер не заработал, потом по совету installator-а, прошил ESP8266.TelnetToSerial https://github.com/instalator/ESP8266.TelnetToSerial

        Драйвер не ожил все равно 😞

        Немного поразбиравшись с проблеммой обнаружил, что в исходниках https://github.com/instalator/ioBroker. … er/main.js в 132 строке явно указан IP адрес… И такое ощущуние, что IP и порт, указанный в настройках не воспринимаются.

        Изменив в main.js IP адрес на свой драйвер начал шевелиться, но не полностью...

        Каждую минуту драйвер рестартует... лог

        ! ````
        host.Bee-IoT 2017-12-29 10:36:33.867 info Restart adapter system.adapter.lgtv-rs.0 because enabled
        host.Bee-IoT 2017-12-29 10:36:33.867 error instance system.adapter.lgtv-rs.0 terminated with code 0 (OK)
        host.Bee-IoT 2017-12-29 10:36:33.867 error Caught by controller[0]: at TCP.onread (net.js:594:20)
        host.Bee-IoT 2017-12-29 10:36:33.867 error Caught by controller[0]: at Socket.Readable.push (_stream_readable.js:208:10)
        host.Bee-IoT 2017-12-29 10:36:33.867 error Caught by controller[0]: at readableAddChunk (_stream_readable.js:250:11)
        host.Bee-IoT 2017-12-29 10:36:33.867 error Caught by controller[0]: at addChunk (_stream_readable.js:263:12)
        host.Bee-IoT 2017-12-29 10:36:33.867 error Caught by controller[0]: at Socket.emit (events.js:211:7)
        host.Bee-IoT 2017-12-29 10:36:33.867 error Caught by controller[0]: at emitOne (events.js:116:13)
        host.Bee-IoT 2017-12-29 10:36:33.867 error Caught by controller[0]: at Socket. (/opt/iobroker/node_modules/iobroker.lgtv-rs/main.js:159:13)
        host.Bee-IoT 2017-12-29 10:36:33.867 error Caught by controller[0]: at parse (/opt/iobroker/node_modules/iobroker.lgtv-rs/main.js:199:61)
        host.Bee-IoT 2017-12-29 10:36:33.866 error Caught by controller[0]: TypeError: Cannot read property 'name' of undefined
        lgtv-rs.0 2017-12-29 10:36:33.796 debug Send Command: kc 00 ff
        lgtv-rs.0 2017-12-29 10:36:33.796 debug name:power
        lgtv-rs.0 2017-12-29 10:36:33.796 debug req:{"cmd":"a","id":"01","ack":true,"val":"01"}
        lgtv-rs.0 2017-12-29 10:36:33.795 debug LG TV incomming: a 01 OK01x
        lgtv-rs.0 2017-12-29 10:36:33.765 debug Send Command: ka 00 ff
        lgtv-rs.0 2017-12-29 10:36:28.758 info LG TV connected to: 192.168.11.95:23
        lgtv-rs.0 2017-12-29 10:36:28.747 debug LG TV connect to: 192.168.11.95:23
        lgtv-rs.0 2017-12-29 10:36:28.745 info starting. Version 0.0.3 in /opt/iobroker/node_modules/iobroker.lgtv-rs, node: v8.9.3
        lgtv-rs.0 2017-12-29 10:36:28.658 debug statesDB connected
        lgtv-rs.0 2017-12-29 10:36:28.642 debug objectDB connected
        host.Bee-IoT 2017-12-29 10:36:28.402 info instance system.adapter.lgtv-rs.0 started with pid 27132
        host.Bee-IoT 2017-12-29 10:36:28.396 info object change system.adapter.lgtv-rs.0
        host.Bee-IoT 2017-12-29 10:36:05.394 info Restart adapter system.adapter.lgtv-rs.0 because enabled

        Потом спустя какое-то время (на следующий день)…
        
        Обнаружил, что в объектах lgtv-rs.0 появились названия и их значения. Подумал О! чудо... работает!
        
        Но в логах все также продолжались падения драйвера.
        
        Потом все таки обнаружил условие при котором драйвер работает без ошибок. Телевизор не должен быть включен на просмотр телевидения (вход analog1). Как только выбираю другой источник сигнала (av1, hdmi1, hdmi2, component1), то драйвер работает и не перезагружается каждую минуту. `  
        

        в файле \iobroker.lgtv-rs\main.js замени строку 199 на````
        if (COMMANDS[key]['values'][req.val].hasOwnProperty('name')){

        1 Reply Last reply Reply Quote 0
        • M
          MSapogov last edited by

          @instalator:

          в файле \iobroker.lgtv-rs\main.js замени строку 199 наif (COMMANDS[key]['values'][req.val].hasOwnProperty('name')){ `

          ! ````
          host.Bee-IoT 2017-12-30 16:57:47.532 info Restart adapter system.adapter.lgtv-rs.0 because enabled
          host.Bee-IoT 2017-12-30 16:57:47.532 error instance system.adapter.lgtv-rs.0 terminated with code 0 (OK)
          Caught 2017-12-30 16:57:47.532 error by controller[0]: at TCP.onread (net.js:594:20)
          Caught 2017-12-30 16:57:47.532 error by controller[0]: at Socket.Readable.push (_stream_readable.js:208:10)
          Caught 2017-12-30 16:57:47.532 error by controller[0]: at readableAddChunk (_stream_readable.js:250:11)
          Caught 2017-12-30 16:57:47.532 error by controller[0]: at addChunk (_stream_readable.js:263:12)
          Caught 2017-12-30 16:57:47.532 error by controller[0]: at Socket.emit (events.js:211:7)
          Caught 2017-12-30 16:57:47.532 error by controller[0]: at emitOne (events.js:116:13)
          Caught 2017-12-30 16:57:47.532 error by controller[0]: at Socket. (/opt/iobroker/node_modules/iobroker.lgtv-rs/main.js:159:13)
          Caught 2017-12-30 16:57:47.532 error by controller[0]: at parse (/opt/iobroker/node_modules/iobroker.lgtv-rs/main.js:199:62)
          Caught 2017-12-30 16:57:47.531 error by controller[0]: TypeError: Cannot read property 'hasOwnProperty' of undefined
          lgtv-rs.0 2017-12-30 16:57:47.527 info Reconnect after 60 sec...
          lgtv-rs.0 2017-12-30 16:57:47.527 error Error socket: Reconnect after 15 sec...
          lgtv-rs.0 2017-12-30 16:57:47.527 error LG TV LG TV disconnected
          lgtv-rs.0 2017-12-30 16:57:47.525 info cleaned everything up...
          lgtv-rs.0 2017-12-30 16:57:47.524 error at TCP.onread (net.js:594:20)
          lgtv-rs.0 2017-12-30 16:57:47.524 error at Socket.Readable.push (_stream_readable.js:208:10)
          lgtv-rs.0 2017-12-30 16:57:47.524 error at readableAddChunk (_stream_readable.js:250:11)
          lgtv-rs.0 2017-12-30 16:57:47.524 error at addChunk (_stream_readable.js:263:12)
          lgtv-rs.0 2017-12-30 16:57:47.524 error at Socket.emit (events.js:211:7)
          lgtv-rs.0 2017-12-30 16:57:47.524 error at emitOne (events.js:116:13)
          lgtv-rs.0 2017-12-30 16:57:47.524 error at Socket. (/opt/iobroker/node_modules/iobroker.lgtv-rs/main.js:159:13)
          lgtv-rs.0 2017-12-30 16:57:47.524 error at parse (/opt/iobroker/node_modules/iobroker.lgtv-rs/main.js:199:62)
          lgtv-rs.0 2017-12-30 16:57:47.524 error TypeError: Cannot read property 'hasOwnProperty' of undefined
          lgtv-rs.0 2017-12-30 16:57:47.524 error uncaught exception: Cannot read property 'hasOwnProperty' of undefined
          lgtv-rs.0 2017-12-30 16:57:42.421 info LG TV connected to: 192.168.11.95:23
          lgtv-rs.0 2017-12-30 16:57:42.406 info starting. Version 0.0.3 in /opt/iobroker/node_modules/iobroker.lgtv-rs, node: v8.9.3
          host.Bee-IoT 2017-12-30 16:57:42.072 info instance system.adapter.lgtv-rs.0 started with pid 25093
          host.Bee-IoT 2017-12-30 16:57:39.583 info instance system.adapter.lgtv-rs.0 terminated with code 0 (OK)
          lgtv-rs.0 2017-12-30 16:57:39.569 info terminating
          host.Bee-IoT 2017-12-30 16:57:39.557 info stopInstance system.adapter.lgtv-rs.0 killing pid 25055
          host.Bee-IoT 2017-12-30 16:57:39.557 info stopInstance system.adapter.lgtv-rs.0
          lgtv-rs.0 2017-12-30 16:57:39.559 info Reconnect after 60 sec...

          
          Если выбираю не analog1, то работает..
          
          >! ````
          lgtv-rs.0	2017-12-30 17:02:29.110	debug	req:{"cmd":"g","id":"01","ack":true,"val":"5a"}
          lgtv-rs.0	2017-12-30 17:02:29.110	debug	LG TV incomming: g 01 OK5ax
          lgtv-rs.0	2017-12-30 17:02:29.080	debug	Send Command: kg 00 ff
          lgtv-rs.0	2017-12-30 17:02:24.109	debug	req:{"cmd":"f","id":"01","ack":true,"val":"06"}
          lgtv-rs.0	2017-12-30 17:02:24.108	debug	LG TV incomming: f 01 OK06x
          lgtv-rs.0	2017-12-30 17:02:24.080	debug	Send Command: kf 00 ff
          lgtv-rs.0	2017-12-30 17:02:19.109	debug	req:{"cmd":"e","id":"01","ack":true,"val":"01"}
          lgtv-rs.0	2017-12-30 17:02:19.109	debug	LG TV incomming: e 01 OK01x
          lgtv-rs.0	2017-12-30 17:02:19.080	debug	Send Command: ke 00 ff
          lgtv-rs.0	2017-12-30 17:02:14.109	debug	req:{"cmd":"d","id":"01","ack":true,"val":"00"}
          lgtv-rs.0	2017-12-30 17:02:14.109	debug	LG TV incomming: d 01 OK00x
          lgtv-rs.0	2017-12-30 17:02:14.079	debug	Send Command: kd 00 ff
          lgtv-rs.0	2017-12-30 17:02:09.141	debug	req:{"cmd":"c","id":"01","ack":true,"val":"02"}
          lgtv-rs.0	2017-12-30 17:02:09.141	debug	LG TV incomming: c 01 OK02x
          lgtv-rs.0	2017-12-30 17:02:09.079	debug	
          lgtv-rs.0	2017-12-30 17:02:09.079	debug	Send Command: kc 00 ff
          lgtv-rs.0	2017-12-30 17:02:09.079	debug	req:{"cmd":"a","id":"01","ack":true,"val":"01"}
          lgtv-rs.0	2017-12-30 17:02:09.079	debug	LG TV incomming: a 01 OK01x
          lgtv-rs.0	2017-12-30 17:02:09.051	debug	
          lgtv-rs.0	2017-12-30 17:02:09.051	debug	Send Command: ka 00 ff
          lgtv-rs.0	2017-12-30 17:02:04.074	debug	name:energy-saving
          lgtv-rs.0	2017-12-30 17:02:04.074	debug	req:{"cmd":"q","id":"01","ack":true,"val":"00"}
          lgtv-rs.0	2017-12-30 17:02:04.073	debug	LG TV incomming: q 01 OK00x
          lgtv-rs.0	2017-12-30 17:02:04.045	debug	
          lgtv-rs.0	2017-12-30 17:02:04.045	debug	Send Command: jq 00 ff
          lgtv-rs.0	2017-12-30 17:01:59.078	debug	name:input-select
          lgtv-rs.0	2017-12-30 17:01:59.078	debug	req:{"cmd":"b","id":"01","ack":true,"val":"90"}
          lgtv-rs.0	2017-12-30 17:01:59.078	debug	LG TV incomming: b 01 OK90x
          lgtv-rs.0	2017-12-30 17:01:59.050	debug	
          lgtv-rs.0	2017-12-30 17:01:59.050	debug	Send Command: xb 00 ff
          lgtv-rs.0	2017-12-30 17:01:54.075	debug	name:color-temperature
          lgtv-rs.0	2017-12-30 17:01:54.075	debug	req:{"cmd":"u","id":"01","ack":true,"val":"32"}
          lgtv-rs.0	2017-12-30 17:01:54.075	debug	LG TV incomming: u 01 OK32x
          lgtv-rs.0	2017-12-30 17:01:54.045	debug	
          lgtv-rs.0	2017-12-30 17:01:54.045	debug	Send Command: xu 00 ff
          lgtv-rs.0	2017-12-30 17:01:49.078	debug	name:balance
          lgtv-rs.0	2017-12-30 17:01:49.078	debug	req:{"cmd":"t","id":"01","ack":true,"val":"32"}
          lgtv-rs.0	2017-12-30 17:01:49.078	debug	LG TV incomming: t 01 OK32x
          lgtv-rs.0	2017-12-30 17:01:49.047	debug	
          lgtv-rs.0	2017-12-30 17:01:49.047	debug	Send Command: kt 00 ff
          lgtv-rs.0	2017-12-30 17:01:44.080	debug	name:bass
          lgtv-rs.0	2017-12-30 17:01:44.080	debug	req:{"cmd":"s","id":"01","ack":true,"val":"32"}
          lgtv-rs.0	2017-12-30 17:01:44.080	debug	LG TV incomming: s 01 OK32x
          lgtv-rs.0	2017-12-30 17:01:44.045	debug	
          lgtv-rs.0	2017-12-30 17:01:44.045	debug	Send Command: ks 00 ff
          lgtv-rs.0	2017-12-30 17:01:39.074	debug	name:treble
          lgtv-rs.0	2017-12-30 17:01:39.074	debug	req:{"cmd":"r","id":"01","ack":true,"val":"32"}
          lgtv-rs.0	2017-12-30 17:01:39.073	debug	LG TV incomming: r 01 OK32x
          lgtv-rs.0	2017-12-30 17:01:39.045	debug	
          lgtv-rs.0	2017-12-30 17:01:39.045	debug	Send Command: kr 00 ff
          lgtv-rs.0	2017-12-30 17:01:34.077	debug	name:remote-lock
          lgtv-rs.0	2017-12-30 17:01:34.077	debug	req:{"cmd":"m","id":"01","ack":true,"val":"00"}
          lgtv-rs.0	2017-12-30 17:01:34.076	debug	LG TV incomming: m 01 OK00x
          lgtv-rs.0	2017-12-30 17:01:34.045	debug	
          lgtv-rs.0	2017-12-30 17:01:34.045	debug	Send Command: km 00 ff
          lgtv-rs.0	2017-12-30 17:01:29.074	debug	name:osd-select
          lgtv-rs.0	2017-12-30 17:01:29.074	debug	req:{"cmd":"l","id":"01","ack":true,"val":"01"}
          lgtv-rs.0	2017-12-30 17:01:29.073	debug	LG TV incomming: l 01 OK01x
          lgtv-rs.0	2017-12-30 17:01:29.045	debug	
          lgtv-rs.0	2017-12-30 17:01:29.045	debug	Send Command: kl 00 ff
          lgtv-rs.0	2017-12-30 17:01:24.074	debug	name:sharpness
          lgtv-rs.0	2017-12-30 17:01:24.073	debug	req:{"cmd":"k","id":"01","ack":true,"val":"46"}
          lgtv-rs.0	2017-12-30 17:01:24.073	debug	LG TV incomming: k 01 OK46x
          lgtv-rs.0	2017-12-30 17:01:24.045	debug	
          lgtv-rs.0	2017-12-30 17:01:24.045	debug	Send Command: kk 00 ff
          lgtv-rs.0	2017-12-30 17:01:19.074	debug	name:tint
          lgtv-rs.0	2017-12-30 17:01:19.074	debug	req:{"cmd":"j","id":"01","ack":true,"val":"32"}
          lgtv-rs.0	2017-12-30 17:01:19.074	debug	LG TV incomming: j 01 OK32x
          lgtv-rs.0	2017-12-30 17:01:19.045	debug	
          lgtv-rs.0	2017-12-30 17:01:19.045	debug	Send Command: kj 00 ff
          lgtv-rs.0	2017-12-30 17:01:14.074	debug	name:color
          lgtv-rs.0	2017-12-30 17:01:14.074	debug	req:{"cmd":"i","id":"01","ack":true,"val":"3c"}
          lgtv-rs.0	2017-12-30 17:01:14.074	debug	LG TV incomming: i 01 OK3cx
          lgtv-rs.0	2017-12-30 17:01:14.045	debug	
          lgtv-rs.0	2017-12-30 17:01:14.045	debug	Send Command: ki 00 ff
          lgtv-rs.0	2017-12-30 17:01:09.074	debug	name:brightness
          lgtv-rs.0	2017-12-30 17:01:09.074	debug	req:{"cmd":"h","id":"01","ack":true,"val":"32"}
          lgtv-rs.0	2017-12-30 17:01:09.074	debug	LG TV incomming: h 01 OK32x
          lgtv-rs.0	2017-12-30 17:01:09.045	debug	
          lgtv-rs.0	2017-12-30 17:01:09.045	debug	Send Command: kh 00 ff
          lgtv-rs.0	2017-12-30 17:01:04.075	debug	name:contrast
          lgtv-rs.0	2017-12-30 17:01:04.075	debug	req:{"cmd":"g","id":"01","ack":true,"val":"5a"}
          lgtv-rs.0	2017-12-30 17:01:04.074	debug	LG TV incomming: g 01 OK5ax
          lgtv-rs.0	2017-12-30 17:01:04.045	debug	
          lgtv-rs.0	2017-12-30 17:01:04.045	debug	Send Command: kg 00 ff
          lgtv-rs.0	2017-12-30 17:00:59.074	debug	name:volume
          lgtv-rs.0	2017-12-30 17:00:59.074	debug	req:{"cmd":"f","id":"01","ack":true,"val":"06"}
          lgtv-rs.0	2017-12-30 17:00:59.073	debug	LG TV incomming: f 01 OK06x
          lgtv-rs.0	2017-12-30 17:00:59.045	debug	
          lgtv-rs.0	2017-12-30 17:00:59.045	debug	Send Command: kf 00 ff
          lgtv-rs.0	2017-12-30 17:00:54.080	debug	name:mute
          lgtv-rs.0	2017-12-30 17:00:54.079	debug	req:{"cmd":"e","id":"01","ack":true,"val":"01"}
          lgtv-rs.0	2017-12-30 17:00:54.079	debug	LG TV incomming: e 01 OK01x
          lgtv-rs.0	2017-12-30 17:00:54.045	debug	
          lgtv-rs.0	2017-12-30 17:00:54.045	debug	Send Command: ke 00 ff
          lgtv-rs.0	2017-12-30 17:00:49.075	debug	name:screen-mute
          lgtv-rs.0	2017-12-30 17:00:49.075	debug	req:{"cmd":"d","id":"01","ack":true,"val":"00"}
          lgtv-rs.0	2017-12-30 17:00:49.074	debug	LG TV incomming: d 01 OK00x
          lgtv-rs.0	2017-12-30 17:00:49.045	debug	
          lgtv-rs.0	2017-12-30 17:00:49.045	debug	Send Command: kd 00 ff
          lgtv-rs.0	2017-12-30 17:00:44.106	debug	name:aspect-ratio
          lgtv-rs.0	2017-12-30 17:00:44.106	debug	req:{"cmd":"c","id":"01","ack":true,"val":"02"}
          lgtv-rs.0	2017-12-30 17:00:44.106	debug	LG TV incomming: c 01 OK02x
          lgtv-rs.0	2017-12-30 17:00:44.045	debug	
          lgtv-rs.0	2017-12-30 17:00:44.045	debug	Send Command: kc 00 ff
          lgtv-rs.0	2017-12-30 17:00:44.045	debug	name:power
          lgtv-rs.0	2017-12-30 17:00:44.045	debug	req:{"cmd":"a","id":"01","ack":true,"val":"01"}
          lgtv-rs.0	2017-12-30 17:00:44.044	debug	LG TV incomming: a 01 OK01x
          lgtv-rs.0	2017-12-30 17:00:44.012	debug	
          lgtv-rs.0	2017-12-30 17:00:44.012	debug	Send Command: ka 00 ff
          lgtv-rs.0	2017-12-30 17:00:39.010	info	LG TV connected to: 192.168.11.95:23
          lgtv-rs.0	2017-12-30 17:00:39.000	debug	LG TV connect to: 192.168.11.95:23
          lgtv-rs.0	2017-12-30 17:00:38.998	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:00:38.909	debug	statesDB connected
          lgtv-rs.0	2017-12-30 17:00:38.894	debug	objectDB connected
          lgtv-rs.0	2017-12-30 17:00:36.163	info	Reconnect after 60 sec...
          lgtv-rs.0	2017-12-30 17:00:36.162	error	Error socket: Reconnect after 15 sec...
          lgtv-rs.0	2017-12-30 17:00:36.162	error	LG TV LG TV disconnected
          
          1 Reply Last reply Reply Quote 0
          • I
            instalator last edited by

            в файле \iobroker.lgtv-rs\main.js закоменть строки с 199 по 203 включительно и рестартани драйвер в режиме дебаг - дай лог

            1 Reply Last reply Reply Quote 0
            • M
              MSapogov last edited by

              @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 и др…)

              1 Reply Last reply Reply Quote 0
              • I
                instalator last edited by

                @MSapogov:

                @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 и др…) `
                Обнови версию с гитхаба

                1 Reply Last reply Reply Quote 0
                • M
                  MSapogov last edited by

                  @instalator:

                  Обнови версию с гитхаба `
                  Все… теперь работает!

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  914
                  Online

                  31.6k
                  Users

                  79.4k
                  Topics

                  1.3m
                  Posts

                  2
                  7
                  2186
                  Loading More Posts
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes
                  Reply
                  • Reply as topic
                  Log in to reply
                  Community
                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                  The ioBroker Community 2014-2023
                  logo