OpenDaikin Binding from MarketPlace Questions

sounds great, so this should make item and thing text configuration work a bit better?
as I was a bit confused with your version vs the standard version ie I didn’t initially know it was a copy /fork of the original code

Really weird… with the daikin 2.5 snapshot from https://openhab.jfrog.io/openhab/libs-pullrequest-local/org/openhab/binding/org.openhab.binding.daikin/2.5.0-SNAPSHOT/org.openhab.binding.daikin-2.5.0-SNAPSHOT.jar my Airbase is detected, which is not what I expected.

Of course, it doesn’t work as the API is different - but weird that it’s detected. I need to rework the code to detect automatically if it’s an airbase or not… No timeframe on this, java isn’t my strength :stuck_out_tongue:

Hi Ron, That seems to be mostly what I have with the exception of mode and fan The , after String throws an error though. Is that the exact format?
James

Ok made some progress this evening, I still fail to detect the airbase as the mode values are different on the airbase, but I’m nearly there in terms of mods to detect both standard and airbase controllers in a unified code set.

I’ll hopefully have something testworthy by the end of the week, just depends how many distractions I get, and how much my lack of Java knowledge keeps biting me.

1 Like

I’m not sure what you are refering to…:grin:

I mean the , comma after the string. Is that verbatim?

Hi Paul, looking forward to it and much appreciated.
James

Aha, I just summarized what was in the thing definition and just my way of separating the type from the possible values. :sunglasses:

For those that haven’t seen it, there’s now a standalone thread for the Daikin Airbase binding at Daikin Airbase Binding - the latest drop of the binding now includes support for zone controllers

Hi All,

I’ve spent the last few days merging the Airbase changes into the daikin binding. The first attempt at a merged binding is at http://smedley.id.au/tmp/org.openhab.binding.daikin-2.5.0-SNAPSHOT.jar

Changes:

  • Should support both ‘normal’ Daikin controllers used in Europe, as well as the Airbase in one binding
  • Binding currently allows 0.5 temperature increments on the setpoint on the Airbase, which are ignored. I haven’t figured out yet how to allow that for the Daikin controllers, but use 1.0 increments for the Airbase

Feedback appreciated. It should work as well as the daikinairbase binding used to, but this is more likely to be accepted into the Openhab2 codebase.

Note that I haven’t tested this with a controller that used to be supported by the daikin binding - anyone in Europe who can test that would be greatly appreciated - I don’t think I broke anything…

Cheers,

Paul

1 Like

hi folks,

the OpenDaiking is working perfectly here. THANK YOU!

regarding the http output, I have a question:

ret=OK,pow=0,mode=3,stemp=24.0,shum=--,dt1=24.0,dt2=--,dt3=24.0,dt4=24.0,alert=0,adv=,f_rate=7,dfr1=3,dfr2=-,dfr3=7,dfr4=3,dfr6=3

I understand the var RET, POW, MODE, STEMP, SHUM, DT1, F_RATE

What I’m not understanding are the other var. Any clue?

thanks
Andrea

Try this link

Good morning. Is it possible to read the power usage? I have a FTXM-M with a wifi controller BRP069B41. It works very well but I’d like to read the power consumption. Thank you for your work

@broliyoung it might be possible, but you’d need to find some information on the API that’s used. The airbase that I have available to me for testing doesn’t support power consumption…

ok, so I need to reverse that API? what’s the best way to do it? it’s the first time I do it :laughing:

If you have an Android device, install tpacketcapture, set it running, then run the Android app that shows the power consumption and view that information. Then stop tpacketcapture and post a link to the log it generates.

With any luck, it will show the API (similar to https://github.com/ael-code/daikin-control/wiki/API-System#minimal-parameters-set)

Hi Paul. Thanks for your time. I made 3 files:
1: EnergyMeter with 3 GET (daily, weekly, annual)
2: called Special Function (PowerFull and Econo)
3: Air Purify function
You can download at link
http://www.easybytez.com/1zjrw3qdtwbs
If you need something else you can ask to me.

OK, can you look through the logs and work out which commands correspond to each of the above?

You’re looking for lines like:
http://192.168.1.84/aircon/set_special_mode?lpw=&en_streamer=1

Try each in a browser, then post the command and the output.

No promises, but I can see how much work would be required.

Cheers,

Paul

1 Like

http://192.168.1.84/aircon/get_day_power_ex?lpw=&days=2
ret=OK,curr_day_heat=0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0,prev_1day_heat=0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0,curr_day_cool=0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0,prev_1day_cool=0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/2/0/0/0/0/0

http://192.168.1.84/aircon/get_week_power_ex?lpw=
ret=OK,s_dayw=4,week_heat=0/0/0/0/0/0/0/0/0/0/0/0/0/0,week_cool=0/2/56/44/56/0/0/43/0/1/0/0/0/2

http://192.168.1.84/aircon/get_year_power_ex?lpw=
ret=OK,curr_year_heat=99/15/6/6/52/2/0/0/0/0/0/0,prev_year_heat=0/0/0/0/0/0/0/0/0/0/2/56,curr_year_cool=0/0/0/0/1/443/424/236/0/0/0/0,prev_year_cool=0/0/0/0/0/0/0/0/0/1/0/0

Follow Activate cleaning Air
http://192.168.1.84/aircon/set_special_mode?lpw=&en_streamer=1
ret=OK,adv=13

Follow DEactivate cleaning Air
http://192.168.1.84/aircon/set_special_mode?lpw=&en_streamer=0
ret=OK,adv=

Special function DEactivated
http://192.168.1.84/aircon/set_special_mode?lpw=&spmode_kind=1&set_spmode=0
ret=OK,adv=

Powerfull activate:

http://192.168.1.84/aircon/set_special_mode?lpw=&spmode_kind=1&set_spmode=1
ret=OK,adv=2

Hi all - the code for the Daikin Airbase is now merged into the Openhab repository. Starting from v2.5 Milestone 3, there will be no need to manually install the binding. Latest jar file, which is based on the latest code is at org.openhab.binding.daikin-2.5.0-SNAPSHOT.jar

Next step to create a channel/item for use with Homekit/Google Home.

Cheers,

Paul

2 Likes