Hi, I’ve been experiencing some issue in OH2 with the Wemo binding stability. When booting the Raspberry the Binding does work correctly for some hours and all connection are working, then suddenly the Wemo light switches stop responding in all my rules and sitemap. If I do try the Wemo ios app, the switch are still responding…
i did try to capture that with the log and got that:
When booting the Raspberry, all status are updated:
2017-09-26 08:32:32.227 [TRACE] [ome.binding.wemo.handler.WemoHandler] - New state ‘0’ for device ‘wemo:lightswitch:Lightswitch-1_0-221413K130090B’ received
2017-09-26 08:32:32.228 [DEBUG] [ome.binding.wemo.handler.WemoHandler] - Received pair ‘BinaryState’:‘0’ (service ‘basicevent1’) for thing 'wemo:lightswitch:Lightswitch-1_0-221413K130090B’
2017-09-26 08:32:32.234 [DEBUG] [ome.binding.wemo.handler.WemoHandler] - State ‘OFF’ for device ‘wemo:lightswitch:Lightswitch-1_0-221413K130090B’ received
2017-09-26 08:32:32.240 [DEBUG] [ome.binding.wemo.handler.WemoHandler] - Checking WeMo GENA subscription for 'org.eclipse.smarthome.binding.wemo.handler.WemoHandler@11cc897’
2017-09-26 08:32:46.958 [TRACE] [ome.binding.wemo.handler.WemoHandler] - State response
Then after a period of time The log gives me:
[DEBUG] [o.discovery.WemoDiscoveryParticipant] - Discovered a WeMo Lightswitch thing with UDN 'Lightswitch-1_0-221410K1300935’
2017-09-26 20:48:27.419 [DEBUG] [o.discovery.WemoDiscoveryParticipant] - Discovered a WeMo Lightswitch thing with UDN 'Lightswitch-1_0-221413K130090B’
2017-09-26 20:48:32.193 [DEBUG] [ome.binding.wemo.handler.WemoHandler] - WeMo UPnP device Lightswitch-1_0-221413K130090B not yet registered
2017-09-26 20:48:32.194 [DEBUG] [ome.binding.wemo.handler.WemoHandler] - Setting up WeMo GENA subscription for ‘org.eclipse.smarthome.binding.wemo.handler.WemoHandler@11cc897’ FAILED - service.isRegistered(this) is FALSE
2017-09-26 20:48:46.929 [DEBUG] [ome.binding.wemo.handler.WemoHandler] - WeMo UPnP device Lightswitch-1_0-221410K1300935 not yet registered
2017-09-26 20:48:46.931 [DEBUG] [ome.binding.wemo.handler.WemoHandler] - Setting up WeMo GENA subscription for ‘org.eclipse.smarthome.binding.wemo.handler.WemoHandler@69adcd’ FAILED - service.isRegistered(this) is FALSE
2017-09-26 20:50:22.975 [DEBUG] [ome.binding.wemo.handler.WemoHandler] - Setting up WeMo GENA subscription for ‘org.eclipse.smarthome.binding.wemo.handler.WemoHandler@17848a7’ FAILED - service.isRegistered(this) is FALSE
2017-09-26 20:50:32.192 [DEBUG] [ome.binding.wemo.handler.WemoHandler] - WeMo UPnP device Lightswitch-1_0-221413K130090B not yet registered
i did try two different method of declaring the items:
- Using Paper UI Things, creating dummy switch in a .items so that I refer to them in a .sitemap and also use the Homekit integration
//Type SW_Name VisualisationName Logo HomekitType
Switch lt_bedroom "Lumiere Chambre" <light> ["Lighting"]
Switch lt_outside "Lumiere Exterieur" <light> ["Lighting"]
2)Simply using the .items file to declare them and have the Thing discovered in Paper UI but not linked to any .item
//Type SW_Name VisualisationName Logo HomekitType UUID
Switch lt_bedroom "Lumiere Chambre" <light> ["Lighting"] {channel="wemo:lightswitch:Lightswitch-1_0-221413K130090B:state"}
Switch lt_outside "Lumiere Exterieur" <light> ["Lighting"] {channel="wemo:lightswitch:Lightswitch-1_0-221410K1300935:state"}
in both situation the GENA subscription always end up failing after a certain period of time. Is there something I’ve missed? I did try a quick search on the forum but no luck.
Note: All my OH2 updated we done last week but nothing fixed the issue