[SOLVED] OH2 - Daikin Binding Unknown wireless control state: dmnd_run = 0

I finally solved after some googling :wink: I’ll report all the steps i followed here just in case someone else will need it.
First step was to re-pack the jdaikin library. So clone the repo:

hg clone https://bitbucket.org/JonathanGiles/jdaikin

then patch WirelessDaikin.java as showed here
https://bitbucket.org/microcheese/jdaikin/commits/81f7e9f215673255b04d3ee5e6b26a7d011f9932
and here
https://bitbucket.org/microcheese/jdaikin/commits/4db8fcdba81bd78f7325be47756fc0fc9686404f
Now you can compile the lib with ./gradlew

Now it’s time to compile the binding with maven.
So clone the repo

git clone https://github.com/openhab/openhab1-addons.git

Now copy the library jdaikin.jar you just compiled (you can find it in ./jdaikin/build/libs) in ./openhab1-addons/bundles/binding/org.openhab.binding.daikin/lib replacing the “original” version contained in the openhab repo.
It’s time to compile the binding with mvn clean install.

At the end you’l find the new binding in the target folder.

Ps. The binding seems to crash when putting the AC system in “FAN MODE ONLY” as reported here:

That’s it :wink: