grzegorz914/homebridge-lgwebos-tv

Visibility error: SyntaxError

badgertastic opened this issue · 7 comments

2.16.3

1/2/2024, 7:50:04 PM] [homebridge-lgwebos-tv] Device: 10.0.20.120 Media Room WebOS, Connected.
[1/2/2024, 7:50:04 PM] [homebridge-lgwebos-tv] -------- Media Room WebOS --------
[1/2/2024, 7:50:04 PM] [homebridge-lgwebos-tv] Manufacturer: LG Electronics
[1/2/2024, 7:50:04 PM] [homebridge-lgwebos-tv] Model: OLED77CX6LA
[1/2/2024, 7:50:04 PM] [homebridge-lgwebos-tv] System: webOSTV 5.0
[1/2/2024, 7:50:04 PM] [homebridge-lgwebos-tv] Serialnr: redacted
[1/2/2024, 7:50:04 PM] [homebridge-lgwebos-tv] Firmware: 04.50.52
[1/2/2024, 7:50:04 PM] [homebridge-lgwebos-tv] ----------------------------------
[1/2/2024, 7:50:04 PM] [homebridge-lgwebos-tv] Device: 10.0.20.120 Media Room WebOS, Read saved Inputs/Channels Target Visibility error: SyntaxError: Unexpected end of JSON input
[1/2/2024, 7:50:06 PM] [homebridge-lgwebos-tv] Device: 10.0.20.120 Media Room WebOS, Prepare accessory error: TypeError: Cannot read properties of undefined (reading 'airplay')

Downgraded to v2.14.12. Been unstable since. And now not responding at all. Thanks.

Just go to Home app and try to set input visibility for some input and the error will gone.

You mean to toggle the radio button for an input in the Home app device config screen?

oddly, there are no radio buttons. All the inputs are listed without radio buttons shown at all!

Yes

Go to Homebridge/lgwebosTv/folder and remove inputsVisibility and inputsNammes files and restart plugin

Ok I deleted the devices in home, removed the HomeKit caches (there were some duplicates), removed the entire contents of .homebridge/lgwebosTv started the plugin. Repaired 2 TVs. Added back to Home. Redded to scenes. Phew.. so far so good. Thanks.

I think this issue is solved, if no free to open it again.