Git Product home page Git Product logo

homebridge-lgwebos-tv's People

Contributors

dependabot[bot] avatar digoarj avatar garethflowers avatar grzegorz914 avatar konistehrad avatar mikeo7 avatar muenzpraeger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebridge-lgwebos-tv's Issues

inputsFile failed

[4/15/2020, 12:23:26 PM] [LgWebOsTv] Device: 192.168.0.108, read inputsFile failed, error: Error: ENOENT: no such file or directory, open '/Users/teresavetter/.homebridge/lgwebosTv/inputs_1921680108'
    at Object.openSync (fs.js:462:3)
    at Object.readFileSync (fs.js:364:35)
    at lgwebosTvDevice.prepareInputServices (/usr/local/lib/node_modules/homebridge-lgwebos-tv/index.js:422:31)
    at lgwebosTvDevice.prepareTvService (/usr/local/lib/node_modules/homebridge-lgwebos-tv/index.js:383:8)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7) {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: '/Users/username/.homebridge/lgwebosTv/inputs_1921680108'

Error: connect ETIMEDOUT

@grzegorz914 anything to worry about on this?

Device: 192.168.0.108, error: Error: connect ETIMEDOUT 192.168.0.108:3000
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) {
  errno: -60,
  code: 'ETIMEDOUT',
  syscall: 'connect',
  address: '192.168.0.108',
  port: 3000
}

I can't add LG TV to Homekit.

Hello,
I had my LG TV in Homekit for a long time. One day it stopped working and the TV was unreachable, then I deleted it from Homekit. The TV is still connected to homebridge and is working, but i can't add it to my Homekit. I tried restart it...
What should I do with that?

Loads in Home.app, but crashes Homebridge when interacted with

I get the device to display correctly, but I get this crash when I try to change an input or press power:
[Homebridge] [3/12/2020, 18:42:00] TypeError: Cannot read property 'lgtv' of undefined at /home/hoobs/.hoobs/node_modules/homebridge-lgwebos-tv/index.js:532:11 at lgwebosTvDevice.getInput (/home/hoobs/.hoobs/node_modules/homebridge-lgwebos-tv/index.js:520:4) at lgwebosTvDevice.setInput (/home/hoobs/.hoobs/node_modules/homebridge-lgwebos-tv/index.js:526:6) at Characteristic.ActiveIdentifier.<anonymous> (/home/hoobs/.hoobs/node_modules/homebridge-lgwebos-tv/index.js:310:10) at Characteristic.ActiveIdentifier.emit (events.js:210:5) at Characteristic.ActiveIdentifier.Characteristic.setValue (/home/hoobs/.hoobs/node_modules/@hoobs/hap/lib/Characteristic.js:323:10) at Accessory.<anonymous> (/home/hoobs/.hoobs/node_modules/@hoobs/hap/lib/Accessory.js:882:22) at Array.forEach (<anonymous>) at Accessory._handleSetCharacteristics (/home/hoobs/.hoobs/node_modules/@hoobs/hap/lib/Accessory.js:822:8) at HAPServer.emit (events.js:210:5) at HAPServer._handleCharacteristics (/home/hoobs/.hoobs/node_modules/@hoobs/hap/lib/HAPServer.js:974:10) at HAPServer.<anonymous> (/home/hoobs/.hoobs/node_modules/@hoobs/hap/lib/HAPServer.js:209:39) at IncomingMessage.emit (events.js:210:5) at endReadableNT (_stream_readable.js:1184:12) at processTicksAndRejections (internal/process/task_queues.js:80:21) [Homebridge] [3/12/2020, 18:42:00] Got SIGTERM, shutting down service...

-------- LG TV --------
Manufacturer: LG Electronics
Model: HU80KS-NA
System: webOSTV 3.5
Serialnumber: 20:17:42:18:f9:b8
Firmware: 00.11

Play/Pause button on RC reboots homebridge (SIGTERM)

TV: OLED55C8PUA (webOSTV 4.0 / Firmware: 10.45)
iOS version: 13.5
Homebridge version: 1.1.0
Plugins versions:

homebridge-config-ui-x v4.20.0
homebridge-lgwebos-tv v0.10.58

Error in the log:

