LGWebOS Binding (for LG WebOS TVs)

ok, log file excerpt with debug filtered for webos:

2019-09-22 19:55:14.711 [DEBUG] [org.openhab.binding.lgwebos         ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.core.thing.binding.ThingActions}={service.id=530, service.bundleid=205, service.scope=singleton} - org.openhab.binding.lgwebos

2019-09-22 19:55:14.722 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from UNINITIALIZED to INITIALIZING

2019-09-22 19:55:14.820 [DEBUG] [webos.internal.handler.WebOSTVSocket] - Connecting to: wss://192.168.1.44:3001

2019-09-22 19:55:15.047 [DEBUG] [webos.internal.handler.WebOSTVSocket] - WebSocket Connected to: /192.168.1.44

2019-09-22 19:55:15.497 [me.event.ThingUpdatedEvent] - Thing 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' has been updated.

2019-09-22 19:55:15.515 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from INITIALIZING to ONLINE: Registering - You may need to confirm pairing on TV.

2019-09-22 19:55:17.451 [me.event.ThingUpdatedEvent] - Thing 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' has been updated.

2019-09-22 19:55:17.456 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from ONLINE: Registering - You may need to confirm pairing on TV. to ONLINE: Connected

2019-09-22 19:55:17.670 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.livetv - Live TV

2019-09-22 19:55:17.672 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo netflix - Netflix

2019-09-22 19:55:17.673 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo amazon - Amazon Prime Video

2019-09-22 19:55:17.674 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo hulu - Hulu

2019-09-22 19:55:17.675 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.movenetworks.app.sling-tv-sling-production - Sling TV

2019-09-22 19:55:17.676 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo channelplus.us - Channel Plus

2019-09-22 19:55:17.686 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo vudu - VUDU

2019-09-22 19:55:17.688 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo googleplaymovieswebos - Google Play Movies & TV

2019-09-22 19:55:17.689 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.dolby.lgapp - Dolby Access

2019-09-22 19:55:17.690 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.discovery - LG Content Store

2019-09-22 19:55:17.692 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.voice - Search

2019-09-22 19:55:17.693 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.browser - Web Browser

2019-09-22 19:55:17.694 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.tvuserguide - User Guide

2019-09-22 19:55:17.695 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.connectionwizard - Device Connector

2019-09-22 19:55:17.696 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.tvguide - Guide

2019-09-22 19:55:17.697 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.music - Music

2019-09-22 19:55:17.707 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.photovideo - Photo & Video

2019-09-22 19:55:17.708 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.igallery - OLED Gallery

2019-09-22 19:55:17.709 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.scheduler - TV Scheduler

2019-09-22 19:55:17.710 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.miracast - Screen Share

2019-09-22 19:55:17.711 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.multiview - Multi-view

2019-09-22 19:55:17.712 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.accessibility - Accessibility

2019-09-22 19:55:17.714 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.notificationcenter - Notifications

2019-09-22 19:55:17.716 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.remoteservice - LG Remote Service

2019-09-22 19:55:17.717 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.adapp - Advertisement

2019-09-22 19:55:17.718 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.brandshop - Brand Shop

2019-09-22 19:55:17.720 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.facebooklogin - Thirdparty Login

2019-09-22 19:55:17.721 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.membership - LG Membership

2019-09-22 19:55:17.722 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.inputcommon - InputCommon

2019-09-22 19:55:17.723 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.palm.app.firstuse - First Use

2019-09-22 19:55:17.724 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.palm.app.settings - Settings

2019-09-22 19:55:17.725 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.acrcard - LivePlus

2019-09-22 19:55:17.726 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.acrcomponent - LivePlus

2019-09-22 19:55:17.727 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.acrhdmi1 - LivePlus

2019-09-22 19:55:17.729 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.acrhdmi2 - LivePlus

2019-09-22 19:55:17.730 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.acrhdmi3 - LivePlus

2019-09-22 19:55:17.731 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.acrhdmi4 - LivePlus

2019-09-22 19:55:17.732 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.acroverlay - LivePlus

2019-09-22 19:55:17.733 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.channeledit - CHANNEL MANAGER

2019-09-22 19:55:17.734 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.channelsetting - Channel Tuning

2019-09-22 19:55:17.735 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.cheeringtv - Cheering Mode

2019-09-22 19:55:17.736 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.container - Enyo (2.6) App Container

2019-09-22 19:55:17.737 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.customersupport - Customer Support

2019-09-22 19:55:17.738 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.dvrpopup - DvrPopup

2019-09-22 19:55:17.739 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.eula - User Agreement

2019-09-22 19:55:17.741 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.externalinput.av1 - AV

2019-09-22 19:55:17.742 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.externalinput.av2 - AV2

2019-09-22 19:55:17.744 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.externalinput.component - Component

2019-09-22 19:55:17.745 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.externalinput.scart - AV1

2019-09-22 19:55:17.746 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.factorywin - QML Factorywin

2019-09-22 19:55:17.748 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.favshows - My Content

2019-09-22 19:55:17.749 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.hdmi1 - HDMI1

2019-09-22 19:55:17.750 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.hdmi2 - HDMI2

2019-09-22 19:55:17.751 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.hdmi3 - HDMI3

2019-09-22 19:55:17.753 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.hdmi4 - HDMI4

2019-09-22 19:55:17.755 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.inputmgr - Input Hub

2019-09-22 19:55:17.756 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.installation - Installation Settings

2019-09-22 19:55:17.757 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.livedmost - Live Dmost

2019-09-22 19:55:17.758 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.liveibb - Live IBB

2019-09-22 19:55:17.759 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.livezoom-inhdmi1 - Live Zoom App

2019-09-22 19:55:17.760 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.livezoom-inhdmi2 - Live Zoom App

2019-09-22 19:55:17.762 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.livezoom-inhdmi3 - Live Zoom App

