Hello,
I previously had a Wemo insight switch running in OH 2.1 with wemo binding 0.9.0 successfully.
After doing a yum package update to OH 2.2 the whole system wouldn’t start anymore…I eventually gave up troubleshooting that and just yum removed the packages and re-installed from scratch.
Now I cannot seem to get the insight switch to work again.
Initially after installing new wemo binding it did show up in inbox and could be added as a thing but all I ever got in the logs were these messages:
2017-12-21 16:49:34.712 [DEBUG] [ome.binding.wemo.handler.WemoHandler] - WeMo UPnP device Insight-1_0-221608K12007D6 not yet registered
2017-12-21 16:49:34.716 [DEBUG] [ome.binding.wemo.handler.WemoHandler] - Setting up WeMo GENA subscription for ‘org.eclipse.smarthome.binding.wemo.handler.WemoHandler@2126f49f’ FAILED - service.isRegistered(this) is FALSE
At some point I deleted the thing and tried to re-discover; it no longer shows up in inbox or manual search. Doing a manual add with the same UDN leads to those same gena subscription errors and nothing more.
Not sure how to troubleshoot this further; can anyone help?
Here are the wemo related logs of installing the binding and adding the thing manually:
2017-12-21 16:44:47.167 [DEBUG] [org.eclipse.smarthome.binding.wemo ] - BundleEvent INSTALLED - org.eclipse.smarthome.binding.wemo
2017-12-21 16:44:47.223 [DEBUG] [org.eclipse.smarthome.binding.wemo ] - BundleEvent RESOLVED - org.eclipse.smarthome.binding.wemo
2017-12-21 16:44:47.245 [DEBUG] [org.eclipse.smarthome.binding.wemo ] - BundleEvent STARTING - org.eclipse.smarthome.binding.wemo
2017-12-21 16:44:47.250 [DEBUG] [org.eclipse.smarthome.binding.wemo ] - BundleEvent STARTED - org.eclipse.smarthome.binding.wemo
2017-12-21 16:44:47.281 [DEBUG] [org.eclipse.smarthome.binding.wemo ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.config.discovery.upnp.UpnpDiscoveryParticipant}={component.name=org.eclipse.smarthome.binding.wemo.discovery.WemoDiscoveryParticipant, component.id=214, service.id=344, service.bundleid=226, service.scope=bundle} - org.eclipse.smarthome.binding.wemo
2017-12-21 16:44:47.289 [DEBUG] [ernal.discovery.WemoDiscoveryService] - Starting WeMo UPnP discovery…
2017-12-21 16:44:47.292 [DEBUG] [ernal.discovery.WemoDiscoveryService] - Starting UPnP RootDevice search…
2017-12-21 16:44:47.297 [DEBUG] [org.eclipse.smarthome.binding.wemo ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.config.discovery.DiscoveryService}={component.name=org.eclipse.smarthome.binding.wemo.discovery.WemoDiscoveryService, component.id=215, service.id=345, service.bundleid=226, service.scope=bundle} - org.eclipse.smarthome.binding.wemo
2017-12-21 16:44:47.310 [DEBUG] [org.eclipse.smarthome.binding.wemo ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.core.thing.binding.ThingHandlerFactory}={component.name=org.eclipse.smarthome.binding.wemo.internal.WemoHandlerFactory, component.id=216, service.id=346, service.bundleid=226, service.scope=bundle} - org.eclipse.smarthome.binding.wemo
2017-12-21 16:45:34.644 [DEBUG] [ing.wemo.internal.WemoHandlerFactory] - Trying to create a handler for ThingType 'wemo:insight
2017-12-21 16:45:34.662 [DEBUG] [ing.wemo.internal.WemoHandlerFactory] - Creating a WemoHandler for thing ‘wemo:insight:257efe0d’ with UDN 'Insight-1_0-221608K12007D6’
2017-12-21 16:45:34.671 [DEBUG] [ome.binding.wemo.handler.WemoHandler] - Creating a WemoHandler for thing 'wemo:insight:257efe0d’
2017-12-21 16:45:34.685 [DEBUG] [ome.binding.wemo.handler.WemoHandler] - Initializing WemoHandler for UDN 'Insight-1_0-221608K12007D6’
2017-12-21 16:45:34.687 [DEBUG] [ome.binding.wemo.handler.WemoHandler] - Setting up WeMo GENA subscription for ‘org.eclipse.smarthome.binding.wemo.handler.WemoHandler@2126f49f’ FAILED - service.isRegistered(this) is FALSE
2017-12-21 16:45:34.691 [DEBUG] [ome.binding.wemo.handler.WemoHandler] - WeMo UPnP device Insight-1_0-221608K12007D6 not yet registered
2017-12-21 16:45:34.694 [DEBUG] [ome.binding.wemo.handler.WemoHandler] - Setting up WeMo GENA subscription for ‘org.eclipse.smarthome.binding.wemo.handler.WemoHandler@2126f49f’ FAILED - service.isRegistered(this) is FALSE
OH server can reach the wemo switch:
nmap 10.0.2.93
Starting Nmap 6.40 ( http://nmap.org ) at 2017-12-21 16:52 AEDT
Nmap scan report for 10.0.2.93
Host is up (0.0044s latency).
Not shown: 998 closed ports
PORT STATE SERVICE
53/tcp open domain
49153/tcp open unknown
MAC Address: 94:10:3E:43:1C:FD (Unknown)
It works ok in the wemo android app.
Server is a Centos 7.4 VM. Java is openjdk 1.8.0_151.
Thank you,
-Martin.