grzegorz914 / homebridge-lgwebos-tv

Homebridge plugin for LG WebOS TV, publish as independent external platform accessory.
MIT License
135 stars 15 forks source link

WebOs 3.30.14 - not working #151

Closed fadelguy closed 1 year ago

fadelguy commented 1 year ago

Hi,

I have been using this plugin for a few months. Today the TV was updated to version 3.30.14 and the plugin stopped working. I'm the logs I see that plugin can't connect to the TV.

09/01/2023, 19:09:01HomeLgWebOsTvDevice: x.x.x.x LG TV, debug: Socked connect error: Error: read ECONNRESET, reconnect in 5s.

Please advise.

grzegorz914 commented 1 year ago

Debug log please.

fadelguy commented 1 year ago

I can turn on the TV, But after seconds the tv switch in homekl app turn off but the tv stay on.

This is the log:

10/01/2023, 18:07:12HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect error: Error: connect EHOSTUNREACH 192.168.50.54:3000, reconnect in 5s. 10/01/2023, 18:07:12HomeLgWebOsTvDevice: 192.168.50.54 LG TV, read webOS Info: { "webOS": "7" } 10/01/2023, 18:07:12HomeLgWebOsTvDevice: 192.168.50.54 LG TV, saved Inputs: [ { "name": "AirPlay", "reference": "airplay", "type": "APPLICATION", "mode": 0 }, { "name": "Amazon Alexa", "reference": "amazon.alexapr", "type": "APPLICATION", "mode": 0 }, { "name": "Partner tv", "reference": "co.il.partnertv", "type": "APPLICATION", "mode": 0 }, { "name": "Apple TV", "reference": "com.apple.appletv", "type": "APPLICATION", "mode": 0 }, { "name": "GeForce NOW", "reference": "com.geforcenow.play", "type": "APPLICATION", "mode": 0 }, { "name": "שימוש ראשון", "reference": "com.palm.app.firstuse", "type": "APPLICATION", "mode": 0 }, { "name": "הגדרות", "reference": "com.palm.app.settings", "type": "APPLICATION", "mode": 0 }, { "name": "LivePlus", "reference": "com.webos.app.acrcomponent", "type": "APPLICATION", "mode": 0 }, { "name": "LivePlus", "reference": "com.webos.app.acrhdmi1", "type": "APPLICATION", "mode": 0 }, { "name": "LivePlus", "reference": "com.webos.app.acrhdmi2", "type": "APPLICATION", "mode": 0 }, { "name": "LivePlus", "reference": "com.webos.app.acrhdmi3", "type": "APPLICATION", "mode": 0 }, { "name": "LivePlus", "reference": "com.webos.app.acrhdmi4", "type": "APPLICATION", "mode": 0 }, { "name": "LivePlus", "reference": "com.webos.app.acroverlay", "type": "APPLICATION", "mode": 0 }, { "name": "פרסומת", "reference": "com.webos.app.adapp", "type": "APPLICATION", "mode": 0 }, { "name": "APP CASTING", "reference": "com.webos.app.appcasting", "type": "APPLICATION", "mode": 0 }, { "name": "BeanBrowser", "reference": "com.webos.app.beanbrowser", "type": "APPLICATION", "mode": 0 }, { "name": "Booteffect", "reference": "com.webos.app.booteffect", "type": "APPLICATION", "mode": 0 }, { "name": "דפדפן אינטרנט", "reference": "com.webos.app.browser", "type": "APPLICATION", "mode": 0 }, { "name": "הפעלת שמע Bluetooth", "reference": "com.webos.app.btspeakerapp", "type": "APPLICATION", "mode": 0 }, { "name": "Bluetooth Surround Auto Tuning", "reference": "com.webos.app.btsurroundautotuning", "type": "APPLICATION", "mode": 0 }, { "name": "מצלמה", "reference": "com.webos.app.camera", "type": "APPLICATION", "mode": 0 }, { "name": "Remote Management for OLED TV", "reference": "com.webos.app.care365", "type": "APPLICATION", "mode": 0 }, { "name": "מנהל ערוץ", "reference": "com.webos.app.channeledit", "type": "APPLICATION", "mode": 0 }, { "name": "כוונון ערוצים", "reference": "com.webos.app.channelsetting", "type": "APPLICATION", "mode": 0 }, { "name": "הגדרות שלט אוניברסלי", "reference": "com.webos.app.connectionwizard", "type": "APPLICATION", "mode": 0 }, { "name": "Connected Red Button", "reference": "com.webos.app.crb", "type": "APPLICATION", "mode": 0 }, { "name": "מחלקת תמיכה ללקוחות", "reference": "com.webos.app.customersupport", "type": "APPLICATION", "mode": 0 }, { "name": "Apps", "reference": "com.webos.app.discovery", "type": "APPLICATION", "mode": 0 }, { "name": "DvrPopup", "reference": "com.webos.app.dvrpopup", "type": "APPLICATION", "mode": 0 }, { "name": "AV", "reference": "com.webos.app.externalinput.av1", "type": "APPLICATION", "mode": 0 }, { "name": "AV2", "reference": "com.webos.app.externalinput.av2", "type": "APPLICATION", "mode": 0 }, { "name": "רכיב", "reference": "com.webos.app.externalinput.component", "type": "APPLICATION", "mode": 0 }, { "name": "AV1", "reference": "com.webos.app.externalinput.scart", "type": "APPLICATION", "mode": 0 }, { "name": "Thirdparty Login", "reference": "com.webos.app.facebooklogin", "type": "APPLICATION", "mode": 0 }, { "name": "QML Factorywin", "reference": "com.webos.app.factorywin", "type": "APPLICATION", "mode": 0 }, { "name": "FamilyCare", "reference": "com.webos.app.familycare", "type": "APPLICATION", "mode": 0 }, { "name": "First Use Overlay", "reference": "com.webos.app.firstuse-overlay", "type": "APPLICATION", "mode": 0 }, { "name": "GameOptimizer", "reference": "com.webos.app.gameoptimizer", "type": "APPLICATION", "mode": 0 }, { "name": "HDMI1", "reference": "com.webos.app.hdmi1", "type": "APPLICATION", "mode": 0 }, { "name": "HDMI2", "reference": "com.webos.app.hdmi2", "type": "APPLICATION", "mode": 0 }, { "name": "HDMI3", "reference": "com.webos.app.hdmi3", "type": "APPLICATION", "mode": 0 }, { "name": "HDMI4", "reference": "com.webos.app.hdmi4", "type": "APPLICATION", "mode": 0 }, { "name": "Home", "reference": "com.webos.app.home", "type": "APPLICATION", "mode": 0 }, { "name": "לוח המחוונים של מסך הבית", "reference": "com.webos.app.homeconnect", "type": "APPLICATION", "mode": 0 }, { "name": "InputCommon", "reference": "com.webos.app.inputcommon", "type": "APPLICATION", "mode": 0 }, { "name": "Installation", "reference": "com.webos.app.installation", "type": "APPLICATION", "mode": 0 }, { "name": "Life On Screen", "reference": "com.webos.app.lifeonscreen", "type": "APPLICATION", "mode": 0 }, { "name": "Live Dmost", "reference": "com.webos.app.livedmost", "type": "APPLICATION", "mode": 0 }, { "name": "Live Ginga App Launcher", "reference": "com.webos.app.liveginga", "type": "APPLICATION", "mode": 0 }, { "name": "Live HbbTV", "reference": "com.webos.app.livehbbtv", "type": "APPLICATION", "mode": 0 }, { "name": "Guide", "reference": "com.webos.app.livemenu", "type": "APPLICATION", "mode": 0 }, { "name": "LivePick App", "reference": "com.webos.app.livepick", "type": "APPLICATION", "mode": 0 }, { "name": "שידורי עידן פלוס", "reference": "com.webos.app.livetv", "type": "APPLICATION", "mode": 0 }, { "name": "Magic Number", "reference": "com.webos.app.magicnum", "type": "APPLICATION", "mode": 0 }, { "name": "נגן מדיה", "reference": "com.webos.app.mediadiscovery", "type": "APPLICATION", "mode": 0 }, { "name": "חברות ב-LG", "reference": "com.webos.app.membership", "type": "APPLICATION", "mode": 0 }, { "name": "Screen Share", "reference": "com.webos.app.miracast", "type": "APPLICATION", "mode": 0 }, { "name": "'ריבוי צפיות'", "reference": "com.webos.app.multiviewsettings", "type": "APPLICATION", "mode": 0 }, { "name": "התראות", "reference": "com.webos.app.notificationcenter", "type": "APPLICATION", "mode": 0 }, { "name": "One Touch Sound Tuning", "reference": "com.webos.app.onetouchsoundtuning", "type": "APPLICATION", "mode": 0 }, { "name": "First Use-OOBE", "reference": "com.webos.app.oobe", "type": "APPLICATION", "mode": 0 }, { "name": "RDP", "reference": "com.webos.app.rdp", "type": "APPLICATION", "mode": 0 }, { "name": "Remote Desktop PC", "reference": "com.webos.app.rdpgui", "type": "APPLICATION", "mode": 0 }, { "name": "הקלטות", "reference": "com.webos.app.recordings", "type": "APPLICATION", "mode": 0 }, { "name": "Remote Service", "reference": "com.webos.app.remoteservice", "type": "APPLICATION", "mode": 0 }, { "name": "הגדרות שלט", "reference": "com.webos.app.remotesetting", "type": "APPLICATION", "mode": 0 }, { "name": "שיתוף 'מחדר לחדר'", "reference": "com.webos.app.roomconnect", "type": "APPLICATION", "mode": 0 }, { "name": "שיתוף 'מחדר לחדר'", "reference": "com.webos.app.roomconnect-full", "type": "APPLICATION", "mode": 0 }, { "name": "מתזמן", "reference": "com.webos.app.scheduler", "type": "APPLICATION", "mode": 0 }, { "name": "Screen Saver", "reference": "com.webos.app.screensaver", "type": "APPLICATION", "mode": 0 }, { "name": "עזרה מהירה", "reference": "com.webos.app.self-diagnosis", "type": "APPLICATION", "mode": 0 }, { "name": "Shopping Overlay App", "reference": "com.webos.app.shoppinghdmi1", "type": "APPLICATION", "mode": 0 }, { "name": "Shopping Overlay App", "reference": "com.webos.app.shoppinghdmi2", "type": "APPLICATION", "mode": 0 }, { "name": "Shopping Overlay App", "reference": "com.webos.app.shoppinghdmi3", "type": "APPLICATION", "mode": 0 }, { "name": "Shopping Overlay App", "reference": "com.webos.app.shoppinghdmi4", "type": "APPLICATION", "mode": 0 }, { "name": "Shopping Overlay App", "reference": "com.webos.app.shoppingoverlay", "type": "APPLICATION", "mode": 0 }, { "name": "Software Update", "reference": "com.webos.app.softwareupdate", "type": "APPLICATION", "mode": 0 }, { "name": "התראת ספורט", "reference": "com.webos.app.sportsteamsettings", "type": "APPLICATION", "mode": 0 }, { "name": "הדגמה בחנות", "reference": "com.webos.app.store-demo", "type": "APPLICATION", "mode": 0 }, { "name": "Sync Demo", "reference": "com.webos.app.sync-demo", "type": "APPLICATION", "mode": 0 }, { "name": "Local Control Panel", "reference": "com.webos.app.tvhotkey", "type": "APPLICATION", "mode": 0 }, { "name": "Viewer", "reference": "com.webos.app.tvsimpleviewer", "type": "APPLICATION", "mode": 0 }, { "name": "מדריך למשתמש", "reference": "com.webos.app.tvuserguide", "type": "APPLICATION", "mode": 0 }, { "name": "חפש", "reference": "com.webos.app.voice", "type": "APPLICATION", "mode": 0 }, { "name": "voiceweb", "reference": "com.webos.app.voiceweb", "type": "APPLICATION", "mode": 0 }, { "name": "הגדרת מיקום", "reference": "com.webos.app.weatherlocation", "type": "APPLICATION", "mode": 0 }, { "name": "Web App", "reference": "com.webos.app.webapphost", "type": "APPLICATION", "mode": 0 }, { "name": "com.webos.exampleapp.enyoapp.epg", "reference": "com.webos.exampleapp.enyoapp.epg", "type": "APPLICATION", "mode": 0 }, { "name": "com.webos.exampleapp.groupowner", "reference": "com.webos.exampleapp.groupowner", "type": "APPLICATION", "mode": 0 }, { "name": "com.webos.exampleapp.nav", "reference": "com.webos.exampleapp.nav", "type": "APPLICATION", "mode": 0 }, { "name": "com.webos.exampleapp.qmlapp.client.negative.one", "reference": "com.webos.exampleapp.qmlapp.client.negative.one", "type": "APPLICATION", "mode": 0 }, { "name": "com.webos.exampleapp.qmlapp.client.negative.two", "reference": "com.webos.exampleapp.qmlapp.client.negative.two", "type": "APPLICATION", "mode": 0 }, { "name": "com.webos.exampleapp.qmlapp.client.positive.one", "reference": "com.webos.exampleapp.qmlapp.client.positive.one", "type": "APPLICATION", "mode": 0 }, { "name": "com.webos.exampleapp.qmlapp.client.positive.two", "reference": "com.webos.exampleapp.qmlapp.client.positive.two", "type": "APPLICATION", "mode": 0 }, { "name": "com.webos.exampleapp.qmlapp.discover", "reference": "com.webos.exampleapp.qmlapp.discover", "type": "APPLICATION", "mode": 0 }, { "name": "com.webos.exampleapp.qmlapp.epg", "reference": "com.webos.exampleapp.qmlapp.epg", "type": "APPLICATION", "mode": 0 }, { "name": "com.webos.exampleapp.qmlapp.hbbtv", "reference": "com.webos.exampleapp.qmlapp.hbbtv", "type": "APPLICATION", "mode": 0 }, { "name": "com.webos.exampleapp.qmlapp.livetv", "reference": "com.webos.exampleapp.qmlapp.livetv", "type": "APPLICATION", "mode": 0 }, { "name": "com.webos.exampleapp.qmlapp.search", "reference": "com.webos.exampleapp.qmlapp.search", "type": "APPLICATION", "mode": 0 }, { "name": "System UI Example", "reference": "com.webos.exampleapp.systemui", "type": "APPLICATION", "mode": 0 }, { "name": "Billing service launcher", "reference": "com.webos.service.billing.app", "type": "APPLICATION", "mode": 0 }, { "name": "Home Dashboard service launcher", "reference": "com.webos.service.homeconnect.app", "type": "APPLICATION", "mode": 0 }, { "name": "Disney+", "reference": "disneyplus", "type": "APPLICATION", "mode": 0 }, { "name": "Google Assistant", "reference": "google.assistant", "type": "APPLICATION", "mode": 0 }, { "name": "Netflix", "reference": "netflix", "type": "APPLICATION", "mode": 0 }, { "name": "Yadex Alice", "reference": "yandex.alice", "type": "APPLICATION", "mode": 0 }, { "name": "YouTube", "reference": "youtube.leanback.v4", "type": "APPLICATION", "mode": 0 } ] 10/01/2023, 18:07:12HomeLgWebOsTvDevice: 192.168.50.54 LG TV, saved Channels: [] 10/01/2023, 18:07:12HomeLgWebOsTvDevice: 192.168.50.54 LG TV, saved Inputs/Channels names: { "com.webos.app.acrhdmi1": "LivePlus 2", "com.webos.app.acrhdmi2": "LivePlus 3", "com.webos.app.acrhdmi3": "LivePlus 4", "com.webos.app.acrhdmi4": "LivePlus 5", "com.webos.app.acroverlay": "LivePlus 6", "com.webos.app.multiviewsettings": "ריבוי צפיות", "com.webos.app.roomconnect": "שיתוף 'מחדר לחדר", "com.webos.app.roomconnect-full": "שיתוף 'מחדר לחדר 2", "com.webos.app.shoppinghdmi2": "Shopping Overlay App 2", "com.webos.app.shoppinghdmi3": "Shopping Overlay App 3", "com.webos.app.shoppinghdmi4": "Shopping Overlay App 4", "com.webos.app.shoppingoverlay": "Shopping Overlay App 5", "co.il.partnertv": "Partner tv" } 10/01/2023, 18:07:12HomeLgWebOsTvDevice: 192.168.50.54 LG TV, saved Inputs/Channels Visibility states: { "com.webos.app.customersupport": 1, "com.webos.app.dvrpopup": 1, "com.webos.exampleapp.groupowner": 1, "com.webos.app.shoppinghdmi4": 1, "com.webos.exampleapp.nav": 1, "com.webos.app.appcasting": 1, "com.webos.app.booteffect": 1, "com.webos.app.miracast": 1, "com.webos.app.acrhdmi2": 1, "com.webos.app.acroverlay": 1, "com.webos.app.btsurroundautotuning": 1, "com.webos.app.acrhdmi4": 1, "com.webos.app.shoppinghdmi3": 1, "com.webos.app.inputcommon": 1, "com.webos.app.oobe": 1, "com.webos.app.shoppingoverlay": 1, "com.webos.app.care365": 1, "com.webos.app.voiceweb": 1, "com.webos.app.beanbrowser": 1, "amazon.alexapr": 1, "com.webos.app.crb": 1, "com.webos.app.gameoptimizer": 1, "com.webos.app.acrcomponent": 1, "com.webos.app.tvhotkey": 1, "com.webos.app.familycare": 1, "com.webos.app.externalinput.component": 1, "com.webos.app.livedmost": 1, "com.webos.app.rdpgui": 1, "com.webos.app.facebooklogin": 1, "com.webos.app.recordings": 1, "com.webos.exampleapp.qmlapp.client.negative.one": 1, "com.webos.app.acrhdmi1": 1, "com.webos.app.externalinput.av2": 1, "com.webos.app.homeconnect": 1, "com.webos.app.firstuse-overlay": 1, "com.webos.app.externalinput.scart": 1, "com.webos.app.liveginga": 1, "com.webos.app.livepick": 1, "com.webos.app.livehbbtv": 1, "com.webos.app.sync-demo": 1, "com.webos.app.tvuserguide": 1, "airplay": 1, "com.webos.app.adapp": 1, "com.webos.app.installation": 1, "com.webos.app.notificationcenter": 1, "com.webos.app.acrhdmi3": 1, "com.palm.app.firstuse": 1, "com.apple.appletv": 1, "com.webos.app.home": 1, "com.webos.app.externalinput.av1": 1, "com.webos.app.roomconnect-full": 1, "com.webos.app.magicnum": 1, "com.webos.exampleapp.qmlapp.client.negative.two": 1, "com.webos.app.weatherlocation": 1, "com.webos.exampleapp.qmlapp.client.positive.one": 1, "com.webos.app.onetouchsoundtuning": 1, "com.webos.app.lifeonscreen": 1, "com.webos.app.tvsimpleviewer": 1, "com.webos.exampleapp.qmlapp.client.positive.two": 1, "com.webos.app.connectionwizard": 1, "com.webos.app.mediadiscovery": 1, "com.webos.app.shoppinghdmi2": 1, "com.webos.app.factorywin": 1, "com.webos.app.remoteservice": 1, "com.webos.app.webapphost": 1, "com.webos.app.scheduler": 1, "com.webos.app.camera": 1, "com.webos.app.channeledit": 1, "com.webos.app.sportsteamsettings": 1, "com.webos.app.self-diagnosis": 1, "com.webos.app.shoppinghdmi1": 1, "com.webos.app.browser": 1, "com.webos.app.membership": 1, "com.webos.app.livetv": 1, "com.webos.app.multiviewsettings": 1, "com.webos.app.store-demo": 1, "com.webos.app.rdp": 1, "com.webos.exampleapp.enyoapp.epg": 1, "com.webos.app.btspeakerapp": 1, "com.webos.app.channelsetting": 1, "com.webos.app.roomconnect": 1, "com.webos.app.screensaver": 1, "com.webos.app.livemenu": 1, "com.webos.app.remotesetting": 1 } 10/01/2023, 18:07:12HomeLgWebOsTvDevice: 192.168.50.54 LG TV, published as external accessory. 10/01/2023, 18:07:12HomeLG TV C649 is running on port 33973.

