homebridge-webos-tv: 2.0.0 Not working with my config anymore and crash - LG Modell 55EG9209-ZA, Software 04.26.00, webOS 2.2.3-1351 (beehive-biscayne)

Thanks for the ongoing development. However I have some trouble with 2.0.0. Nothing is working with my existing config. Buttons show up in Home App but no function. Neither the control buttons nor the notifications work. And I also got a shutdown after some time.

Going back to 1.9.3 and everything was working again.

{
            "platform": "webostv",
            "devices": [
                {
                    "name": "LG webOS TV",
                    "ip": "xxx.xxx.xxx.xx",
                    "mac": "a1:b2:c3:45:de:67",
                    "pollingInterval": 10,
                    "keyFile": "/home/pi/.homebridge/lgtvKeyFile",
                    "inputs": [
                        {
                            "appId": "maxdome",
                            "name": "Maxdome"
                        },
                        {
                            "appId": "com.webos.app.hdmi1",
                            "name": "Hauptbildschirm"
                        }
                    ],
                    "showInputButtons": true,
                    "volumeControl": "buttons",
                    "channelControl": false,
                    "mediaControl": false,
                    "notificationButtons": [
                        "Backofen vorgeheizt.",
                        "Wasserkocher fertig.",
                        "Haustür klingelt.",
                        "Luftqualität in der Wohnung schlecht. Bitte lüften."
                    ]
                }
            ]
        },
Sep 10 10:44:37 raspberrypi-3BPlus homebridge[7583]: [2020-9-10 10:44:37] TypeError: Cannot read property 'information' of undefined
Sep 10 10:44:37 raspberrypi-3BPlus homebridge[7583]:     at webosTvDevice.remoteKeyPress (/usr/local/lib/node_modules/homebridge-webos-tv/index.js:988:71)
Sep 10 10:44:37 raspberrypi-3BPlus homebridge[7583]:     at RemoteKey.emit (events.js:315:20)
Sep 10 10:44:37 raspberrypi-3BPlus homebridge[7583]:     at RemoteKey.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22)
Sep 10 10:44:37 raspberrypi-3BPlus homebridge[7583]:     at RemoteKey.Characteristic._this.setValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:652:12)
Sep 10 10:44:37 raspberrypi-3BPlus homebridge[7583]:     at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1439:24
Sep 10 10:44:37 raspberrypi-3BPlus homebridge[7583]:     at Array.forEach (<anonymous>)
Sep 10 10:44:37 raspberrypi-3BPlus homebridge[7583]:     at Accessory._this._handleSetCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1281:10)
Sep 10 10:44:37 raspberrypi-3BPlus homebridge[7583]:     at HAPServer.emit (events.js:315:20)
Sep 10 10:44:37 raspberrypi-3BPlus homebridge[7583]:     at HAPServer.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22)
Sep 10 10:44:37 raspberrypi-3BPlus homebridge[7583]:     at HAPServer._this._handleCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:812:12)
Sep 10 10:44:37 raspberrypi-3BPlus homebridge[7583]:     at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:280:24)
Sep 10 10:44:37 raspberrypi-3BPlus homebridge[7583]:     at IncomingMessage.emit (events.js:315:20)
Sep 10 10:44:37 raspberrypi-3BPlus homebridge[7583]:     at endReadableNT (_stream_readable.js:1220:12)
Sep 10 10:44:37 raspberrypi-3BPlus homebridge[7583]:     at processTicksAndRejections (internal/process/task_queues.js:84:21)
Sep 10 10:44:37 raspberrypi-3BPlus homebridge[7583]: [2020-9-10 10:44:37] Got SIGTERM, shutting down Homebridge...

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 27 (14 by maintainers)

Most upvoted comments

Try now on Twitter

Yup, fixed for me. Thanks. 👍🏻