ReferenceError: me is not defined
    at lgwebosTvDevice.setRemoteKey (/usr/local/lib/node_modules/homebridge-lgwebos-tv/index.js:786:6)
    at RemoteKey.emit (events.js:310:20)
    at RemoteKey.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22)
    at RemoteKey.Characteristic._this.setValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:625:12)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1437:24
    at Array.forEach (<anonymous>)
    at Accessory._this._handleSetCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1279:10)
    at HAPServer.emit (events.js:310:20)
    at HAPServer.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22)
    at HAPServer._this._handleCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:812:12)
    at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:280:24)
    at IncomingMessage.emit (events.js:310:20)
    at endReadableNT (_stream_readable.js:1187:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)

TV still connected and disconnected in circle

Hello,

I have this issue with plugin, everything works well before. MAC address I deleted.
I deleted all settings, uninstall plugin and start from 0, still same. On TV I confirmed access.

2020-5-31 22:02:33] [LgWebOsTv] ----------------------------------
[2020-5-31 22:02:35] [LgWebOsTv] Device: 192.168.5.55 LG TV, disconnected.
[2020-5-31 22:02:38] [LgWebOsTv] Device: 192.168.5.55 LG TV, connected.
[2020-5-31 22:02:38] [LgWebOsTv] Device: 192.168.5.55 LG TV, get current Power state successful: ON
[2020-5-31 22:02:38] [LgWebOsTv] Device: 192.168.5.55 LG TV, RC socket connected.
[2020-5-31 22:02:38] [LgWebOsTv] -------- LG TV --------
[2020-5-31 22:02:38] [LgWebOsTv] Manufacturer: LG Electronics
[2020-5-31 22:02:38] [LgWebOsTv] Model: 65UH664V-ZC
[2020-5-31 22:02:38] [LgWebOsTv] System: webOSTV 3.0
[2020-5-31 22:02:38] [LgWebOsTv] Serialnumber: deleted
[2020-5-31 22:02:38] [LgWebOsTv] Firmware: 50.80
[2020-5-31 22:02:38] [LgWebOsTv] ----------------------------------
[2020-5-31 22:02:40] [LgWebOsTv] Device: 192.168.5.55 LG TV, disconnected.
[2020-5-31 22:02:43] [LgWebOsTv] Device: 192.168.5.55 LG TV, connected.
[2020-5-31 22:02:43] [LgWebOsTv] Device: 192.168.5.55 LG TV, get current Power state successful: ON
[2020-5-31 22:02:43] [LgWebOsTv] Device: 192.168.5.55 LG TV, RC socket connected.
[2020-5-31 22:02:44] [LgWebOsTv] -------- LG TV --------
[2020-5-31 22:02:44] [LgWebOsTv] Manufacturer: LG Electronics
[2020-5-31 22:02:44] [LgWebOsTv] Model: 65UH664V-ZC
[2020-5-31 22:02:44] [LgWebOsTv] System: webOSTV 3.0
[2020-5-31 22:02:44] [LgWebOsTv] Serialnumber: deleted
[2020-5-31 22:02:44] [LgWebOsTv] Firmware: 50.80
[2020-5-31 22:02:44] [LgWebOsTv] ----------------------------------
[2020-5-31 22:02:46] [LgWebOsTv] Device: 192.168.5.55 LG TV, disconnected.
[2020-5-31 22:02:49] [LgWebOsTv] Device: 192.168.5.55 LG TV, connected.
[2020-5-31 22:02:49] [LgWebOsTv] Device: 192.168.5.55 LG TV, get current Power state successful: ON
[2020-5-31 22:02:49] [LgWebOsTv] Device: 192.168.5.55 LG TV, RC socket connected.
[2020-5-31 22:02:49] [LgWebOsTv] -------- LG TV --------
[2020-5-31 22:02:49] [LgWebOsTv] Manufacturer: LG Electronics
[2020-5-31 22:02:49] [LgWebOsTv] Model: 65UH664V-ZC
[2020-5-31 22:02:49] [LgWebOsTv] System: webOSTV 3.0
[2020-5-31 22:02:49] [LgWebOsTv] Serialnumber: deleted
[2020-5-31 22:02:49] [LgWebOsTv] Firmware: 50.80
[2020-5-31 22:02:49] [LgWebOsTv] ----------------------------------
[2020-5-31 22:02:51] [LgWebOsTv] Device: 192.168.5.55 LG TV, disconnected.
[2020-5-31 22:02:54] [LgWebOsTv] Device: 192.168.5.55 LG TV, connected.
[2020-5-31 22:02:54] [LgWebOsTv] Device: 192.168.5.55 LG TV, get current Power state successful: ON
[2020-5-31 22:02:54] [LgWebOsTv] Device: 192.168.5.55 LG TV, RC socket connected.
[2020-5-31 22:02:55] [LgWebOsTv] -------- LG TV --------
[2020-5-31 22:02:55] [LgWebOsTv] Manufacturer: LG Electronics
[2020-5-31 22:02:55] [LgWebOsTv] Model: 65UH664V-ZC
[2020-5-31 22:02:55] [LgWebOsTv] System: webOSTV 3.0
[2020-5-31 22:02:55] [LgWebOsTv] Serialnumber: deleted
[2020-5-31 22:02:55] [LgWebOsTv] Firmware: 50.80
[2020-5-31 22:02:55] [LgWebOsTv] ----