10/01/2023, 18:07:20HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect error: Error: connect EHOSTUNREACH 192.168.50.54:3000, reconnect in 5s. 10/01/2023, 18:07:28HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect error: Error: connect EHOSTUNREACH 192.168.50.54:3000, reconnect in 5s. 10/01/2023, 18:07:36HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect error: Error: connect EHOSTUNREACH 192.168.50.54:3000, reconnect in 5s. 10/01/2023, 18:07:44HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect error: Error: connect EHOSTUNREACH 192.168.50.54:3000, reconnect in 5s. 10/01/2023, 18:07:52HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect error: Error: connect EHOSTUNREACH 192.168.50.54:3000, reconnect in 5s. 10/01/2023, 18:08:01HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect error: Error: connect EHOSTUNREACH 192.168.50.54:3000, reconnect in 5s. 10/01/2023, 18:08:09HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect error: Error: connect EHOSTUNREACH 192.168.50.54:3000, reconnect in 5s. 10/01/2023, 18:08:17HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect error: Error: connect EHOSTUNREACH 192.168.50.54:3000, reconnect in 5s. 10/01/2023, 18:08:25HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect error: Error: connect EHOSTUNREACH 192.168.50.54:3000, reconnect in 5s. 10/01/2023, 18:08:33HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect error: Error: connect EHOSTUNREACH 192.168.50.54:3000, reconnect in 5s. 10/01/2023, 18:08:41HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect error: Error: connect EHOSTUNREACH 192.168.50.54:3000, reconnect in 5s. 10/01/2023, 18:08:50HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect error: Error: connect EHOSTUNREACH 192.168.50.54:3000, reconnect in 5s. 10/01/2023, 18:08:58HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect error: Error: connect EHOSTUNREACH 192.168.50.54:3000, reconnect in 5s. 10/01/2023, 18:09:06HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect error: Error: connect EHOSTUNREACH 192.168.50.54:3000, reconnect in 5s. 10/01/2023, 18:09:14HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect error: Error: connect EHOSTUNREACH 192.168.50.54:3000, reconnect in 5s.

grzegorz914 commented 1 year ago

Check Your tv config, may be resets networks settings during update, Check also MAC address.

fadelguy commented 1 year ago

I check the tv network and it's the same as plugin configuration.

All works fine until the tv update 3.30.14.

grzegorz914 commented 1 year ago

Log connect app is enabled too?

grzegorz914 commented 1 year ago

Looks like fw. 3.30.14. break connection to tv, here in home assistant same problem https://github.com/home-assistant/home-assistant.io/pull/25669.

thecode commented 1 year ago

Looks like fw. 3.30.14. break connection to tv, here in home assistant same problem home-assistant/home-assistant.io#25669.

See https://github.com/home-assistant-libs/aiowebostv/pull/112 for how we fixed new firmware problems for Home Assistant

grzegorz914 commented 1 year ago

@fadelguy try 2.3.8-beta.0 and let me know

fadelguy commented 1 year ago

I don't see it on hoobs. The last beta version I see is 2.3.7-beta.15

grzegorz914 commented 1 year ago

try install manually from console sudo npm install homebridge-lgwebos-tv@2.3.8@beta.1

fadelguy commented 1 year ago

image

Can't install

grzegorz914 commented 1 year ago

Use this method https://github.com/hoobs-org/HOOBS/issues/186#issuecomment-538745028

