Folks,
I decided to move completely from OH1 to OH2b1 and for those add-ons that are not yet available, I’m using the latest OH 1.8 add-on, such as Yamaha - however it’s the first time that I try this add-on.
I’m using a Yamaha RX-V479, it’s working with Yamaha Android app, and I’m assuming that is not a problem with my receiver, the problem is that I don’t know if this receiver is supported by Yamaha add-on or it is a problem with OH2b1.
What I see in OH logs is this:
2016-01-24 19:14:45.552 [ERROR] [eiver.internal.YamahaReceiverBinding] - Error configuring YamahaReceiver Refresh Service
Any clue what should I do find the root cause and eventualy fix it?
Did you follow the guide for addons that are not part of the oh2 distribution?
I checked the current offline distro and the yamahareceiver binding is not under
\runtime\karaf\system\org\openhab\binding
so this guide should apply to the yamahareceiver binding …
I pulled the OH2 version of the Yamaha Receiver binding from here (https://github.com/davidgraeff/Openhab2-YamahaReceiver). Works like a charm > auto-discovers a Thing for my RX-A2040 plus one Thing for each of the additional zones…
@pnijsters How do you install the OH2 version? I managed to figure out how to do it in a development version via Eclipse but at a loss how to do it on a stand-alone install
Do a ‘mvn install’ or ‘mvn package’ from the command line in the work-space where you installed the development version of the binding > that should do the trick > it will create a jar file in the target directory.
I’m doing this on a Mac and am somewhat clueless on how to pull this of with Eclipse. I just cloned the development version from Github into my Eclipse workspace. I did this in the git directory under openhab2-addons/addons/binding and renamed the root directory of the development version to org.openhab.binding.yamahareceiver2 (so now the code is under git/openhab2-addons/addons/binding/org.openhab.binding.yamahareceiver2). I added a line to the pom.xml in git/openhab2-addons/addons/binding (org.openhab.binding.yamahareceiver2) and then did
’mvn package’ > this created the jar file in the target directory that I pulled and moved to my OH2 install running on a separate Mac Mini, parked it on the addons directory under conf.
Thanks Patrick. My head hurts from the complexity of the Java world, but with your instructions I managed to get it working.
For others who may need assistance in the future - I did have to edit the pom.xml file in the yamahareciever2 directory to be more like the other bindings before I could get “mvn package” to work.