Plugin causes home bridge to crash (0.10.96) - but only when volume is enabled:

Still happens on the latest version (0.10.96) - but only when volume is enabled:

[5/23/2020, 17:32:36] TypeError: Cannot read property 'updateValue' of undefined
    at Lightbulb.Service._this.updateCharacteristic (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Service.ts:324:34)
    at /usr/local/lib/node_modules/homebridge-lgwebos-tv/index.js:404:24
    at Object.callbacks.<computed> (/usr/local/lib/node_modules/homebridge-lgwebos-tv/node_modules/lgtv2/index.js:216:25)
    at WebSocketConnection.<anonymous> (/usr/local/lib/node_modules/homebridge-lgwebos-tv/node_modules/lgtv2/index.js:146:48)
    at WebSocketConnection.emit (events.js:310:20)
    at WebSocketConnection.processFrame (/usr/local/lib/node_modules/homebridge-lgwebos-tv/node_modules/websocket/lib/WebSocketConnection.js:554:26)
    at /usr/local/lib/node_modules/homebridge-lgwebos-tv/node_modules/websocket/lib/WebSocketConnection.js:323:40
    at processTicksAndRejections (internal/process/task_queues.js:79:11)

[5/23/2020, 17:32:36] Got SIGTERM, shutting down Homebridge...
[5/23/2020, 17:32:36] [LgWebOsTv] Device: 192.168.1.239 LG TV, RC socket connected.
[5/23/2020, 17:32:37] [LgWebOsTv] -------- LG TV --------
[5/23/2020, 17:32:37] [LgWebOsTv] Manufacturer: LG Electronics
[5/23/2020, 17:32:37] [LgWebOsTv] Model: 43UK6300PLB
[5/23/2020, 17:32:37] [LgWebOsTv] System: webOSTV 4.0

Originally posted by @dbrookes in #34 (comment)

Old LG Tv not working

With the new update my LG 55 "does not work anymore, HB does not start. I have tried with my other LG 43" newer TV and it works ok.
My LG 55 "worked with the old version. I'll get it in Log

,27.5.2020 01.29.48 [LgWebOsTv] Device: 192.168.0.180 TV LG 55, disconnected.
27.5.2020 01.29.48 TypeError: Cannot read property 'updateCharacteristic' of undefined
at LGTV. (/home/hoobs/.hoobs/node_modules/homebridge-lgwebos-tv/index.js:194:27)
at LGTV.emit (events.js:223:5)
at WebSocketConnection. (/home/hoobs/.hoobs/node_modules/lgtv2/index.js:108:18)
at WebSocketConnection.emit (events.js:223:5)
at WebSocketConnection.handleSocketClose (/home/hoobs/.hoobs/node_modules/websocket/lib/WebSocketConnection.js:389:14)
at Socket.emit (events.js:223:5)
at TCP. (net.js:664:12)
27.5.2020 01.29.48 Got SIGTERM, shutting down Bridge...

RC Commands restart homebridge 'tme not defined'

homebridge-lgwebos-tv v0.10.66

eferenceError: tme is not defined
at lgwebosTvDevice.setRemoteKey (/homebridge/node_modules/homebridge-lgwebos-tv/index.js:755:31)
at RemoteKey.emit (events.js:310:20)
at RemoteKey.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22)
at RemoteKey.Characteristic._this.setValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:625:12)
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1437:24
at Array.forEach ()
at Accessory._this._handleSetCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1279:10)
at HAPServer.emit (events.js:310:20)
at HAPServer.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22)
at HAPServer._this._handleCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:8

Error after update to 0.11.110