fadelguy commented 1 year ago

Can't install Didn't find the beta version

grzegorz914 commented 1 year ago

I will push as release, wait a few minutes

grzegorz914 commented 1 year ago

2.3.8 published

fadelguy commented 1 year ago

Just update to version 2.3.8 The plugin still not working

12/01/2023, 20:12:52HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect error: Error: connect EHOSTUNREACH 192.168.50.54:3000, reconnect in 5s. 12/01/2023, 20:13:00HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect error: Error: connect EHOSTUNREACH 192.168.50.54:3000, reconnect in 5s. 12/01/2023, 20:13:08HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect error: Error: connect EHOSTUNREACH 192.168.50.54:3000, reconnect in 5s.

grzegorz914 commented 1 year ago

I don’t thing so, the log is from previous version.

grzegorz914 commented 1 year ago

Ups, wait next version

grzegorz914 commented 1 year ago

Try 2.3.9 and enable SSL WebSocket in plugin settings

fadelguy commented 1 year ago

Updated to 2.3.9 But don't see this option on plugin configuration

grzegorz914 commented 1 year ago

92601580-811D-4C14-B59C-523078D26267

fadelguy commented 1 year ago

Don't see this option

I'm using hoobs What is the option key? I will enter it manually in json config

image

grzegorz914 commented 1 year ago

