Daikin binding not loaded

Hi all
I’ve tried OpenHab2 with the Daikin library version 1.9.0 and it work very well!
The only difference into the configuration file from watou is the presence of “http://” near “wireless@”. So the Daikin.cfg is:

refresh=60000
soggiorno.host=WIRELESS@http://x.y.z.w

Thank you for this great software!

@aspar74 can post your cfg here. I do not understand the statement.
Can you also upload the binding which works for you here too.
On which platform you are running OH2?

I tried to debug the binding.

I stuck with the fact that there is no source for the “DaikinFactory.java”

at this breakpoint :

 IDaikin newHost = DaikinFactory.createWirelessDaikin(hostId, host, 0);```

I have these values:

<img src="//community-openhab-org.s3-eu-central-1.amazonaws.com/original/2X/7/786d5a94a477ce0a0ce2ccbc6ebb86f922811a4d.jpg" width="690" height="129">

can some help me out of this hole?

There is another Daikin WiFi controller in the wild called “SkyFI” - it may only be available in the Australian ( and NZ ) markets.

Fortunately its reasonably easily accessible via http, and the urls to query and control has been worked out here:
https://forums.whirlpool.net.au/forum-replies.cfm?t=2440219

So if the Daikin binding is to be reworked, can this “SkyFi” module be included please???

Did not not understand @watou 's statement above. But obviously this binding is not maintainable.
The exception is thrown inside code which is not debug-able. I will try to compile the external library and debug.

1 Like

Hi,

I adapted the jDaikin from Bitbucket and adapted also the Daikin binding accordingly. Now it works on my side.
I am new to this business here. How is the procedure?

The jDaikin is someone’s property is it ok just to compile and include it in the binding.
Is my a change worth to be commited somewhere?

thanks for the answers.

Have you rounded up all the changes and pull requests in the following repos:

And made another fork? That would be a whole drawer full of forks!

Perhaps you could ask https://bitbucket.org/JonathanGiles again if you could merge his code directly into the binding, and/or if the licensing permits it?

After some experimentation, it seems like the correct syntax for the new JDaikin based binding is

livingroom.host=WIRED@http://192.168.1.100
for the old KKRP01A controller or
livingroom.host=WIRELESS@http://192.168.1.100
for the wireless BRP072A42 one.

Everything seems to be working for me now apart from the humidity reading.

[edit] actually the wiki documentation was updated last summer to show the new syntax, now I’m embarrassed I hadn’t seen it yet :slight_smile: https://github.com/openhab/openhab1-addons/wiki/Daikin-Binding

1 Like

Hi,
what can be wrong please ?
2017-02-05 20:11:26.564 [ERROR] [org.apache.felix.configadmin ] - [org.osgi.service.cm.ManagedService, org.osgi.service.event.EventHandler, id=295, bundle=255/file:/usr/share/openhab2/addons/org.openhab.binding.daikin_1.9.0.201606271231.jar]: Unexpected problem updating configuration org.openhab.daikin

should be something cleaned in karaf console (osgi.service)
Thank’s.

Jozef

daikin.cfg
############################# Daikin Binding #############################
refresh=60000
obyvacka.host=WIRELESS@http://192.168.100.47
pracovna.host=WIRELESS@http://192.168.100.48

daikin.items

// the temperature/humidity at the indoor unit obyvacka
Number DaikinTempIn1 “Temp Inside1 [%.1f °C]” { daikin=“obyvacka:tempin” }
Number DaikinHumidityIn1 “Humidity Inside1 [%.1f %%]” { daikin=“obyvacka:humidityin” }

// the temperature at the outdoor unit obyvacka
Number DaikinTempOut1 “Temp Outside1 [%.1f °C]” { daikin=“obyvacka:tempout” }

// the temperature/humidity at the indoor unit pracovna
Number DaikinTempIn2 “Temp Inside2 [%.1f °C]” { daikin=“pracovna:tempin” }
Number DaikinHumidityIn2 “Humidity Inside2 [%.1f %%]” { daikin=“pracovna:humidityin” }

// the temperature at the outdoor unit pracovna
Number DaikinTempOut2 “Temp Outside2 [%.1f °C]” { daikin=“pracovna:tempout” }

// power
Switch DaikinPower1 “Power1” { daikin=“obyvacka:power” }

// mode of operation - one of Auto/Dry/Cool/Heat/Fan/Night
Number DaikinMode1 “Mode1 [%.0f]” { daikin=“obyvacka:mode” }

// temperature set point
Number DaikinTemp1 “Temp1 [%.0f °C]” { daikin=“obyvacka:temp” }

// fan mode - one of Auto/F1/F2/F3/F4/F5
Number DaikinFan1 “Fan1 [%.0f]” { daikin=“obyvacka:fan” }

// swing mode - one of Off/UpDown
Number DaikinSwing1 “Swing1 [%.0f]” { daikin=“obvacka:swing” }

// timer mode - one of Off-Off/Off-On/On-Off/On-On (start/end timers)
Number DaikinTimer1 “Timer1 [%.0f]” { daikin=“obyvacka:timer” }

// power
Switch DaikinPower2 “Power2” { daikin=“pracovna:power” }

// mode of operation - one of Auto/Dry/Cool/Heat/Fan/Night
Number DaikinMode2 “Mode2 [%.0f]” { daikin=“pracovna:mode” }

// temperature set point
Number DaikinTemp2 “Temp2 [%.0f °C]” { daikin=“pracovna:temp” }

// fan mode - one of Auto/F1/F2/F3/F4/F5
Number DaikinFan2 “Fan2 [%.0f]” { daikin=“pracovna:fan” }

// swing mode - one of Off/UpDown
Number DaikinSwing2 “Swing2 [%.0f]” { daikin=“pracovna:swing” }

// timer mode - one of Off-Off/Off-On/On-Off/On-On (start/end timers)
Number DaikinTimer2 “Timer2 [%.0f]” { daikin=“pracovna:timer” }

daikin.sitemap

sitemap daikin label="Rovinka Daikin"
Text item=DaikinTempOut1
Switch item=DaikinPower1
Text item=DaikinTemp1
Text item=DaikinHumidityIn1
Switch item=DaikinMode1 mappings=[0=“Auto”, 2=“Dry”, 3=“Cool”, 4=“Heat”, 6=“Fan”]
Setpoint item=DaikinTemp1 minValue=“16” maxValue=“30” step="1"
Switch item=DaikinFan1 mappings=[0=“Auto”, 1=“F1”, 2=“F2”, 3=“F3”, 4=“F4”, 5=“F5”]
Switch item=DaikinSwing1 mappings=[0=“Off”, 1=“Vertical”, 2=“Horizontal”, 3=“Hor/Vert”]
Text item=DaikinTempOut2
Switch item=DaikinPower2
Text item=DaikinTemp2
Text item=DaikinHumidityIn2
Switch item=DaikinMode2 mappings=[0=“Auto”, 2=“Dry”, 3=“Cool”, 4=“Heat”, 6=“Fan”]
Setpoint item=DaikinTemp2 minValue=“16” maxValue=“30” step="1"
Switch item=DaikinFan2 mappings=[0=“Auto”, 1=“F1”, 2=“F2”, 3=“F3”, 4=“F4”, 5=“F5”]
Switch item=DaikinSwing2 mappings=[0=“Off”, 1=“Vertical”, 2=“Horizontal”, 3=“Hor/Vert”]

API http calls: aircon/get_control / set_control are working !

check the stored config by:

config:list "(service.pid=org.openhab.daikin)"

If something is wrongly set there, delete it by config:delete org.openhab.daikin and let OH2 reload your daikin.cfg file

Thank’s. I found some wrong setting there, but daikin has problem with:
Unexpected problem updating configuration org.openhab.daikin
Jozef

Hi,

The Daiking binding has a basic problem of not handling correct when numeric value is expected and “–” is delivered:

http://192.168.3.37/aircon/get_control_info

ret=OK,pow=0,mode=4,adv=,stemp=--,shum=--,dt1=24.0,dt2=M,dt3=25.0,dt4=24.0,dt5=24.0,dt7=24.0,dh1=0,dh2=50,dh3=0,dh4=0,dh5=0,dh7=0,dhh=50,b_mode=6,b_stemp=--,b_shum=--,alert=255,f_rate=5,f_dir=3,b_f_rate=5,b_f_dir=3,dfr1=5,dfr2=A,dfr3=A,dfr4=5,dfr5=5,dfr6=5,dfr7=5,dfrh=5,dfd1=3,dfd2=0,dfd3=2,dfd4=3,dfd5=3,dfd6=3,dfd7=3,dfdh=0

When mode is set to FAN or DRY the setpoint temperature returns “–”.
I have modified jdaikin.jar to do some exception handling, so things are working for me.

Additionally the documentation of the binding seems to be wrong (at least for my Daikin ACs):
FAN:
0 AUTO
1-5 FAN Steps

SWING:
1 NONE
2 VERTICAL
3 HORIZONTAL
4 3D

MODE:
0 AUTO
1 DRY
2 COOL
3 HEAT
4 VENT

I somebody is interested I can post my modified binding here.

1 Like

Hi @lukics , yes, I am interested. Would you be so kind to provide the corrected jar file?

Thank you,
Boby

If you could submit pull requests to the upstream repos (JDaikin and openhab1-addons), that would be great!

Hi,

Unfortunately after some tests I realised that the setting of mode does not work. Once I fix this I post the binding here.

1 Like

i have similar Problems, can you repost the patched addon please? (the link ist broken)

Hi John, have you had a chance to revisit the Daikin binding at all?

It would be great if someone could compile another jar for us. I tried to follow the instructions here to build my own.

Hii
I am Marya Thomes. I don’t know about it.


Best Assignment Help in Australia

I’ve made a new Daikin addon for OpenHAB 2. You can get it from the eclipse marketplace by installing the Eclipse SmartHome Marketplace addon from “misc” addons and then searching for opendaikin. Alternatively you can get the jar from the CI of the pull request.

3 Likes