ReferenceError: openwebIfTvDevice is not defined
   at HomebridgeAPI.<anonymous> (/usr/lib/node_modules/homebridge-lgwebos-tv/index.js:44:32)
   at HomebridgeAPI.emit (events.js:322:22)
   at HomebridgeAPI.signalFinished (/usr/lib/node_modules/homebridge/src/api.ts:251:10)
   at Server.start (/usr/lib/node_modules/homebridge/src/server.ts:159:14)
   at cli (/usr/lib/node_modules/homebridge/src/cli.ts:80:10)
   at Object.<anonymous> (/usr/lib/node_modules/homebridge/bin/homebridge:17:22)
   at Module._compile (internal/modules/cjs/loader.js:1133:30)
   at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
   at Module.load (internal/modules/cjs/loader.js:977:32)
   at Function.Module._load (internal/modules/cjs/loader.js:877:14)

Incorrect Input is being reported

Netflix is open but Plex is shown as open:

image

Logs:

[5/10/2020, 15:32:42] [LgWebOsTv] Device: 10.0.0.63 New Room TV 2, state: Online.
[5/10/2020, 15:32:42] [LgWebOsTv] Device: 10.0.0.63 New Room TV 2, waiting on confirmation...
...
[5/10/2020, 15:33:09] [LgWebOsTv] Device: 10.0.0.63 New Room TV 2, state: Online.
[5/10/2020, 15:33:09] [LgWebOsTv] Device: 10.0.0.63 New Room TV 2, get current Power state successful: ON
{
                    "name": "New Room TV 2",
                    "host": "10.0.0.63",
                    "mac": "xx",
                    "volumeControl": false,
                    "switchInfoMenu": false,
                    "inputs": [
                        {
                            "name": "Plex",
                            "reference": "cdp-30"
                        },
                        {
                            "name": "Netflix",
                            "reference": "netflix"
                        },
                        {
                            "name": "Prime Video",
                            "reference": "amazon.global"
                        },
                        {
                            "name": "YouTube",
                            "reference": "youtube.leanback.v4"
                        }
                    ]
                }

This plugin is crashing Homebridge

Tried reinstalling, same thing.

[6/6/2020, 3:08:46 PM] TypeError: Cannot read property 'updateCharacteristic' of undefined
    at LGTV.<anonymous> (/usr/lib/node_modules/homebridge-lgwebos-tv/index.js:190:27)
    at LGTV.emit (events.js:315:20)
    at WebSocketConnection.<anonymous> (/usr/lib/node_modules/homebridge-lgwebos-tv/node_modules/lgtv2/index.js:108:18)
    at WebSocketConnection.emit (events.js:315:20)
    at WebSocketConnection.handleSocketClose (/usr/lib/node_modules/homebridge-lgwebos-tv/node_modules/websocket/lib/WebSocketConnection.js:389:14)
    at Socket.emit (events.js:315:20)
    at TCP.<anonymous> (net.js:674:12)

Homebridge keeps restarting and crashing...

Incorrect TV State is being reported

The plugin is showing the TV is off even when it is powered on.

Tried restarting Homebridge.