The key is sslWebSocket

fadelguy commented 1 year ago

New log error:

12/01/2023, 22:46:52HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect error: Error: unable to get local issuer certificate, reconnect in 5s.

grzegorz914 commented 1 year ago

try 2.3.11

fadelguy commented 1 year ago

Updated to 2.3.12

Still not working

13/01/2023, 09:00:11HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect error: Error: connect EHOSTUNREACH 192.168.50.54:3001, reconnect in 5s. 13/01/2023, 09:00:18HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect error: Error: unable to get local issuer certificate, reconnect in 5s.

grzegorz914 commented 1 year ago

Try 2.3.13

fadelguy commented 1 year ago

Still not working

13/01/2023, 12:47:34HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect failed: Error: connect EHOSTUNREACH 192.168.50.54:3001, reconnect. 13/01/2023, 12:47:37HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect failed: Error: connect EHOSTUNREACH 192.168.50.54:3001, reconnect. 13/01/2023, 12:47:40HomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked connect failed: Error: connect EHOSTUNREACH 192.168.50.54:3001, reconnect.

grzegorz914 commented 1 year ago

2.4.0 beta is available to test.

grzegorz914 commented 1 year ago

2.4.0 released

fadelguy commented 1 year ago

Just update to the last version 2.4.2.

