I have an interesting problem with openhab2.3 using the wemo binding. I have a wemo insight that, when I toggle the state, the ui shows the switch quickly move back and forth between power states. I get two or three transitions before it settles. Sometimes it settles on the correct state, and other times openhab settles on the wrong one (the switch is in the other state).
I have tried restarting openhab and reloading the binding. I have tried removing and re-adding the device.
For example, if the switch is ON and I turn it OFF I get:
2018-09-06 22:03:22.786 [INFO ] [marthome.config.discovery.internal.PersistentInbox] - Added new thing ‘wemo:insight:Insight-1_0-231545K12006FE’ to inbox.
2018-09-06 22:05:36.191 [INFO ] [org.eclipse.smarthome.model.script.lambda ] - OFF
2018-09-06 22:05:47.907 [INFO ] [org.eclipse.smarthome.model.script.lambda ] - ON
In the UI, you actually see the switch move back and forth. The final state here is wrong. The device actually is OFF. Also, when I manually turn the switch ON/OFF, I only get one event and state change in openhab.
I don’t have any other rules that would do something on a state change from the insight.
I was wondering if anyone else had seen this on the insight? My other wemo device types don’t seem to have the problem.
Regarding the code fence: I did originally fence the post, but then I added more by editing the post rather than creating a new post. When I went to edit , I thought the markup tags were not clear or shown. I couldn’t un-escape my original code block to escape the overall block. Sorry about that.