2019-09-22 19:55:17.763 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.livezoom-inhdmi4 - Live Zoom App

2019-09-22 19:55:17.764 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.livezoom-inphotovideo - Live Zoom App

2019-09-22 19:55:17.765 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.livezoom-inrecordings - Live Zoom App

2019-09-22 19:55:17.766 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.livezoom-insmhl - Live Zoom App

2019-09-22 19:55:17.767 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.livezoom-intv - Live Zoom App

2019-09-22 19:55:17.768 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.magicnum - Magic Number

2019-09-22 19:55:17.770 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.mystarter - My Starter

2019-09-22 19:55:17.771 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.remotesetting - Remote Setting

2019-09-22 19:55:17.772 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.screensaver - Screen Saver

2019-09-22 19:55:17.773 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.softwareupdate - Software Update

2019-09-22 19:55:17.774 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.store-demo - Store Demo

2019-09-22 19:55:17.776 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.systemmusic - Music Overlay

2019-09-22 19:55:17.777 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.tips - Tips App

2019-09-22 19:55:17.778 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.tvhotkey - Local Control Panel

2019-09-22 19:55:17.780 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.tvsimpleviewer - Viewer

2019-09-22 19:55:17.781 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.tvtutorial - Adjust camera angle

2019-09-22 19:55:17.782 [DEBUG] [lgwebos.internal.LauncherApplication] - AppInfo com.webos.app.webapphost - Web App

2019-09-22 19:55:17.785 [DEBUG] [webos.internal.handler.WebOSTVSocket] - Error: {"type":"error","id":3,"error":"1010 tuner channel map does not exist","payload":{}}

2019-09-22 19:55:17.788 [WARN ] [ng.lgwebos.internal.TVControlChannel] - error requesting channel list: 1010 tuner channel map does not exist.

2019-09-22 19:56:06.335 [vent.ItemStateChangedEvent] - LG_TV0_Application changed from NULL to com.webos.app.hdmi1

2019-09-22 19:56:06.792 [vent.ItemStateChangedEvent] - LG_TV1_Application changed from NULL to com.webos.app.hdmi1

2019-09-22 19:56:06.873 [.ItemChannelLinkAddedEvent] - Link 'LG_TV0_Power-lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b:power' has been added.

2019-09-22 19:56:06.875 [.ItemChannelLinkAddedEvent] - Link 'LG_TV0_Mute-lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b:mute' has been added.

2019-09-22 19:56:06.879 [.ItemChannelLinkAddedEvent] - Link 'LG_TV0_Volume-lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b:volume' has been added.

2019-09-22 19:56:06.882 [.ItemChannelLinkAddedEvent] - Link 'LG_TV0_VolumeDown-lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b:volumeDown' has been added.

2019-09-22 19:56:06.884 [.ItemChannelLinkAddedEvent] - Link 'LG_TV0_VolumeUp-lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b:volumeUp' has been added.

2019-09-22 19:56:06.886 [.ItemChannelLinkAddedEvent] - Link 'LG_TV0_ChannelNo-lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b:channel' has been added.

2019-09-22 19:56:06.889 [.ItemChannelLinkAddedEvent] - Link 'LG_TV0_ChannelDown-lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b:channelDown' has been added.

2019-09-22 19:56:06.893 [.ItemChannelLinkAddedEvent] - Link 'LG_TV0_ChannelUp-lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b:channelUp' has been added.

2019-09-22 19:56:06.903 [.ItemChannelLinkAddedEvent] - Link 'LG_TV0_Channel-lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b:channelName' has been added.

2019-09-22 19:56:06.915 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.VolumeControlMute on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:06.919 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.VolumeControlVolume on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:06.924 [.ItemChannelLinkAddedEvent] - Link 'LG_TV0_MediaState-lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b:mediaState' has been added.

2019-09-22 19:56:06.928 [.ItemChannelLinkAddedEvent] - Link 'LG_TV0_Toast-lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b:toast' has been added.

2019-09-22 19:56:06.929 [.ItemChannelLinkAddedEvent] - Link 'LG_TV0_Play-lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b:mediaPlayer' has been added.

2019-09-22 19:56:06.929 [.ItemChannelLinkAddedEvent] - Link 'LG_TV0_Stop-lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b:mediaStop' has been added.

2019-09-22 19:56:06.929 [.ItemChannelLinkAddedEvent] - Link 'LG_TV0_Pause-lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b:mediaPause' has been added.

2019-09-22 19:56:06.929 [.ItemChannelLinkAddedEvent] - Link 'LG_TV0_Forward-lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b:mediaForward' has been added.

2019-09-22 19:56:06.930 [.ItemChannelLinkAddedEvent] - Link 'LG_TV0_Rewind-lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b:mediaRewind' has been added.

2019-09-22 19:56:06.934 [.ItemChannelLinkAddedEvent] - Link 'LG_TV0_Application-lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b:appLauncher' has been added.

2019-09-22 19:56:06.975 [DEBUG] [gwebos.internal.handler.WebOSHandler] - Connection failed - error: Value must be between 0 and 100

2019-09-22 19:56:06.958 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.LauncherApplication on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

	at org.openhab.binding.lgwebos.internal.handler.WebOSTVSocket.sendMessage(WebOSTVSocket.java:342) ~[?:?]

	at org.openhab.binding.lgwebos.internal.handler.WebOSTVSocket.sendCommand(WebOSTVSocket.java:304) ~[?:?]

	at org.openhab.binding.lgwebos.internal.handler.WebOSTVSocket.subscribeCurrentChannel(WebOSTVSocket.java:501) ~[?:?]

	at org.openhab.binding.lgwebos.internal.TVControlChannel.getSubscription(TVControlChannel.java:95) ~[?:?]

	at org.openhab.binding.lgwebos.internal.BaseChannelHandler.refreshSubscription(BaseChannelHandler.java:70) ~[?:?]

	at org.openhab.binding.lgwebos.internal.handler.WebOSHandler.refreshChannelSubscription(WebOSHandler.java:254) ~[?:?]

	at org.openhab.binding.lgwebos.internal.handler.WebOSHandler.channelLinked(WebOSHandler.java:235) ~[?:?]