[4/20/2020, 17:38:42] [LgWebOsTv] Device: 10.0.0.62, connected.
[4/20/2020, 17:38:42] [LgWebOsTv] Device: 10.0.0.62, get current Power state successful: STANDBY
[4/20/2020, 17:38:42] [LgWebOsTv] Device: 10.0.0.62, get current App reference successfull: com.webos.app.livetv
[4/20/2020, 17:38:42] [LgWebOsTv] Device: 10.0.0.62, get current Mute state: OFF
[4/20/2020, 17:38:42] [LgWebOsTv] Device: 10.0.0.62, get current Volume level: 25
[4/20/2020, 17:38:42] [LgWebOsTv] -------- Old Room TV --------
[4/20/2020, 17:38:42] [LgWebOsTv] Manufacturer: LG Electronics
[4/20/2020, 17:38:42] [LgWebOsTv] Model: homebridge-lgwebos-tv
[4/20/2020, 17:38:42] [LgWebOsTv] System: undefined
[4/20/2020, 17:38:42] [LgWebOsTv] Serialnumber: SN0000004
[4/20/2020, 17:38:42] [LgWebOsTv] Firmware: FW0000004
[4/20/2020, 17:38:42] [LgWebOsTv] ----------------------------------
[4/20/2020, 17:38:42] [LgWebOsTv] Device: 10.0.0.62, get RC socket succesfull
[4/20/2020, 17:38:43] [LgWebOsTv] Device: 10.0.0.62, get current Channel successfull: 1, 
[4/20/2020, 17:38:55] [LgWebOsTv] Device: 10.0.0.62, get current App reference successfull: netflix
[4/20/2020, 17:45:42] [LgWebOsTv] Device: 10.0.0.62, get current Volume level: 26
[4/20/2020, 17:45:42] [LgWebOsTv] Device: 10.0.0.62, get current Volume level: 27
[4/20/2020, 17:45:42] [LgWebOsTv] Device: 10.0.0.62, get current Volume level: 28
[4/20/2020, 17:45:42] [LgWebOsTv] Device: 10.0.0.62, get current Volume level: 29
[4/20/2020, 17:45:42] [LgWebOsTv] Device: 10.0.0.62, get current Volume level: 30
[4/20/2020, 17:45:42] [LgWebOsTv] Device: 10.0.0.62, get current Volume level: 31
[4/20/2020, 17:45:42] [LgWebOsTv] Device: 10.0.0.62, get current Volume level: 32
[4/20/2020, 17:45:42] [LgWebOsTv] Device: 10.0.0.62, get current Volume level: 33
[4/20/2020, 17:45:43] [LgWebOsTv] Device: 10.0.0.62, get current Volume level: 34
[4/20/2020, 17:51:14] [LgWebOsTv] Device: 10.0.0.63, get current Power state successfull, state: OFF
[4/20/2020, 17:51:26] [LgWebOsTv] Device: 10.0.0.62, get current Power state successfull, state: OFF
[4/20/2020, 17:51:53] [LgWebOsTv] Device: 10.0.0.62, get current Power state successfull, state: OFF
[4/20/2020, 17:51:53] [LgWebOsTv] Device: 10.0.0.63, get current Power state successfull, state: OFF
[4/20/2020, 17:51:59] [LgWebOsTv] Device: 10.0.0.62, get current Power state successfull, state: OFF
[4/20/2020, 17:51:59] [LgWebOsTv] Device: 10.0.0.63, get current Power state successfull, state: OFF

Can’t rename the input Name

I have renamed the input in HomeKit, but doesn’t save . It was fine last couple days until Today. I updated the app last night.
7D7BBCCD-AEC5-42E3-B2E5-AE6451C223A6
A8DE6E8B-230F-4321-B621-384BDC75E36E

Off power state inconsistent with TV.

Hi,

Off power state inconsistent with TV.

Power state in the Home app lags. If I turn the TV off using the LG TV remote I get the following.

This message occurs when I turn the TV off by the LG remote.
[5/24/2020, 4:11:08 PM] [LgWebOsTv] Device: 192.168.15.143 Lounge Television, state: Offline.

However, when I open the home app I get these messages and it shows the TV ON.

[5/24/2020, 4:11:40 PM] [LgWebOsTv] Device: 192.168.15.143 Lounge Television, get current Power state successfull, state: ON
[5/24/2020, 4:11:40 PM] [LgWebOsTv] Device: 192.168.15.143 Lounge Television, get current Mute state successful: OFF
[5/24/2020, 4:11:40 PM] [LgWebOsTv] Device: 192.168.15.143 Lounge Television, get current Input successful: Foxtel com.webos.app.hdmi1
[5/24/2020, 4:11:40 PM] [LgWebOsTv] Device: 192.168.15.143 Lounge Television, get current Volume level successful: 32

Close reopen the home app.

[5/24/2020, 4:11:45 PM] [LgWebOsTv] Device: 192.168.15.143 Lounge Television, get current Power state successfull, state: ON
[5/24/2020, 4:11:45 PM] [LgWebOsTv] Device: 192.168.15.143 Lounge Television, get current Input successful: Foxtel com.webos.app.hdmi1
[5/24/2020, 4:11:45 PM] [LgWebOsTv] Device: 192.168.15.143 Lounge Television, get current Mute state successful: OFF
[5/24/2020, 4:11:45 PM] [LgWebOsTv] Device: 192.168.15.143 Lounge Television, get current Volume level successful: 32

And close and reopen again still ON in the Home app.
[5/24/2020, 4:12:18 PM] [LgWebOsTv] Device: 192.168.15.143 Lounge Television, get current Power state successfull, state: ON
[5/24/2020, 4:12:18 PM] [LgWebOsTv] Device: 192.168.15.143 Lounge Television, get current Mute state successful: OFF
[5/24/2020, 4:12:18 PM] [LgWebOsTv] Device: 192.168.15.143 Lounge Television, get current Input successful: Foxtel com.webos.app.hdmi1
[5/24/2020, 4:12:18 PM] [LgWebOsTv] Device: 192.168.15.143 Lounge Television, get current Volume level successful: 32

