sorry I wasnt stating clear.
I can confirm its not just an UI problem. There is nothing in the logs and persistence stays on the last value once the updates stop.
Only the switch (on/off) works and is reflected in the log.
Any update e.g. on “current power” is not in the logs.
I can track the persistence to find out if it generally stops updating that data after a certain time
however I must delete the thing and add again to make it work at all
only restarting the bundle or openhab is not sufficient.
Don’t have a clue right now. Could you please run oh in debug mode until it stops updating and post the last log entries.
I will setup a new test environment with oh2 for long term testing by end of next week, still waiting for the new hardware.
can already tell you stop updating of “powercurrent” happens on restart of openhab2 and state stays on last update from before restart.
need to
a) reinstall binding or
b) delete /readd thing
to receive current values again
restart oh:
2016-04-01 19:17:13.595 [INFO ] [assic.internal.servlet.WebAppServlet] - Started Classic UI at /classicui/app
2016-04-01 19:17:13.919 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2016-04-01 19:17:14.071 [DEBUG] [o.discovery.WemoDiscoveryParticipant] - Discovered a WeMo Insight thing with UDN 'Insight-1_0-221450K1200575'
2016-04-01 19:17:14.075 [DEBUG] [o.discovery.WemoDiscoveryParticipant] - Created a DiscoveryResult for device 'WeMo Insight' with UDN 'Insight-1_0-221450K1200575'
2016-04-01 19:17:15.817 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'home.sitemap'
2016-04-01 19:17:18.564 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'weather.sitemap'
2016-04-01 19:17:18.673 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'rrd4j.persist'
2016-04-01 19:17:19.760 [INFO ] [ome.event.GroupItemStateChangedEvent] - wemo_insight_Insight_1_0_221450K1200575 changed from NULL to UNDEF through wemo_insight_Insight_1_0_221450K1200575_currentPower
2016-04-01 19:17:19.771 [INFO ] [marthome.event.ItemStateChangedEvent] - wemo_insight_Insight_1_0_221450K1200575_currentPower changed from NULL to 22
2016-04-01 19:17:19.784 [INFO ] [marthome.event.ItemStateChangedEvent] - wemo_insight_Insight_1_0_221450K1200575_energyTotal changed from NULL to 374
2016-04-01 19:17:19.792 [INFO ] [marthome.event.ItemStateChangedEvent] - wemo_insight_Insight_1_0_221450K1200575_state changed from NULL to ON
Thanks for the logs. It might be caused by the GroupItemStateChangedEvent, but I don’t know, where this comes from.
I will investigate on this and keep you in loop.
Short update on this issue:
I could reproduce not receiving updates after a restart of openHAB2.0.
Quick solution : In openHAB Karaf console, do a bundle:stop xxx and bundle:start xxx (where xxx is the number of the WeMo Binding, which you can get by bundle:list)
Will need some more time to track this down to the root cause.
No further info on this, as I can not reproduce the behaviour.
My openHab2 test environment is up and running since 2016-10-09 10:43am and the last WeMo updates were logged at 10:28am today, when I was checking.
Crazy… I just installed beta 4 again. Devices work great then I restart openhab. power usage doesn’t update, state stays off even when the devices are already on and when the state changes after it’s running I get this in the error log:
22:09:42.753 [ERROR] [g.jupnp.protocol.sync.ReceivingEvent] - Invalid subscription ID, no active subscription: (IncomingEventRequestMessage) NOTIFY /upnpcallback/dev/Insight-1_0-22xxxxxx1033/svc/Belkin/insight1/event/cb SEQUENCE: 23
I really want to use this platform, not sure if this is something specific to me. I even eliminated the hue binding as well to see if that was causing problems with the above simple configuration/test.
This is not a real Binding issue, it is a device issue.
Your WeMo device is for whatever reason not accepting a connection from the Binding. This can happen when you try to controll them from different sources at the same time.