2019-09-22 19:56:07.017 [DEBUG] [webos.internal.handler.WebOSTVSocket] - WebSocket Closed - Code: 1006, Reason: Value must be between 0 and 100

2019-09-22 19:56:07.061 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.VolumeControlVolume on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:07.010 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from ONLINE: Connected to OFFLINE (COMMUNICATION_ERROR): Connection Failed: Value must be between 0 and 100

2019-09-22 19:56:07.063 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE (COMMUNICATION_ERROR): Connection Failed: Value must be between 0 and 100 to OFFLINE: TV is off

2019-09-22 19:56:07.065 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.LauncherApplication on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:07.066 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.VolumeControlMute on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

	at org.openhab.binding.lgwebos.internal.handler.WebOSTVSocket.sendMessage(WebOSTVSocket.java:342) ~[?:?]

	at org.openhab.binding.lgwebos.internal.handler.WebOSTVSocket.sendCommand(WebOSTVSocket.java:304) ~[?:?]

	at org.openhab.binding.lgwebos.internal.handler.WebOSTVSocket.subscribeCurrentChannel(WebOSTVSocket.java:501) ~[?:?]

	at org.openhab.binding.lgwebos.internal.TVControlChannelName.getSubscription(TVControlChannelName.java:46) ~[?:?]

	at org.openhab.binding.lgwebos.internal.BaseChannelHandler.refreshSubscription(BaseChannelHandler.java:70) ~[?:?]

	at org.openhab.binding.lgwebos.internal.handler.WebOSHandler.refreshChannelSubscription(WebOSHandler.java:254) ~[?:?]

	at org.openhab.binding.lgwebos.internal.handler.WebOSHandler.channelLinked(WebOSHandler.java:235) ~[?:?]

2019-09-22 19:56:07.103 [DEBUG] [gwebos.internal.handler.WebOSHandler] - Connection failed - error: Disconnected

2019-09-22 19:56:07.122 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE: TV is off to OFFLINE (COMMUNICATION_ERROR): Connection Failed: Disconnected

2019-09-22 19:56:07.123 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE (COMMUNICATION_ERROR): Connection Failed: Disconnected to OFFLINE: TV is off

2019-09-22 19:56:07.138 [DEBUG] [webos.internal.handler.WebOSTVSocket] - Connecting to: wss://192.168.1.44:3001

2019-09-22 19:56:07.297 [DEBUG] [webos.internal.handler.WebOSTVSocket] - WebSocket Connected to: /192.168.1.44

2019-09-22 19:56:07.322 [me.event.ThingUpdatedEvent] - Thing 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' has been updated.

2019-09-22 19:56:07.326 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE: TV is off to ONLINE: Registering - You may need to confirm pairing on TV.

2019-09-22 19:56:07.372 [me.event.ThingUpdatedEvent] - Thing 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' has been updated.

2019-09-22 19:56:07.374 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.VolumeControlVolume on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:07.375 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from ONLINE: Registering - You may need to confirm pairing on TV. to ONLINE: Connected

2019-09-22 19:56:07.378 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.LauncherApplication on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:07.384 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.TVControlChannel on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:07.388 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.VolumeControlMute on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:07.394 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.TVControlChannelName on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:07.405 [DEBUG] [gwebos.internal.handler.WebOSHandler] - Connection failed - error: Value must be between 0 and 100

2019-09-22 19:56:07.429 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from ONLINE: Connected to OFFLINE (COMMUNICATION_ERROR): Connection Failed: Value must be between 0 and 100

2019-09-22 19:56:07.429 [DEBUG] [webos.internal.handler.WebOSTVSocket] - WebSocket Closed - Code: 1006, Reason: Value must be between 0 and 100

2019-09-22 19:56:07.449 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE (COMMUNICATION_ERROR): Connection Failed: Value must be between 0 and 100 to OFFLINE: TV is off

2019-09-22 19:56:07.449 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.VolumeControlVolume on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:07.456 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.LauncherApplication on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:07.457 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.TVControlChannel on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:07.459 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.VolumeControlMute on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:07.461 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.TVControlChannelName on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:07.468 [DEBUG] [webos.internal.handler.WebOSTVSocket] - Connecting to: wss://192.168.1.44:3001

2019-09-22 19:56:07.473 [DEBUG] [gwebos.internal.handler.WebOSHandler] - Connection failed - error: Disconnected

2019-09-22 19:56:07.502 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE: TV is off to OFFLINE (COMMUNICATION_ERROR): Connection Failed: Disconnected

2019-09-22 19:56:07.511 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE (COMMUNICATION_ERROR): Connection Failed: Disconnected to OFFLINE: TV is off

2019-09-22 19:56:07.755 [DEBUG] [webos.internal.handler.WebOSTVSocket] - WebSocket Connected to: /192.168.1.44

2019-09-22 19:56:08.067 [me.event.ThingUpdatedEvent] - Thing 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' has been updated.

2019-09-22 19:56:08.071 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE: TV is off to ONLINE: Registering - You may need to confirm pairing on TV.

2019-09-22 19:56:08.165 [me.event.ThingUpdatedEvent] - Thing 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' has been updated.

2019-09-22 19:56:08.171 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from ONLINE: Registering - You may need to confirm pairing on TV. to ONLINE: Connected

2019-09-22 19:56:08.173 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.VolumeControlVolume on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:08.187 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.LauncherApplication on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:08.205 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.TVControlChannel on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:08.208 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.VolumeControlMute on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:08.214 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.TVControlChannelName on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:08.231 [DEBUG] [gwebos.internal.handler.WebOSHandler] - Connection failed - error: Value must be between 0 and 100