Then I see this message in the log

[5/24/2020, 4:12:28 PM] [LgWebOsTv] Device: 192.168.15.143 Lounge Television, disconnected.

Close and reopen the Home app and the TV finally shows up as off.

[5/24/2020, 4:13:00 PM] [LgWebOsTv] Device: 192.168.15.143 Lounge Television, get current Power state successfull, state: OFF
[5/24/2020, 4:13:00 PM] [LgWebOsTv] Device: 192.168.15.143 Lounge Television, get current Mute state successful: ON
[5/24/2020, 4:13:00 PM] [LgWebOsTv] Device: 192.168.15.143 Lounge Television, get current Input successful: Foxtel com.webos.app.hdmi1
[5/24/2020, 4:13:00 PM] [LgWebOsTv] Device: 192.168.15.143 Lounge Television, get current Volume level successful: 32

Volume control

Hi is the volume control dimmer supposed to work with all WebOS TV's? I have an OLED65C7 and it doesn't work. I can control the volume using apple TV remote in control centre but not from the brightness and thus not from Siri either. Also, is the way of displaying the current TV channel when on live TV?

TV cannot be controlled unless manually turned on

I am seeing this issue when the TV is powered off for a longer period of time I can no longer use the Home app to power it on. I have to power it on with the TV remote and then I am able to use it with the home app. I believe it is dropping from my network or maybe entering some deep sleep, but I feel like I have the TV set up properly so it won't do that.

Anyway, here are the debug logs of HomeBridge while hitting the issue.

debug.log

I see this line repeated
�[5/29/2020, 3:57:14 PM] �[LgWebOsTv] �Device: 192.168.1.207 LG TV, connecting...�

and then try to power on in the Home app
�[5/29/2020, 3:56:16 PM] �[LgWebOsTv] Device: 192.168.1.207 LG TV, set new Power state successful: ON

but it still is trying to connect to the TV until I finally power on manually with the LG remote
�[5/29/2020, 3:57:41 PM] �[LgWebOsTv] �Device: 192.168.1.207 LG TV, state: Online.

This is on an LG C7

Feature Request - Input

Is there away you could implement to have default inputs and then they can possibly be hidden if chosen in the config.schema.json? Just something I thought I would ask?

Plugin is in constant “update” mode

I have installed the latest version.
I click the update button of the plugin in the web ui, the process works but on the next start of homebridge the update button is there again.

Plugin is crashing on restart after updating to 0.10.79

After updating to homebridge-lgwebos-tv v0.10.79, the plugin crashes:

TypeError: Cannot read property 'indexOf' of undefined at Object.7d196e630004 (/usr/lib/node_modules/homebridge-lgwebos-tv/index.js:371:46) at WebSocketConnection.<anonymous> (/usr/lib/node_modules/homebridge-lgwebos-tv/node_modules/lgtv2/index.js:146:48) at WebSocketConnection.emit (events.js:310:20) at WebSocketConnection.processFrame (/usr/lib/node_modules/homebridge-lgwebos-tv/node_modules/websocket/lib/WebSocketConnection.js:554:26) at /usr/lib/node_modules/homebridge-lgwebos-tv/node_modules/websocket/lib/WebSocketConnection.js:323:40 at processTicksAndRejections (internal/process/task_queues.js:79:11)

With the previous version everything was running smoothly.

Add channel input example

Please can you add an example where you setup a channel?
Because I don't understand how to config it.

{
"name": "Channel 1",
"reference": "WHAT?"
"type": "TUNER"
"mode": "WHAT?"
}

Thanks for the help

Pluggin Crashing when using any RC buttons v0.10.84

ReferenceError: tme is not defined
at lgwebosTvDevice.setRemoteKey (/homebridge/node_modules/homebridge-lgwebos-tv/index.js:760:31)
at RemoteKey.emit (events.js:310:20)
at RemoteKey.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22)
at RemoteKey.Characteristic._this.setValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:625:12)
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1437:24
at Array.forEach ()
at Accessory._this._handleSetCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1279:10)
at HAPServer.emit (events.js:310:20)
at HAPServer.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22)
at HAPServer._this._handleCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:812:12)