Can't start the bridge. Only after I removed this plugin configuration from json config the bridge start again.

grzegorz914 commented 1 year ago

Can you post your config.json, debug log, and install environment? Here all working correct.

fadelguy commented 1 year ago

I removed the sslWebSocket key and now the bridge start. But still the plugin not working with the tv:

1/14/2023, 6:53:25 PMHomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socket send heart beat. 1/14/2023, 6:53:25 PMHomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked closed. 1/14/2023, 6:53:30 PMHomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socket send heart beat. 1/14/2023, 6:53:30 PMHomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked closed. 1/14/2023, 6:53:35 PMHomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socket send heart beat. 1/14/2023, 6:53:35 PMHomeLgWebOsTvDevice: 192.168.50.54 LG TV, debug: Socked closed.

grzegorz914 commented 1 year ago

you need enable ssl for your firmware, can you post complete debug log after plugin restart?

fadelguy commented 1 year ago

Just update to 2.4.3 Still not working When sslWebSocket enabled, the bridge not start and there no logs for this plugin. This is my config:

    {
        "platform": "LgWebOsTv",
        "devices": [
            {
                "name": "LG TV",
                "host": "-",
                "mac": "-",
                "turnScreenOnOff": false,
                "volumeControl": 1,
                "switchInfoMenu": true,
                "getInputsFromDevice": false,
                "inputs": [
                    {
                        "name": "Partner tv",
                        "reference": "co.il.partnertv",
                        "type": "APPLICATION",
                        "mode": 0
                    },
                    {
                        "name": "Netflix",
                        "reference": "netflix",
                        "type": "APPLICATION",
                        "mode": 0
                    },
                    {
                        "name": "GeForce NOW",
                        "reference": "com.geforcenow.play",
                        "type": "APPLICATION",
                        "mode": 0
                    },
                    {
                        "name": "YouTube",
                        "reference": "youtube.leanback.v4",
                        "type": "APPLICATION",
                        "mode": 0
                    },
                    {
                        "name": "Apps",
                        "reference": "com.webos.app.discovery",
                        "type": "APPLICATION",
                        "mode": 0
                    },
                    {
                        "name": "חפש",
                        "reference": "com.webos.app.voice",
                        "type": "APPLICATION",
                        "mode": 0
                    },
                    {
                        "name": "voiceweb",
                        "reference": "com.webos.app.voiceweb",
                        "type": "APPLICATION",
                        "mode": 0
                    }
                ],
                "disableLogInfo": true,
                "enableDebugMode": true,
                "sslWebSocket": true
            }
        ]
    }
grzegorz914 commented 1 year ago

try 2.4.4 but I don't have no idea why not start the bridge in your installation, may be hoobs specific issue

fadelguy commented 1 year ago

In the previous versions I did not experience this problem that the bridge not start.

Why I don't see the ssl config on hoobs ui?

grzegorz914 commented 1 year ago

Here all start correct with ssl and without ssl

Zrzut ekranu 2023-01-14 o 18 32 11

grzegorz914 commented 1 year ago

If the bridge doesn't start must be something wrong with your installation

grzegorz914 commented 1 year ago

I don't know why you not see all options in HOOBS, you need report this problem on HOOBS support. Best practice is to use Homebridge with Config UI X native.

fadelguy commented 1 year ago

Updated to 2.4.4-beta.3

Now it's working!!!!

Thank you very much!

grzegorz914 commented 1 year ago

2.4.4 is released now,