2019-09-22 19:56:08.243 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from ONLINE: Connected to OFFLINE (COMMUNICATION_ERROR): Connection Failed: Value must be between 0 and 100

2019-09-22 19:56:08.246 [DEBUG] [webos.internal.handler.WebOSTVSocket] - WebSocket Closed - Code: 1006, Reason: Value must be between 0 and 100

2019-09-22 19:56:08.258 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE (COMMUNICATION_ERROR): Connection Failed: Value must be between 0 and 100 to OFFLINE: TV is off

2019-09-22 19:56:08.259 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.VolumeControlVolume on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:08.267 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.LauncherApplication on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:08.284 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.TVControlChannel on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:08.286 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.VolumeControlMute on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:08.288 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.TVControlChannelName on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:08.295 [DEBUG] [webos.internal.handler.WebOSTVSocket] - Connecting to: wss://192.168.1.44:3001

2019-09-22 19:56:08.299 [DEBUG] [gwebos.internal.handler.WebOSHandler] - Connection failed - error: Disconnected

2019-09-22 19:56:08.313 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE: TV is off to OFFLINE (COMMUNICATION_ERROR): Connection Failed: Disconnected

2019-09-22 19:56:08.317 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE (COMMUNICATION_ERROR): Connection Failed: Disconnected to OFFLINE: TV is off

2019-09-22 19:56:08.571 [DEBUG] [webos.internal.handler.WebOSTVSocket] - WebSocket Connected to: /192.168.1.44

2019-09-22 19:56:08.991 [me.event.ThingUpdatedEvent] - Thing 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' has been updated.

2019-09-22 19:56:09.003 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE: TV is off to ONLINE: Registering - You may need to confirm pairing on TV.

2019-09-22 19:56:09.067 [me.event.ThingUpdatedEvent] - Thing 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' has been updated.

2019-09-22 19:56:09.073 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.VolumeControlVolume on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:09.073 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from ONLINE: Registering - You may need to confirm pairing on TV. to ONLINE: Connected

2019-09-22 19:56:09.079 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.LauncherApplication on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:09.092 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.TVControlChannel on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:09.104 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.VolumeControlMute on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:09.116 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.TVControlChannelName on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:09.149 [DEBUG] [gwebos.internal.handler.WebOSHandler] - Connection failed - error: Value must be between 0 and 100

2019-09-22 19:56:09.154 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from ONLINE: Connected to OFFLINE (COMMUNICATION_ERROR): Connection Failed: Value must be between 0 and 100

2019-09-22 19:56:09.156 [DEBUG] [webos.internal.handler.WebOSTVSocket] - WebSocket Closed - Code: 1006, Reason: Value must be between 0 and 100

2019-09-22 19:56:09.163 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE (COMMUNICATION_ERROR): Connection Failed: Value must be between 0 and 100 to OFFLINE: TV is off

2019-09-22 19:56:09.165 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.VolumeControlVolume on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:09.167 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.LauncherApplication on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:09.179 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.TVControlChannel on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:09.184 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.VolumeControlMute on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:09.186 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.TVControlChannelName on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:09.192 [DEBUG] [webos.internal.handler.WebOSTVSocket] - Connecting to: wss://192.168.1.44:3001

2019-09-22 19:56:09.200 [DEBUG] [gwebos.internal.handler.WebOSHandler] - Connection failed - error: Disconnected

2019-09-22 19:56:09.313 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE: TV is off to OFFLINE (COMMUNICATION_ERROR): Connection Failed: Disconnected

2019-09-22 19:56:09.314 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE (COMMUNICATION_ERROR): Connection Failed: Disconnected to OFFLINE: TV is off

2019-09-22 19:56:09.825 [DEBUG] [webos.internal.handler.WebOSTVSocket] - WebSocket Connected to: /192.168.1.44

2019-09-22 19:56:10.112 [me.event.ThingUpdatedEvent] - Thing 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' has been updated.

2019-09-22 19:56:10.114 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE: TV is off to ONLINE: Registering - You may need to confirm pairing on TV.

2019-09-22 19:56:10.647 [me.event.ThingUpdatedEvent] - Thing 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' has been updated.

2019-09-22 19:56:10.664 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from ONLINE: Registering - You may need to confirm pairing on TV. to ONLINE: Connected

2019-09-22 19:56:10.665 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.VolumeControlVolume on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:10.666 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.LauncherApplication on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:10.668 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.TVControlChannel on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:10.678 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.VolumeControlMute on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:10.680 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.TVControlChannelName on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:10.699 [DEBUG] [gwebos.internal.handler.WebOSHandler] - Connection failed - error: Value must be between 0 and 100

2019-09-22 19:56:10.700 [DEBUG] [webos.internal.handler.WebOSTVSocket] - WebSocket Closed - Code: 1006, Reason: Value must be between 0 and 100

2019-09-22 19:56:10.701 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.VolumeControlVolume on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:10.701 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.LauncherApplication on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:10.703 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from ONLINE: Connected to OFFLINE (COMMUNICATION_ERROR): Connection Failed: Value must be between 0 and 100

2019-09-22 19:56:10.711 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE (COMMUNICATION_ERROR): Connection Failed: Value must be between 0 and 100 to OFFLINE: TV is off

2019-09-22 19:56:10.702 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.TVControlChannel on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:10.712 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.VolumeControlMute on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:10.713 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.TVControlChannelName on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:10.714 [DEBUG] [webos.internal.handler.WebOSTVSocket] - Connecting to: wss://192.168.1.44:3001

2019-09-22 19:56:10.714 [DEBUG] [gwebos.internal.handler.WebOSHandler] - Connection failed - error: Disconnected

