I have implemented the UPNP discovery in my binding as described in:
After compiling with no errors and copying the compiled jar into a fresh openHAB 2.2.0 installation my binding throws an Exception:
Unresolved requirement: Import-Package: org.eclipse.smarthome.config.discovery.upnp
Now I’ve already found a solution here:
I can also install the HUE binding first, which in turn installs the required service automatically.
However, both methods are not user friendly, which is why I’ve decided to ask the community:
- As UPNP discovery has some clear advantages, why can’t it be supplied with the installation of openHAB (or during the installation of PaperUI)?
- Is there a way to trigger the installation of
esh-io-transport-upnpfrom inside my binding similar to HUE?
<feature name="esh-binding-hue" version="0.10.0.b1"> <feature prerequisite="false" dependency="false">esh-io-transport-upnp</feature> ... </feature>
What would be your recommendation for my case?
With best regards