Pure openhab binding using iBrew as command interpreter. This is written for an experimental purpose. Initially it was planned to write a pure java-binding.
- Copy the
org.openhab.binding.smartercoffee
to<openhab2-workspace>/git/openhab2-addons/addons/binding/
- Add the binding in pom.xml (
<openhab2-workspace>/git/openhab2-addons/addons/binding/pom.xml
)
</modules>
...
<module>org.openhab.binding.smartercoffee</module>
</modules>
Or you can import the folder into workspace using eclipse
- Add the binding in feature.xml (
<openhab2-workspace>/git/openhab2-addons/addons/features/openhab-addons/src/main/feature/feature.xml
)
<feature name="openhab-binding-smartercoffee" description="SmarterCoffee Machine Binding" version="${project.version}">
<feature>openhab-runtime-base</feature>
<bundle start-level="80">mvn:org.openhab.binding/org.openhab.binding.smartercoffee/${project.version}</bundle>
</feature>
- iBrew, (build and link
ibrew
to/usr/local/bin/ibrew
to access it from anywhere) Bonjour/Avahi (zero-conf)
- iBrew was unable to discover the smartercoffee machine via Bonjour/Avahi, however the machine is reachable in local network.