Log from New Homebridge Beta

The plugin "homebridge-lgwebos-tv" defines 'homebridge' and/or 'hap-nodejs' in their 'dependencies' section, meaning they carry an additional copy of homebridge and hap-nodejs. This not only wastes disk space, but also can cause major incompatibility issues and thus is considered bad practice. Please inform the developer to update their plugin!

wake on lan error

I have the plugin working well but the only problem is the wake on lan
when tv is on I can control all features without problem, even turn off. But I cannot turn on the tv
Log:
[Alexa] PowerController TurnOff 192.168.1.100 39699 undefined Error: connect ECONNREFUSED 192.168.1.100:39699
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) {
errno: 'ECONNREFUSED',
code: 'ECONNREFUSED',
syscall: 'connect',
address: '192.168.1.100',
port: 39699,
attempts: 1
}

Cannot read property 'reference' of undefined

Since 0.93 I have this error and homebridge does not start. I have configured the inputs with "Input type" parameter. I have also deleted all entries. The error is still there

5/14/2020, 10:17:35 AM] Homebridge is running on port 53686.
[5/14/2020, 10:17:36 AM] TypeError: Cannot read property 'reference' of undefined
at /homebridge/node_modules/homebridge-lgwebos-tv/index.js:295:31
at Array.forEach ()
at lgwebosTvDevice.prepareInputsService (/homebridge/node_modules/homebridge-lgwebos-tv/index.js:292:15)
at lgwebosTvDevice.prepareTelevisionService (/homebridge/node_modules/homebridge-lgwebos-tv/index.js:238:8)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)
[5/14/2020, 10:17:36 AM] Got SIGTERM, shutting down Homebridge...
Websocket failed to connect. Is the server running

support for even older devices

Hi! I still have a 2012 LG HDTV as a secondary TV in my bedroom. As far as I can tell it's not running WebOS....would it be possible to also make the plug-in compatible with that? there are others but they only give me a lightbulb and not a TV in the home app

LG 47LA860v control

Hi! I could to add a TV 47LA860v in the Home, but can't do anything with it: volume control, Power ON/OFF. RC app on iPhone does not see TV

Version 0.8.7 bug

11/05/2020, 15:47:34 ReferenceError: homebridge is not defined
at Object. (/home/hoobs/.hoobs/node_modules/homebridge-lgwebos-tv/index.js:9:24)
at Module._compile (internal/modules/cjs/loader.js:955:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)
at Module.load (internal/modules/cjs/loader.js:811:32)
at Function.Module._load (internal/modules/cjs/loader.js:723:14)
at Module.require (internal/modules/cjs/loader.js:848:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Plugin.load (/usr/local/lib/node_modules/@hoobs/hoobs/bridge/plugin.js:44:35)
at /usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:152:24
at Array.forEach ()
11/05/2020, 15:47:35 The requested platform "LgWebOsTv" was not registered by any plugin.
11/05/2020, 15:47:35 Your config.json is requesting the platform "LgWebOsTv" which has not been published by any installed plugins.

This error occurred after installing the latest update.

Could you help?

Disable brightness (volume) slider

How do I disable the new brightness/volume slider? It’s causing major issues in my configuration. Turning my living room lights to max brightness also turns TV to max volume... I’d rather not have the volume slider as a lightbulb.

Thanks!

Inputs: mode setting

Hi there

What does the new mode setting do to inputs in your plugin?

Thanks for your development of this Homebridge plugin.

Screensaver changes powerstate to OFF

Every time the fireworks screensaver comes on the powerstate switches to OFF and the accessory won't work until homebridge is restarted.

TV: OLED55C8PUA (webOSTV 4.0 / Firmware: 10.45)
iOS version: 13.5
Homebridge version: 1.1.0
Plugins versions:

  • homebridge-config-ui-x v4.20.0
  • homebridge-lgwebos-tv v0.10.58

Can't rename HDMI Ports & Can't delete Live TV

If I rename the HDMI Ports in the home app it will change back to HDMI 1 or 2 or 3 depending on which I have renamed. Also I can't remove Live TV. Some People use a Set-Top-Box so there should be an option to remove "Live TV"

get System info error: Error: not connected

Since the latest two updates I receive this error and therefore my homebridge does no longer start:

"[5/25/2020, 22:10:02] [LgWebOsTv] Device: 192.168.178.11 Fernseher, get System info error: Error: not connected
at LGTV.send (/usr/local/lib/node_modules/homebridge-lgwebos-tv/node_modules/lgtv2/index.js:196:20)
at LGTV.request (/usr/local/lib/node_modules/homebridge-lgwebos-tv/node_modules/lgtv2/index.js:181:14)
at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-lgwebos-tv/index.js:235:12)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)"

