One of my two insight devices stopped working in the early hours of the morning and can’t be controlled from OpenHAB 2, although it can be controlled from the Wemo App, my other Wemo insight is working normally. In the log I get “could not call wemo” error messages every 2 minutes, and I get an error message every time I try to turn it on or off. @hmerk is there a way of troubleshooting this, or do I need a later version of the binding? Should I just reboot OpenHAB?
2017-04-03 08:48:22.054 [ERROR] [ome.binding.wemo.handler.WemoHandler] - Failed to get actual state for device 'wemo:insight:Insight-1_0-221524K1200060': Could not call WeMo
2017-04-03 08:48:52.761 [ERROR] [ome.binding.wemo.handler.WemoHandler] - Failed to send command 'ON' for device 'wemo:insight:Insight-1_0-221524K1200060': Could not call WeMo
2017-04-03 08:48:57.334 [ERROR] [ome.binding.wemo.handler.WemoHandler] - Failed to send command 'OFF' for device 'wemo:insight:Insight-1_0-221524K1200060': Could not call WeMo
2017-04-03 08:50:22.053 [ERROR] [ome.binding.wemo.handler.WemoHandler] - Failed to get actual state for device 'wemo:insight:Insight-1_0-221524K1200060': Could not call WeMo
UPDATE: Whilst looking for something else I found possibly a duplicate instance of this item in org.eclipse.smarthome.core.items.item.json. It was the only entry in there, so I’ve deleted it followed by a reboot and that insight switch still works. I will keep an eye out for more log errors and see if the error returns. Looking in the backup folder, the only backup of org.eclipse.smarthome.core.items.item.json was created 2 days ago after a scheduled reboot at 3:50am, and the error started around 48 hours later at around 3:50am
As there are no relevant changes to the binding, you don’t need to upgrade. This error can happen from time to time, only solution is to restart openHAB.
Sorry, will not be able to provide an update in short time. In the meantime, you could try the following:
When WeMo devices become unresponsive, trigger a scan for new WeMo devices in PaperUI.
This should update existing devices.
Please post here if this works, we then can create a workaround.
Best
Hans-Jörg
Thanks, thats strange. a restart of openHAB does start a scan for WeMo devices in the same way.
Anyway, could you please check if restarting the WeMo Binding in Karaf console would solve this issue.
If this solves the issue, we could create a rule to restart the binding.
If not, I am out of ideas, as the only thing I could do within the bindings code is to trigger a new scan when the device becomes unresponsive.
2019-04-24 19:35:13.213 [INFO ] [g.eclipse.smarthome.model.script.HUE] - HUE Jays Office Motion Occurred, turning ON Wallplug_Jays_Office_Light with a 15 minute timer.
2019-04-24 19:35:18.222 [INFO ] [.eclipse.smarthome.model.script.WeMo] - Wallplug_Jays_Office_Light setting a CATCH ALL 20 minute timer to turn OFF light.
2019-04-24 19:36:03.251 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'hue:bridge:E6B0D4405E3B' to inbox.
The hue:bridge discovery was from doing the Karaf WeMo recycle from above.
Who can you recommend in modifying the binding to look for the different port the WeMo device starts to crawl upward on when the device is unresponsive?
Sorry, but I can not recommend anybody. Development is nothing we could delegate to anyone. Its complete up to the developers/contributers to step up and add things. I will try to find some time to see why a restart of the binding does not update the discovery result, as this is what it should do.
The strange thing I see, I have only one Insight Switch running at the moment, which does not show this behaviour. My openHAB instance is running since more than a week since the last restart (rebootet the server due to OS updates) and the Insight switch is running since a couple of month without a restart. No “could not call WeMo” messages in the log.
I also have 2 insight switches and they do NOT have this behavior; it’s the basic WeMo plugs that have the issues. Here’s a list of my WeMo devices. I also have WeMo light switches and they don’t seem to have the issue either.
Hi Jay,
thanks for this very important information. Out of all “complains” I understood that all WeMo devices have this issue. This really explains why I don’t see it in my installation and could not reproduce it.
So I will get an old WeMo Switsch out of my cellar and start some testing.
Just to add to this, I have the same problem with Wemo dimmers.
2019-06-12 08:13:47.261 [ERROR] [nding.wemo.handler.WemoDimmerHandler] - Failed to get actual state for device 'wemo:dimmer:Dimmer-1_0-241741K1505461': Could not call WeMo
WeMo Dimmer support is experimental, not finished yet. It was hard to get one delivered to Germany at a reasonable price.
Still working on the issues, but not having much time atm.