MIOS Binding OH2

I have just installed Openhabian on a new PI3, works fine and I have been able to bind Hue, Sonos and Network stuff. I d also have a Vera Controller, and therefore what to use the MIOS binding. I can Install it, but I can’t find it under “Configuration/Things” and there not configure it. I have tried to google for some documentation/guidelines – can someone point me in the right direction? – I’m using PaperUI

/Kurt

This is a OH1 binding so it needs to be configured through text files. Things do not exist for this binding and it cannot be configured through paperui.
See the OH1 Wiki.

Thanks I have the WiKi, it ask me to change openhab.cfg file, but dont tell where this is, I can’t find in on my RPI3 with Openhabian, It might have changed in OH2?

/Kurt

I think it should be in /etc/openhab2/services
first make it with sudo touch openhab.cfg if it does not exist and then copy the MIOS related lines in it

Please refer to http://docs.openhab.org/addons/bindings.html for correct information.

Does not work for me, I have restarted with a completely new image, followed the wiki, but MIOS does hot show up in the PaperUI. I have been editing files, downloaded transformations – ensured that bindings for MIOS are installed . In addons.cfg file mios is labeled mios1, I therefore copied mios.cfg to mios1.cfg in the /etc/openhab2/services folder (and changed group and owner permissions), but that does not change anything. I have entered the IP address of my mios of cause and removed the “#”
For ensuring that my installation is working, I have installed SONOS binding, and that works as expected.
Any idea of what to try now?

Not correct, must be mios.cfg as documented. The only place for mios1 is in addons.cfg on the binding line.

mios binding wont install in openhab2. below is output from log

14:52:09.103 [ERROR] [org.eclipse.smarthome.io.rest.sse ] - FrameworkEvent ERROR - org.eclipse.smarthome.io.rest.sse
org.osgi.framework.BundleException: Exception in org.eclipse.smarthome.io.rest.sse.internal.SseActivator.start() of bundle org.eclipse.smarthome.io.rest.sse.
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:792)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:941)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:318)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.Module.doStart(Module.java:571)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.Module.start(Module.java:439)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:454)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer.applyDelta(ModuleContainer.java:717)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer.resolveAndApply(ModuleContainer.java:491)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:437)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer.refresh(ModuleContainer.java:955)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerWiring.dispatchEvent(ModuleContainer.java:1336)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerWiring.dispatchEvent(ModuleContainer.java:1)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
Caused by: java.lang.LinkageError: ClassCastException: attempting to castbundleresource://22.fwk24205760/javax/ws/rs/ext/RuntimeDelegate.class to bundleresource://22.fwk24205760/javax/ws/rs/ext/RuntimeDelegate.class
at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:146)
at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:120)
at javax.ws.rs.core.MediaType.valueOf(MediaType.java:179)
at org.glassfish.jersey.media.sse.SseFeature.(SseFeature.java:62)
at org.eclipse.smarthome.io.rest.sse.internal.SseActivator.start(SseActivator.java:44)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:771)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_121]
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
… 14 more
14:52:09.400 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
14:52:09.723 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
14:52:10.685 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing ‘openhab-binding-mios1’: Error restarting bundles