Remote bug

The remote in version 0.9.67 when pressed key “ok” turn off the tv.

16/05/2020, 12:38:10 [LgWebOsTv] Device: 192.168.1.172 Luis LG TV, setRemoteKey successful, remoteKey: 8, command: ENTER
16/05/2020, 12:38:10 [LgWebOsTv] Device: 192.168.1.172 Luis LG TV, set new Power state successful: STANDBY
16/05/2020, 12:38:10 [LgWebOsTv] Device: 192.168.1.172 Luis LG TV, disconnected.

Remote Style on Homekit

Hi in your description you show a remote style on home kit of the TV
Screenshot 2020-05-26 at 11 21 52
Does it work for all LG? And if yes what is the trick to enable it ?

Error while using 0.11.0114

TypeError: Cannot read property 'updateCharacteristic' of undefined
at LGTV. (/usr/lib/node_modules/homebridge-lgwebos-tv/index.js:190:27)
at LGTV.emit (events.js:315:20)
at WebSocketConnection. (/usr/lib/node_modules/homebridge-lgwebos-tv/node_modules/lgtv2/index.js:108:18)
at WebSocketConnection.emit (events.js:315:20)
at WebSocketConnection.handleSocketClose (/usr/lib/node_modules/homebridge-lgwebos-tv/node_modules/websocket/lib/WebSocketConnection.js:389:14)
at Socket.emit (events.js:315:20)
at TCP. (net.js:674:12)

The state in Homekit displays ON despite the TV is off.

When operated with original remote and turning the TV off, the state in Homekit remains ON. Below you can see, that I shut the TV down 08:59 but STANDBY state in Homebridge, which changes the state in Homekit, appeared 09:03 when I refreshed Home app. I have wall mounted iPads and it would be nice when the OFF state will change without refreshing. The ON command works, when I turn the TV on with original remote the state changes immediately in Homekit.
Edit: for what it is worth the input state changes immediately in Homekit, the problem is only with off command.

[5/2/2020, 08:59:42] [LgWebOsTv] Device: 192.168.1.88, get current Power state successful: ON
[5/2/2020, 08:59:42] [LgWebOsTv] Device: 192.168.1.88, get current Input successful:
[5/2/2020, 08:59:49] [LgWebOsTv] Device: 192.168.1.88, name: II Elutuba TV, state: Offline
[5/2/2020, 08:59:49] [LgWebOsTv] Device: 192.168.1.88, disconnected.
[5/2/2020, 09:03:36] [LgWebOsTv] Device: 192.168.1.88, get current Power state successfull, state: STANDBY

Missing inputs file

Seem to be missing a file was never generated during install. Homebridge also crashes when trying to switch inputs on the home app.

[4/22/2020, 8:27:17 PM] [LgWebOsTv] Device: 192.168.15.143, read inputsFile failed, error: Error: ENOENT: no such file or directory, open '/root/.homebridge/lgwebosTv/inputs_19216815143' at Object.openSync (fs.js:461:3) at Object.readFileSync (fs.js:363:35) at lgwebosTvDevice.prepareInputServices (/usr/local/lib/node_modules/homebridge-lgwebos-tv/index.js:424:31) at lgwebosTvDevice.prepareTvService (/usr/local/lib/node_modules/homebridge-lgwebos-tv/index.js:385:8) at listOnTimeout (internal/timers.js:549:17) at processTimers (internal/timers.js:492:7) { errno: -2, syscall: 'open', code: 'ENOENT', path: '/root/.homebridge/lgwebosTv/inputs_19216815143'

[4/22/2020, 8:40:50 PM] [LgWebOsTv] Device: 192.168.15.143, get current Input successful: com.webos.app.hdmi1 [4/22/2020, 8:40:50 PM] [LgWebOsTv] Device: 192.168.15.143, set new Input successful: function() { if (called) { throw new Error("This callback function has already been called by someone else; it can only be called one time."); } else { called = true; return func.apply(this, arguments); } } [4/22/2020, 8:40:50 PM] Got SIGTERM, shutting down Homebridge.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.