OMR
(Ole Morten Rønning)
December 21, 2018, 10:19pm
1
TV is pingable. Wired connection.
Mobile TV on is ON.
LG Connect Apps is ON.
TV is ON.
Model OLED55B7V-Z
webOS TV version 3.8.0-61105 (dreadlocks2-dunggir)
x64 running Ubuntu server 16.04 LTS
Nothing is auto discovered, nor when starting WEB Os manual search.
UPNP enabled in router (Asus RT-AC3200)
Any ideas on how to proceed?
Dim
(Angelos)
December 21, 2018, 10:23pm
2
OMR
(Ole Morten Rønning)
December 21, 2018, 10:24pm
3
Sorry, forgot:
openhab> bundle:list | grep -i lg
249 │ Active │ 80 │ 2.5.0.201812210554 │ LG webOS Binding
Dim
(Angelos)
December 21, 2018, 10:29pm
4
I would try to enable TRACE log level to see if something useful is coming up in the logs
no other ideas for the moment
OMR
(Ole Morten Rønning)
December 21, 2018, 10:42pm
5
openhab> list -s |grep -i lg
249 │ Active │ 80 │ 2.5.0.201812210554 │ org.openhab.binding.lgwebos
openhab> log:set TRACE org.openhab.binding.lgwebos
Nothing logged when starting a discovery…
$ tail -F -n 900 /var/log/openhab2/openhab.log
Dim
(Angelos)
December 21, 2018, 10:45pm
6
that’s strange… re-install the addon maybe?
I don’t use this specific binding but it seems strange that it would not spit out anything during a discovery attempt…
OMR
(Ole Morten Rønning)
December 21, 2018, 10:50pm
7
My thought as well, so I already tried that, but will try once more…
1 Like
OMR
(Ole Morten Rønning)
December 21, 2018, 10:59pm
8
Uninstall:
2018-12-21 23:51:06.822 [DEBUG] [org.openhab.binding.lgwebos ] - ServiceEvent UNREGISTERING - {org.eclipse.smarthome.config.discovery.DiscoveryService, org.openhab.binding.lgwebos.internal.discovery.LGWebOSDiscovery}={service.id=428, service.bundleid=249, service.scope=bundle, localIP=192.168.1.6, service.pid=binding.lgwebos, component.name=org.openhab.binding.lgwebos.internal.discovery.LGWebOSDiscovery, component.id=261} - org.openhab.binding.lgwebos
2018-12-21 23:51:06.838 [DEBUG] [org.openhab.binding.lgwebos ] - ServiceEvent UNREGISTERING - {org.eclipse.smarthome.core.thing.binding.ThingHandlerFactory}={service.id=429, service.bundleid=249, service.scope=bundle, localIP=192.168.1.6, service.pid=binding.lgwebos, component.name=org.openhab.binding.lgwebos.internal.LGWebOSHandlerFactory, component.id=262} - org.openhab.binding.lgwebos
2018-12-21 23:51:07.136 [DEBUG] [org.openhab.binding.lgwebos ] - BundleEvent STOPPING - org.openhab.binding.lgwebos
2018-12-21 23:51:07.139 [DEBUG] [org.openhab.binding.lgwebos ] - ServiceEvent UNREGISTERING - {org.osgi.service.cm.ManagedService}={service.id=427, service.bundleid=249, service.scope=singleton} - org.openhab.binding.lgwebos
2018-12-21 23:51:07.186 [DEBUG] [org.openhab.binding.lgwebos ] - BundleEvent STOPPED - org.openhab.binding.lgwebos
2018-12-21 23:51:07.244 [DEBUG] [org.openhab.binding.lgwebos ] - BundleEvent UNRESOLVED - org.openhab.binding.lgwebos
2018-12-21 23:51:07.600 [DEBUG] [org.openhab.binding.lgwebos ] - BundleEvent UNINSTALLED - org.openhab.binding.lgwebos
2018-12-21 23:51:09.233 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-binding-lgwebos'
Re-install:
2018-12-21 23:55:46.185 [DEBUG] [org.openhab.binding.lgwebos ] - BundleEvent INSTALLED - org.openhab.binding.lgwebos
2018-12-21 23:55:47.159 [DEBUG] [org.openhab.binding.lgwebos ] - BundleEvent RESOLVED - org.openhab.binding.lgwebos
2018-12-21 23:55:47.296 [DEBUG] [org.openhab.binding.lgwebos ] - BundleEvent STARTING - org.openhab.binding.lgwebos
2018-12-21 23:55:47.330 [DEBUG] [org.openhab.binding.lgwebos ] - ServiceEvent REGISTERED - {org.osgi.service.cm.ManagedService}={service.id=436, service.bundleid=251, service.scope=singleton} - org.openhab.binding.lgwebos
2018-12-21 23:55:47.398 [DEBUG] [org.openhab.binding.lgwebos ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.config.discovery.DiscoveryService, org.openhab.binding.lgwebos.internal.discovery.LGWebOSDiscovery}={service.id=437, service.bundleid=251, service.scope=bundle, localIP=192.168.1.6, service.pid=binding.lgwebos, component.name=org.openhab.binding.lgwebos.internal.discovery.LGWebOSDiscovery, component.id=263} - org.openhab.binding.lgwebos
2018-12-21 23:55:47.619 [DEBUG] [.internal.discovery.LGWebOSDiscovery] - Config Parameters: {service.pid=binding.lgwebos, localIP=192.168.1.6, component.name=org.openhab.binding.lgwebos.internal.discovery.LGWebOSDiscovery, component.id=263}
2018-12-21 23:55:47.623 [DEBUG] [.internal.discovery.LGWebOSDiscovery] - localIP property was explicitly set to: 192.168.1.6
2018-12-21 23:55:47.657 [DEBUG] [org.openhab.binding.lgwebos ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.core.thing.binding.ThingHandlerFactory}={service.id=438, service.bundleid=251, service.scope=bundle, localIP=192.168.1.6, service.pid=binding.lgwebos, component.name=org.openhab.binding.lgwebos.internal.LGWebOSHandlerFactory, component.id=264} - org.openhab.binding.lgwebos
2018-12-21 23:55:47.680 [DEBUG] [org.openhab.binding.lgwebos ] - BundleEvent STARTED - org.openhab.binding.lgwebos
TV:
$ ping 192.168.1.243
PING 192.168.1.243 (192.168.1.243) 56(84) bytes of data.
64 bytes from 192.168.1.243: icmp_seq=1 ttl=64 time=0.253 ms
64 bytes from 192.168.1.243: icmp_seq=2 ttl=64 time=0.231 ms
64 bytes from 192.168.1.243: icmp_seq=3 ttl=64 time=0.239 ms
Dim
(Angelos)
December 21, 2018, 11:01pm
9
looks nice and clean…
anything strange in:
config:list "(service.pid=binding.lgwebos)"
Dim
(Angelos)
December 21, 2018, 11:06pm
10
if you use some SSDP tool on your Ubuntu host running OH2, does it show the TV?
e.g.:
gssdp-discover -i eth0 --timeout=3
(part of gupnp-tools)
no firewall or anything else between OH2 and the TV?
OMR
(Ole Morten Rønning)
December 21, 2018, 11:21pm
11
Thanks for helping out.
openhab> config:list "(service.pid=binding.lgwebos)"
----------------------------------------------------------------
Pid: binding.lgwebos
BundleLocation: null
Properties:
localIP = 192.168.1.6
service.pid = binding.lgwebos
openhab>
$ gssdp-discover -i enp2s0f5 --timeout=3 | grep -C3 .243
Location: http://192.168.1.1:1990/WFADevice.xml
resource available
USN: uuid:54d352f2-b97f-19e6-61aa-7219d7001626::upnp:rootdevice
Location: http://192.168.1.243:1328/
resource available
USN: uuid:94a5ffa1-8bb8-439c-ad6d-ddc3103f01a2::upnp:rootdevice
Location: http://192.168.1.243:1412/
resource available
USN: uuid:94a5ffa1-8bb8-439c-ad6d-ddc3103f01a2
Location: http://192.168.1.243:1412/
resource available
USN: uuid:54d352f2-b97f-19e6-61aa-7219d7001626
Location: http://192.168.1.243:1328/
resource available
USN: uuid:54d352f2-b97f-19e6-61aa-7219d7001626::urn:schemas-upnp-org:device:MediaRenderer:1
Location: http://192.168.1.243:1328/
resource available
USN: uuid:94a5ffa1-8bb8-439c-ad6d-ddc3103f01a2::urn:dial-multiscreen-org:service:dial:1
Location: http://192.168.1.243:1412/
resource available
USN: uuid:54d352f2-b97f-19e6-61aa-7219d7001626::urn:schemas-upnp-org:service:AVTransport:1
Location: http://192.168.1.243:1328/
resource available
USN: uuid:54d352f2-b97f-19e6-61aa-7219d7001626::urn:schemas-upnp-org:service:ConnectionManager:1
Location: http://192.168.1.243:1328/
resource available
USN: uuid:54d352f2-b97f-19e6-61aa-7219d7001626::urn:schemas-upnp-org:service:RenderingControl:1
Location: http://192.168.1.243:1328/
resource available
USN: uuid:d4753582-8f7f-a70a-38cc-47df24556b3f::upnp:rootdevice
Location: http://192.168.1.243:1201/
resource available
USN: uuid:d4753582-8f7f-a70a-38cc-47df24556b3f
Location: http://192.168.1.243:1201/
resource available
USN: uuid:d4753582-8f7f-a70a-38cc-47df24556b3f::urn:schemas-upnp-org:device:Basic:1
Location: http://192.168.1.243:1201/
resource available
USN: uuid:d4753582-8f7f-a70a-38cc-47df24556b3f::urn:lge-com:service:webos-second-screen:1
Location: http://192.168.1.243:1201/
resource available
USN: uuid:3ddcd1d3-2380-45f5-b069-2c4d54b06bc2::urn:schemas-upnp-org:device:WANConnectionDevice:1
Dim
(Angelos)
December 21, 2018, 11:26pm
12
both my hands are up on the air… I really don’t know what else to suggest… (other than opening up a github issue )
nothing wrong with the config admin of OH2 and your linux host can reach using SSDP the TV…
1 Like
OMR
(Ole Morten Rønning)
December 23, 2018, 4:10pm
13
Issue well debated here.
Probably a bug in the binding …
1 Like