2019-09-22 19:56:10.728 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE: TV is off to OFFLINE (COMMUNICATION_ERROR): Connection Failed: Disconnected

2019-09-22 19:56:10.728 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE (COMMUNICATION_ERROR): Connection Failed: Disconnected to OFFLINE: TV is off

2019-09-22 19:56:11.068 [DEBUG] [webos.internal.handler.WebOSTVSocket] - WebSocket Connected to: /192.168.1.44

2019-09-22 19:56:11.094 [me.event.ThingUpdatedEvent] - Thing 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' has been updated.

2019-09-22 19:56:11.096 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE: TV is off to ONLINE: Registering - You may need to confirm pairing on TV.

2019-09-22 19:56:11.142 [me.event.ThingUpdatedEvent] - Thing 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' has been updated.

2019-09-22 19:56:11.149 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from ONLINE: Registering - You may need to confirm pairing on TV. to ONLINE: Connected

2019-09-22 19:56:11.151 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.VolumeControlVolume on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:11.156 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.LauncherApplication on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:11.162 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.TVControlChannel on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:11.172 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.VolumeControlMute on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:11.174 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.TVControlChannelName on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:11.182 [DEBUG] [gwebos.internal.handler.WebOSHandler] - Connection failed - error: Value must be between 0 and 100

2019-09-22 19:56:11.186 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from ONLINE: Connected to OFFLINE (COMMUNICATION_ERROR): Connection Failed: Value must be between 0 and 100

2019-09-22 19:56:11.187 [DEBUG] [webos.internal.handler.WebOSTVSocket] - WebSocket Closed - Code: 1006, Reason: Value must be between 0 and 100

2019-09-22 19:56:11.227 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.VolumeControlVolume on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:11.230 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.LauncherApplication on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:11.232 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.TVControlChannel on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:11.234 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE (COMMUNICATION_ERROR): Connection Failed: Value must be between 0 and 100 to OFFLINE: TV is off

2019-09-22 19:56:11.239 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.VolumeControlMute on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:11.242 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.TVControlChannelName on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:11.248 [DEBUG] [webos.internal.handler.WebOSTVSocket] - Connecting to: wss://192.168.1.44:3001

2019-09-22 19:56:11.253 [DEBUG] [gwebos.internal.handler.WebOSHandler] - Connection failed - error: Disconnected

2019-09-22 19:56:11.296 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE: TV is off to OFFLINE (COMMUNICATION_ERROR): Connection Failed: Disconnected

2019-09-22 19:56:11.297 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE (COMMUNICATION_ERROR): Connection Failed: Disconnected to OFFLINE: TV is off

2019-09-22 19:56:11.456 [DEBUG] [webos.internal.handler.WebOSTVSocket] - WebSocket Connected to: /192.168.1.44

2019-09-22 19:56:12.221 [me.event.ThingUpdatedEvent] - Thing 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' has been updated.

2019-09-22 19:56:12.223 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE: TV is off to ONLINE: Registering - You may need to confirm pairing on TV.

2019-09-22 19:56:12.240 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.VolumeControlVolume on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:12.241 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.LauncherApplication on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:12.243 [me.event.ThingUpdatedEvent] - Thing 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' has been updated.

2019-09-22 19:56:12.244 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from ONLINE: Registering - You may need to confirm pairing on TV. to ONLINE: Connected

2019-09-22 19:56:12.260 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.TVControlChannel on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:12.261 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.VolumeControlMute on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:12.275 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Subscribed org.openhab.binding.lgwebos.internal.TVControlChannelName on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:12.278 [DEBUG] [gwebos.internal.handler.WebOSHandler] - Connection failed - error: Value must be between 0 and 100

2019-09-22 19:56:12.295 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from ONLINE: Connected to OFFLINE (COMMUNICATION_ERROR): Connection Failed: Value must be between 0 and 100

2019-09-22 19:56:12.279 [DEBUG] [webos.internal.handler.WebOSTVSocket] - WebSocket Closed - Code: 1006, Reason: Value must be between 0 and 100

2019-09-22 19:56:12.296 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.VolumeControlVolume on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:12.297 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.LauncherApplication on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:12.297 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.TVControlChannel on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:12.298 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.VolumeControlMute on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:12.299 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.TVControlChannelName on IP: lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b

2019-09-22 19:56:12.302 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE (COMMUNICATION_ERROR): Connection Failed: Value must be between 0 and 100 to OFFLINE: TV is off

2019-09-22 19:56:12.307 [DEBUG] [webos.internal.handler.WebOSTVSocket] - Connecting to: wss://192.168.1.44:3001

2019-09-22 19:56:12.308 [DEBUG] [gwebos.internal.handler.WebOSHandler] - Connection failed - error: Disconnected

2019-09-22 19:56:12.310 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE: TV is off to OFFLINE (COMMUNICATION_ERROR): Connection Failed: Disconnected

2019-09-22 19:56:12.310 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:f9ec57aa-a319-d3ea-5f23-fc59673fde3b' changed from OFFLINE (COMMUNICATION_ERROR): Connection Failed: Disconnected to OFFLINE: TV is off

There seem to be two issues:

A)
2019-09-22 19:55:17.785 [DEBUG] [webos.internal.handler.WebOSTVSocket] - Error: {“type”:“error”,“id”:3,“error”:“1010 tuner channel map does not exist”,“payload”:{}}

This error message comes from the TV itself in response to the query for all Channels. I have no idea what to do about it, to be honest. Without this, you won’t be able to switch channels via the binding.

B)

