OpenDaikin Binding from MarketPlace Questions

I’m shortly having a new Daikin AC installed and want to use the OpenDaikin Binding from the marketplace to control it.
Previously I’ve used IR commands recorded using the original remote to control things, but this hopefully offers an easier way.

Can someone advise whether sending the same command to the binding would result in it retransmitting the command to the AC?

For example if the unit is already on “COLD” and a rule sends the “COLD” command again will the binding transmit this or just ignore it?

Obviously I could use something like

 if (DaikinMode !== "COLD") {DaikinMode.sendCommand("COLD")}

but that complicates the rule if its not needed

@caffineehacker can you help?

I’ve getting the US7 unit which has many features, is the binding likely to be expanded or is it going to remain a basic Mode / Fan Speed / Setpoint / Power / Airflow Direction control facility?

You could skip the binding and go this route.
Assuming your unit has a similt Eth/WiFi adapter as the one I’m using.

Thanks for the pointer, hopefully @caffineehacker will be along too with how he sees the binding developing in future so I can make an informed choice.

I believe the controller should send a new update to the A/C unit even you resend cold. One thing to note about Daikin units which makes them very difficult to work with is that you always have to include all of the information when you want it to change (the IR remote works this way too). E.g. you send it what mode, what the fan speed should be, what the temperature setpoint is, etc… with every command. I try to simplify that a lot with the binding by reading the current state from the A/C unit and only updating the fields you’ve chosen to update.

What features does the US7 have that aren’t covered? I’d be happy to expand it but with only my own units to test with I would need someone willing to confirm the other features are working correctly.

Thanks, the install is on Wednesday so I’ll see what is missing. The US7 has additional modes such as Humid Heating, Fresh Air and Dry Cooling, as well as options to send the air to where it detects people or send it away from people. It also has a built in Mold guard where it sterilises the filter and fan after use with a combination of UV and a drying function. Some of these could be setable as defaults with the remote.
When I have it installed I’ll play with the API and see what information comes back from a query after setting different things with the IR remote.
I’ll update this thread with what I find sometime later in the week or on the weekend

Turns out the install is on Friday so it’ll likely be early next week before I get chance to play with it

unit is installed and the adapter appears as a thing. Unfortunately the thing sits with
a status of “OFFLINE - COMMUNICATION ERROR” and this lot is dumped in the log every minute.
It works with the phone app so I’m assuming its working - any idea of what I missed?

at [?:?]

at java.util.concurrent.ThreadPoolExecutor$ [?:?]

