grzegorz914 / homebridge-lgwebos-tv Goto Github PK
View Code? Open in Web Editor NEWHomebridge plugin for LG WebOS TV, publish as independent external platform accessory.
License: MIT License
Homebridge plugin for LG WebOS TV, publish as independent external platform accessory.
License: MIT License
[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'
@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
}
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?
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
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)
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] ----
It´s not possible to turn on/off the TV with the pluggin. Any idea how to fix it?
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)
When installing the package I get the following
Unexpected end of JSON input while parsing near '...KDT/tQ9FtqCY/b/zKKL+s'
One thing ive noticed is that the TV dosen't work from Standby, otherwise most other features work well
Please add an option to specify the update (polling) interval of data displayed in the Home app.
Thanks.
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...
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
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)
Netflix is open but Plex is shown as open:
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"
}
]
}
Hi! When i turn off the tv by de Remote controller it doesn't change the state.
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...
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
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
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?
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.
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
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?
I have Homebridge running for several light switches. After installing the lgwebos plugin it appears in the homebridge, but not in homekit. Any idea what I need to do?
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.
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.
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
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)
Why is the volume slider missing?
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!
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
}
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
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
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
(Latest version) Plugin when loaded causes homebridge to crash. Only able to use after removing plugin.
Could you make it possible so that the TV adds as a Bridged Accessory?
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?
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!
Hi there
What does the new mode setting do to inputs in your plugin?
Thanks for your development of this Homebridge plugin.
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:
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"
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)"
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.
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)
how can i add a MUTE button?
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.