2019-09-22 19:55:17.788 [WARN ] [ng.lgwebos.internal.TVControlChannel] - error requesting channel list: 
2019-09-22 19:56:06.975 [DEBUG] [gwebos.internal.handler.WebOSHandler] - Connection failed - error: Value must be between 0 and 100
	at org.openhab.binding.lgwebos.internal.handler.WebOSTVSocket.sendMessage(WebOSTVSocket.java:342) ~[?:?]
	at org.openhab.binding.lgwebos.internal.handler.WebOSTVSocket.sendCommand(WebOSTVSocket.java:304) ~[?:?]
	at org.openhab.binding.lgwebos.internal.handler.WebOSTVSocket.subscribeCurrentChannel(WebOSTVSocket.java:501) ~[?:?]
	at org.openhab.binding.lgwebos.internal.TVControlChannel.getSubscription(TVControlChannel.java:95) ~[?:?]
	at org.openhab.binding.lgwebos.internal.BaseChannelHandler.refreshSubscription(BaseChannelHandler.java:70) ~[?:?]
	at org.openhab.binding.lgwebos.internal.handler.WebOSHandler.refreshChannelSubscription(WebOSHandler.java:254) ~[?:?]
	at org.openhab.binding.lgwebos.internal.handler.WebOSHandler.channelLinked(WebOSHandler.java:235) ~[?:?]

This acutally sounded to me like a familiar OH error when parsing a PercentType. And this seems to be the case, as you confirmed in the previous version. Could it be that the type of the item you have bound to this channel is not String? The type of this channel changed to string a while ago. Please confirm if it works if you connect this channel to a String type item.

Nevertheless, an exception at this point should not disconnect the binding. Have to come up with a solution to that.

Kind Regards
Sebastian

new version, which should handle your error (B) gracefully, without disconnecting the tv

That seems to have fixed my problem. Both of my TV’s added and connected normally. I will say that one of the reasons I may have errors with my item definitions is because I currently only use this binding for on/off and source functionality. I don’t use the volume or channels on my TV.

Thank you, Sebastian!

1 Like

Exciting news: pull request #6060 was merged. So we will see this new version in snapshot builds.

2 Likes

Hi, sorry it took so long to reply…to much work!
There is only a set of braces {} in the StoredDevice file, what is the format of what it should have:
the TVs are:

The TV’s are defined in the “org.eclipse.smarthome.core.thing.Thing.json”
File

{
  "lgwebos:WebOSTV:93d6e248-596d-40b2-bf27-2f93e0c70c1b": {
    "class": "org.eclipse.smarthome.core.thing.internal.ThingImpl",
    "value": {
      "label": "PBA TV1",
      "channels": [
        {
          "acceptedItemType": "Switch",
          "kind": "STATE",
          "uid": {
            "segments": [
              "lgwebos",
              "WebOSTV",
              "93d6e248-596d-40b2-bf27-2f93e0c70c1b",
              "power"
            ]
          },
          "channelTypeUID": {
            "segments": [
              "lgwebos",
              "powerType"
            ]
          },
          "label": "Power",
          "description": "Via this binding TV can only be powered off, not on.",
          "configuration": {
            "properties": {}
          },
          "properties": {},
          "defaultTags": []
        },
        {
          "acceptedItemType": "Switch",
          "kind": "STATE",
          "uid": {
            "segments": [
              "lgwebos",
              "WebOSTV",
              "93d6e248-596d-40b2-bf27-2f93e0c70c1b",
              "mute"
            ]
          },
          "channelTypeUID": {
            "segments": [
              "lgwebos",
              "muteType"
            ]
          },
          "label": "Mute",
          "description": "Current Mute Setting",
          "configuration": {
            "properties": {}
          },
          "properties": {},
          "defaultTags": []
        },
        {
          "acceptedItemType": "Dimmer",
          "kind": "STATE",
          "uid": {
            "segments": [
              "lgwebos",
              "WebOSTV",
              "93d6e248-596d-40b2-bf27-2f93e0c70c1b",
              "volume"
            ]
          },
          "channelTypeUID": {
            "segments": [
              "lgwebos",
              "volumeType"
            ]
          },
          "label": "Volume",
          "description": "Current Volume Setting",
          "configuration": {
            "properties": {}
          },
          "properties": {},
          "defaultTags": []
        },
        {
          "acceptedItemType": "Number",
          "kind": "STATE",
          "uid": {
            "segments": [
              "lgwebos",
              "WebOSTV",
              "93d6e248-596d-40b2-bf27-2f93e0c70c1b",
              "channel"
            ]
          },
          "channelTypeUID": {
            "segments": [
              "lgwebos",
              "channelType"
            ]
          },
          "label": "Channel",
          "description": "Current Channel",
          "configuration": {
            "properties": {}
          },
          "properties": {},
          "defaultTags": []
        },
        {
          "acceptedItemType": "String",
          "kind": "STATE",
          "uid": {
            "segments": [
              "lgwebos",
              "WebOSTV",
              "93d6e248-596d-40b2-bf27-2f93e0c70c1b",
              "channelName"
            ]
          },
          "channelTypeUID": {
            "segments": [
              "lgwebos",
              "channelNameChannelType"
            ]
          },
          "label": "Channel Name",
          "description": "Current Channel Name",
          "configuration": {
            "properties": {}
          },
          "properties": {},
          "defaultTags": []
        },
        {
          "acceptedItemType": "String",
          "kind": "STATE",
          "uid": {
            "segments": [
              "lgwebos",
              "WebOSTV",
              "93d6e248-596d-40b2-bf27-2f93e0c70c1b",
              "toast"
            ]
          },
          "channelTypeUID": {
            "segments": [
              "lgwebos",
              "toastType"
            ]
          },
          "label": "Toast",
          "description": "Send a message onto the TV screen.",
          "configuration": {
            "properties": {}
          },
          "properties": {},
          "defaultTags": []
        },
        {
          "acceptedItemType": "Player",
          "kind": "STATE",
          "uid": {
            "segments": [
              "lgwebos",
              "WebOSTV",
              "93d6e248-596d-40b2-bf27-2f93e0c70c1b",
              "mediaPlayer"
            ]
          },
          "channelTypeUID": {
            "segments": [
              "lgwebos",
              "mediaPlayerType"
            ]
          },
          "label": "Media Control",
          "description": "Control media (e.g. audio or video) playback",
          "configuration": {
            "properties": {}
          },
          "properties": {},
          "defaultTags": []
        },
        {
          "acceptedItemType": "Switch",
          "kind": "STATE",
          "uid": {
            "segments": [
              "lgwebos",
              "WebOSTV",
              "93d6e248-596d-40b2-bf27-2f93e0c70c1b",
              "mediaStop"
            ]
          },
          "channelTypeUID": {
            "segments": [
              "lgwebos",
              "mediaStopType"
            ]
          },
          "label": "Stop",
          "description": "Stop Playback",
          "configuration": {
            "properties": {}
          },
          "properties": {},
          "defaultTags": []
        },
        {
          "acceptedItemType": "String",
          "kind": "STATE",
          "uid": {
            "segments": [
              "lgwebos",
              "WebOSTV",
              "93d6e248-596d-40b2-bf27-2f93e0c70c1b",
              "appLauncher"
            ]
          },
          "channelTypeUID": {
            "segments": [
              "lgwebos",
              "appLauncherChannelType"
            ]
          },
          "label": "Application",
          "description": "Start application and monitor running applications.",
          "configuration": {
            "properties": {}
          },
          "properties": {},
          "defaultTags": []
        }
      ],
      "configuration": {
        "properties": {
          "deviceId": "93d6e248-596d-40b2-bf27-2f93e0c70c1b"
        }
      },
      "properties": {},
      "uid": {
        "segments": [
          "lgwebos",
          "WebOSTV",
          "93d6e248-596d-40b2-bf27-2f93e0c70c1b"
        ]
      },
      "thingTypeUID": {
        "segments": [
          "lgwebos",
          "WebOSTV"
        ]
      }
    }
  },

Hello,

I had to pair my Lg TV, but in the current snapshot of openhab I get the follwing error:

Thing 'lgwebos:WebOSTV:a50d3c74-41f9-1f34-5119-b22ccd48f1f5' has been updated.

2019-10-10 19:07:50.291 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:a50d3c74-41f9-1f34-5119-b22ccd48f1f5' changed from OFFLINE: TV is off to ONLINE: Registering - You may need to confirm pairing on TV.

2019-10-10 19:07:50.317 [me.event.ThingUpdatedEvent] - Thing 'lgwebos:WebOSTV:a50d3c74-41f9-1f34-5119-b22ccd48f1f5' has been updated.

2019-10-10 19:07:50.318 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:a50d3c74-41f9-1f34-5119-b22ccd48f1f5' changed from ONLINE: Registering - You may need to confirm pairing on TV. to ONLINE: Connected

2019-10-10 19:07:50.325 [vent.ItemStateChangedEvent] - TV_Living_Power changed from OFF to ON

2019-10-10 19:07:52.965 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:a50d3c74-41f9-1f34-5119-b22ccd48f1f5' changed from ONLINE: Connected to OFFLINE (COMMUNICATION_ERROR): Connection Failed: Text message size [2258187] exceeds maximum size [2097152]

2019-10-10 19:07:52.967 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:a50d3c74-41f9-1f34-5119-b22ccd48f1f5' changed from OFFLINE (COMMUNICATION_ERROR): Connection Failed: Text message size [2258187] exceeds maximum size [2097152] to OFFLINE: TV is off

Of course, I’ve confirmed the paing on the TV.
This appears every 3 seconds in the log.
When I switch back to 2.4 stable of the binding , everything works fine.
Regards,
Olli

Thank you Olli for this valuable feedback

the return message size is too big.
I’ll have to increase it or figure out a smarter way to handle this

for your reference

Hello Sebastian,
the issue seems to be solved. Everything is looking good now :slight_smile: .
Thank you for your great support.

Regards,
Olli

Hello Sebastian,

I found another Problem with my new LG TV (webOS 4.5).
When I switch off the TV via Remote Control, the Thing goes OFFLINE, but it never comes back ONLINE.
I have to restart the binding/openhab to get it ONLINE again.

This will not happen, when I switch the TV off via openhab.

Regards,
Olli

P.S.: Here is the the debug log when this happens…it seems the binding stays in status “Connecting”.

2019-10-27 12:40:24.509 [DEBUG] [ng.lgwebos.internal.TVControlChannel] - Channel 8 - 1LIVE diGGi (Internet)
2019-10-27 12:40:24.510 [DEBUG] [ng.lgwebos.internal.TVControlChannel] - Channel 9 - WDR Event (Internet)
2019-10-27 12:40:31.109 [DEBUG] [bos.internal.handler.LGWebOSTVSocket] - WebSocket Closed - Code: 1001, Reason: server shutting down
2019-10-27 12:40:31.114 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.VolumeControlVolume on IP: lgwebos:WebOSTV:351e981f-4b8e-2d38-bf49-c6443119c0c1
2019-10-27 12:40:31.117 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.LauncherApplication on IP: lgwebos:WebOSTV:351e981f-4b8e-2d38-bf49-c6443119c0c1
2019-10-27 12:40:31.119 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.TVControlChannel on IP: lgwebos:WebOSTV:351e981f-4b8e-2d38-bf49-c6443119c0c1
2019-10-27 12:40:31.122 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.VolumeControlMute on IP: lgwebos:WebOSTV:351e981f-4b8e-2d38-bf49-c6443119c0c1
2019-10-27 12:40:31.124 [DEBUG] [.lgwebos.internal.BaseChannelHandler] - Unsubscribed org.openhab.binding.lgwebos.internal.TVControlChannelName on IP: lgwebos:WebOSTV:351e981f-4b8e-2d38-bf49-c6443119c0c1
2019-10-27 12:40:31.128 [DEBUG] [bos.internal.handler.LGWebOSTVSocket] - Connecting to: ws://172.16.1.44:3000
2019-10-27 12:40:41.132 [DEBUG] [bos.internal.handler.LGWebOSTVSocket] - Not trying to connect. Current state is: CONNECTING
2019-10-27 12:40:51.135 [DEBUG] [bos.internal.handler.LGWebOSTVSocket] - Not trying to connect. Current state is: CONNECTING
2019-10-27 12:41:01.139 [DEBUG] [bos.internal.handler.LGWebOSTVSocket] - Not trying to connect. Current state is: CONNECTING
2019-10-27 12:41:11.142 [DEBUG] [bos.internal.handler.LGWebOSTVSocket] - Not trying to connect. Current state is: CONNECTING
....
2019-10-27 12:44:51.193 [DEBUG] [bos.internal.handler.LGWebOSTVSocket] - Not trying to connect. Current state is: CONNECTING
2019-10-27 12:45:01.197 [DEBUG] [bos.internal.handler.LGWebOSTVSocket] - Not trying to connect. Current state is: CONNECTING
2019-10-27 12:45:11.199 [DEBUG] [bos.internal.handler.LGWebOSTVSocket] - Not trying to connect. Current state is: CONNECTING
2019-10-27 12:45:14.677 [DEBUG] [very.LGWebOSUpnpDiscoveryParticipant] - Found LG WebOS TV: (RemoteDevice) Identity: (RemoteDeviceIdentity) UDN: uuid:351e981f-4b8e-2d38-bf49-c6443119c0c1, Descriptor: http://172.16.1.44:1060/, Root: true
2019-10-27 12:45:21.200 [DEBUG] [bos.internal.handler.LGWebOSTVSocket] - Not trying to connect. Current state is: CONNECTING
2019-10-27 12:45:31.202 [DEBUG] [bos.internal.handler.LGWebOSTVSocket] - Not trying to connect. Current state is: CONNECTING

it takes some time to shut down, as well as to boot up. think of the tv as a small linux box. only after it is fully started it will respond to api requests

I think in this case it’s not a matter of time.
Sometimes after switching off the TV this will occur in the debug log for hours:

Not trying to connect. Current state is: CONNECTING

When I start the TV (WOL or RC) hours after switching it off, I still get the message and the binding stays offline.

Normally this message occurs in the debug log:

Connecting to: ws://172.16.1.44:3000

Then everything works fine…

Regards,
Olli

I’ve tested it with 2.4 stable.There aren’t these Problems.
2.5 has problems with the Thing status. It always stays ONLINE when the TV is switched off, until it gets a timeout after 5 mins , then the Thing goes offline. But im most cases the binding doesn’t come ONLINE after switching on.
2.4. ist going OFFLINE instantly after switching off the TV and it comes ONLINE after a couple of seconds when switching the tv on.

I use 2.5.0.M4 (Openhab & binding version) and the status (ON/OFF) updates within a few seconds.

Hello,
is your TV webOS 3 or 4.5 ?
My older TV with webOS 3 works fine with the current snapshot. My newer TV with 4.5 does not.

Hi,

please use the version, which comes with openhab snapshot builds or pre-releases, don’t use the snapshot I released in my github account.

In the 2.4 version ONLINE or OFFLINE was based on UPNP discovery results.

In the new version ONLINE or OFFLINE is determined by the ability of OH to estabilsh the websocket connection to the device over the network. Once the network connection breaks it is OFFLINE until OH is able to connect back again.

I wonder if the 4.5 device remains “online” from a network perspective for 5 min until it finally fully shuts down. Could you do a short test and shut down the 4.5 TV, and maybe 15 sec later pull the power cord. I bet it will show as OFFLINE. If that is the case, we would have to figure out a way to query that state via the api.

Hi,
in my tests I always use the latest openhab snapshot builds with a webOs 4.5 based TV.

So, here are my results:

Switch TV off:

2019-10-28 23:11:47.866 [DEBUG] [very.LGWebOSUpnpDiscoveryParticipant] - Found LG WebOS TV: (RemoteDevice) Identity: (RemoteDeviceIdentity) UDN: uuid:351e981f-4b8e-2d38-bf49-c6443119c0c1, Descriptor: http://172.16.1.44:1458/, Root: true
2019-10-28 23:11:48.246 [vent.ItemStateChangedEvent] - TV_Bed_Application changed from com.webos.app.hdmi1 to

Pulled the plug after 15 seconds…nothing happens

five minutes later:

2019-10-28 23:16:48.245 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:351e981f-4b8e-2d38-bf49-c6443119c0c1' changed from ONLINE: Connected to OFFLINE (COMMUNICATION_ERROR): Connection Failed: java.util.concurrent.TimeoutException: Idle timeout expired: 300000/300000 ms

2019-10-28 23:16:48.252 [hingStatusInfoChangedEvent] - 'lgwebos:WebOSTV:351e981f-4b8e-2d38-bf49-c6443119c0c1' changed from OFFLINE (COMMUNICATION_ERROR): Connection Failed: java.util.concurrent.TimeoutException: Idle timeout expired: 300000/300000 ms to OFFLINE: TV is off

Now 2 different things could happen:

-Binding comes online when powering on the TV. This is the expected behaviour. In this case I get this log until I switch the TV on:

 [DEBUG] [bos.internal.handler.LGWebOSTVSocket] - Connecting to: ws://172.16.1.44:3000

 [DEBUG] [ebos.internal.handler.LGWebOSHandler] - Connection failed - error: Connect Timeout

-Binding remains offline: Here I get this log:

[DEBUG] [bos.internal.handler.LGWebOSTVSocket] - Connecting to: ws://172.16.1.44:3000
[DEBUG] [ebos.internal.handler.LGWebOSHandler] - Not trying to connect. Current state is: CONNECTING

Hope it helps…
Olli

mine is webOS4.5