at java.util.concurrent.ThreadPoolExecutor.runWorker( [?:?]

at java.util.concurrent.ScheduledThreadPoolExecutor$ [?:?]

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301( [?:?]

at java.util.concurrent.FutureTask.runAndReset( [?:?]

at java.util.concurrent.Executors$ [?:?]

at org.openhab.binding.opendaikin.handler.OpenDaikinAcUnitHandler.poll( ~[?:?]

at org.openhab.binding.opendaikin.handler.OpenDaikinAcUnitHandler.pollStatus( ~[?:?]

java.lang.NullPointerException: null

2018-11-09 16:50:18.943 [WARN ] [ikin.handler.OpenDaikinAcUnitHandler] - Unexpected error connecting to Daikin controller

It looks like the enum for fan speed is incomplete and failed due to that. I’ll make a quick change and publish a new jar that handles this case (so it doesn’t crash) and will show the number it received instead of the enum value. If you can then tell me what the new numbers mean I should be able to add them to the addon.

Thanks for the reply, will test it tomorrow. (we’re GMT + 13 currently) Answers to queries are as follows in case it helps




App currently shows 19 Degrees setPoint, Cooling, 22 Degrees Internal Temp, 20 Degrees Outside Temp

That looks like exactly what I’d expect from the code. f_rate isn’t there which the code expected to see. I just pushed the new code to GitHub so it should be live by the time you get up. I probably won’t be able to dig in further this weekend, but if you want to try using the more advanced features and capturing a couple of the responses from get_control_info that should give me enough to figure out what I need to add to support them.

Is there a place I can get the updated Jar from? Looking at GITHUB, which I don’t really inderstand, it seems I have to compile it first and I don’t currently have a development environment. Deleting and reinstalling from the MarketPlace just gives me the same binding with the same fault.
I just tried to create a development environment but as expected the instructions didn’t work and Maven spits a bunch of meaningless errors.

Whilst I’m waiting for the binding I’ve been experimenting, it seems it’s controllable from Firefox with strings such as


Using “sendHttpGetRequest” has allowed me to create a temporary workaround until I can get my hands on a JAR to test the binding.

here’s a few get_control_info strings from the extra, non app controlled modes:

19 Degrees Auto


19 Degrees Cooling


19 Degrees Heating


19 Degrees Fan (temp not selectable in this mode)


19 Degrees Dehumidify (temp not selectable in this mode)


That’s all that can be selected from the IOS app, rest are selected from the IR Remote and then queried in a browser

Humidify Low:


Humidify Std:


Humidify Hi:


Humidify Cont:


Fan Only with Fresh Air and Air Cleaner:


I suspect a lot of these new modes may be IR Remote only, but if we can work out the format of the command string it expects I can send commands to the unit and see what comes back. The Fresh Air one is a good start as I can hear the Fresh Air Fan running. Ultimately I suspect I’ll have to start recording IR Command Strings, but it makes sense to find out what can be achieved with WiFi first

Hi All, I think I had a similiar problem!
with OpenDaikin 2.3 all works fine in one direction Daiikin ==> OH2. If I use the AC with the App or the cabled display, OH2 updates the values accordling… but when I try, for example, to turn it on:

2018-11-12 22:46:04.306 [vent.ItemStateChangedEvent] - opendaikin_ac_unit_192_168_88_52_power changed from OFF to ON

==> /var/log/openhab2/openhab.log <==
2018-11-12 22:46:04.440 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method ‘ThingHandler.handleCommand()’ on ‘org.openhab.binding.opendaikin.handler.OpenDaikinAcUnitHandler@b73b58’: null
java.lang.NullPointerException: null
at org.openhab.binding.opendaikin.internal.api.ControlInfo.getParamString( [245:org.openhab.binding.opendaikin:]
at org.openhab.binding.opendaikin.internal.OpenDaikinWebTargets.setControlInfo( [245:org.openhab.binding.opendaikin:]
at org.openhab.binding.opendaikin.handler.OpenDaikinAcUnitHandler.changePower( [245:org.openhab.binding.opendaikin:]
at org.openhab.binding.opendaikin.handler.OpenDaikinAcUnitHandler.handleCommand( [245:org.openhab.binding.opendaikin:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke( ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke( ~[?:?]
at java.lang.reflect.Method.invoke( ~[?:?]
at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect( [101:org.eclipse.smarthome.core:0.10.0.oh230]
at org.eclipse.smarthome.core.internal.common.InvocationHandlerSync.invoke( [101:org.eclipse.smarthome.core:0.10.0.oh230]
at com.sun.proxy.$Proxy143.handleCommand(Unknown Source) [245:org.openhab.binding.opendaikin:]
at org.eclipse.smarthome.core.thing.internal.profiles.ProfileCallbackImpl.handleCommand( [108:org.eclipse.smarthome.core.thing:0.10.0.oh230]
at org.eclipse.smarthome.core.thing.internal.profiles.SystemDefaultProfile.onCommandFromItem( [108:org.eclipse.smarthome.core.thing:0.10.0.oh230]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke( ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke( ~[?:?]
at java.lang.reflect.Method.invoke( ~[?:?]
at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect( [101:org.eclipse.smarthome.core:0.10.0.oh230]
at [101:org.eclipse.smarthome.core:0.10.0.oh230]
at [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker( [?:?]
at java.util.concurrent.ThreadPoolExecutor$ [?:?]
at [?:?]

==> /var/log/openhab2/events.log <==
2018-11-12 22:46:40.822 [vent.ItemStateChangedEvent] - opendaikin_ac_unit_192_168_88_52_power changed from ON to OFF

in my opinion I have some parameter at NULL that breaks the function…

thank you in advance for the support!

Try typing into a web browser http://ipAddress/aircon/get_control_info?
and post what you get back (if you put this in the middle of 3 lines with 5 spaces before it on your post it will go into the easier to read code format)
That should let @caffineehacker know whether your aircon is returning the fan information - mine doesn’t but I think most do




thank you!

No fan information in there - sounds like we have the exact same problem. I’m currently using mine with a simple work around using the http binding in case you just want ON and OFF control. You can use something in a rule like

acHost = http://yourACipAddress:80/
var acCommandString = ""

rule "Turn AC ON"
when Item AC changed then
if (AC.state == ON){
    acCommandString = "aircon/set_control_info?pow=1&mode=0&stemp=18&shum=0"
    logInfo("DaikinPower", "acCommandString=" + acCommandString)
    logInfo("DaikinPower", "sendHttpGetRequest() returns: " + sendHttpGetRequest(acHost + acCommandString, 5000)) 
if (AC.state == OFF){
    var acCommandString = "aircon/set_control_info?pow=0&mode=0&stemp=18&shum=0"
    logInfo("DaikinPower", "acCommandString=" + acCommandString)
    logInfo("DaikinPower", "sendHttpGetRequest() returns: " + sendHttpGetRequest(acHost + acCommandString, 5000)) 

Hopefully the fixed binding will appear soon :slight_smile:

Interesting, it should be up on the Marketplace with the null pointer fix, but I admit I have no idea how OpenHab updates addons from the Marketplace so it might not be pulling the latest if you’ve installed it previously.

Edit: Looks like when the version bumped from 2.3 to 2.4 I needed to update where the jar was picked up from in the marketplace. I made the update so it should now be pointing to the most recent jar.

I’ve worked a solution out using the HTTP binding which is working well, although I’ll give your binding a test when I get chance. Is there any way to add extra receiving items to it such as compressor frequency which I’ve just added to my setup so I can work out the best way to get maximum cooling

Thank you!
I put the jar from in the addons folder and it works ow!

thank you so much, I will test it further in next days!

This looks interesting. I just installed a Daikin BRP15B61 Wifi adapter for a Daikin ducted AC system.

The API looks similar but also a little different :slight_smile: Using Wireshark I’ve discovered API per my post at

eg http://ipAddress/aircon/get_sensor_info? is http://ipAddress/skyfi/aircon/get_sensor_info? on the BRP15B61

Wondering if the opendaikin plugin could easily be modified to support multiple Daikin adapters?