eclipse-archived / smarthome

Eclipse SmartHome™ project
https://www.eclipse.org/smarthome/
Eclipse Public License 2.0
862 stars 786 forks source link

Wemo binding with dimmer support problems under openHAB 2.3.0 release build #6014

Open spaceharrier opened 5 years ago

spaceharrier commented 5 years ago

Just recreated my setup from scratch using openHAB 2.3.0 release build, package install on Raspbian. I now some problems with a special version of the Wemo binding modified to include dimmer support.

I have some Belkin Wemo dimmer switches I need to control. The current ditribution Wemo binding doesn't support dimmer switches. There is an updated version in this thread, which I'd been using successfully with an earlier OH2 version. With OH 2.3.0 this updated version has only partial functionality. Dimmers and switches seem to work, but bridges do not. They are detected and show up in the Inbox of the Paper UI, but once added remain in the "Uninitialized" state indefinitely. I see the following in /var/log/openhab2/openhab.log

2018-08-06 09:53:34.184 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'wemo:bridge:Bridge-1_0-231438B01003C8' to inbox. 2018-08-06 09:53:55.805 [WARN ] [eclipse.jetty.servlet.ServletHandler] - javax.servlet.ServletException: org.glassfish.jersey.server.ContainerException: java.lang.IncompatibleClassChangeError: Expected static field org.eclipse.smarthome.config.discovery.AbstractDiscoveryService.scheduler

Doing a bit of poking around I came across this thread, discussing breaking changes in OH 2.3.0 for a different binding, but with what looks like similar behavior.

I get that the binding I'm talking about is an experimental version which is notionally going to be replaced by a significant rewrite (thread), but wondering if there's a very quick option to restore functionality in the meantime.

hmerk commented 5 years ago

I am heavily working on a new version of the WeMo Binding with full Dimmer support. It will be a nearly complete rewrite so can‘t tell when it will be ready for testing. There will be no updates in the meantime.

spaceharrier commented 5 years ago

Got it. Thank you for your work. I'll leave this open pending the new version.

hmerk commented 5 years ago

Just a short update, the latest firmwareupdate bricked my dimmer switch completely. Now I am waiting to get a new one delivered from US to Germany 😩