I’ve created a binding that supports the Daikin Airbase controller which is sold in Australia & New Zealand to support ducted air conditioning systems.
The API is subtlely different to the existing daikin controllers, so the easiest option was to create a new binding.
thanks again Paul:
regarding the thing config for the original source, are the examples wrong on the original source, why is the IP address contained in the items? things:
daikin:ac_unit:living_room_ac [ host=“192.168.0.5” ] items
Switch DaikinACUnit_Power { channel=“daikin:ac_unit:living_room_ac:power” }
vs
Switch Daikin_Power “AC Daikin Power” { channel=“daikinairbase:ac_unit:192_168_0_6:power” }
no guarding against controlling more zones that your controller supports. eg Zones 5 - 8 will be available to add, even though the controller doesn’t support them. This should be harmless as either the call will fail (in the case of setting zones 5-8 on a 4 zone controller; or if you only have 5 zones, and try and set zone 6, the call will succeed, but do nothing.
no detection of common zone - there is no logic yet to stop you turning all zones off, which in the case where you don’t have a common zone, can damage your ducting. I can read the common zone flag from the controller, I just need to add code to count the zones to make sure there’s always one open if there is no common zone.
Paul,
Thanks for your work on this. I have installed the binding without any significant problems and will test it out for a few days and let you know of any issues.
There were a few warnings came up for Items as they were added. The same happens if they are linked to the channel through an items file.
2019-07-07 20:31:08.837 [WARN ] [l.handler.DaikinAirbaseAcUnitHandler] - Received command of wrong type for thing ‘daikinairbase:ac_unit:DaikinAP54843’ on channel power
I recall this has been an ongoing discussion with the original Daikin binding.
The warnings like ‘Received command of wrong type for thing ‘daikinairbase:ac_unit:DaikinAP54843’ on channel power’ seems to coincide with these events:
DaikinAirbaseACUnit192168110_Power changed from NULL to ON
Perhaps the initial NULL value causes the error?
Edit: Nope. a command ‘REFRESH’ is sent to each item at initialisation which the binding doesn’t know how to handle. Should be easy to workaround…
Hi Paul and all, I have a problem that whether I use the auto discovery or configure items and thing files, my airbase unit locks up and goes offline daily. I have to open it up to remove the power wire to reset it.
I know its openhab that is shutting it down. If I disable the unit in openhab is goes and goes without fault. As soon as it starts to get hit from openhab rules or item file refresh it locks up.
Anyone else seen this behavior?
James
One other thought - have you changed the refresh time at all? I’ve left mine at 60 seconds and we now don’t use the Daikin App at all. I can imagine that if multiple phones running the app were refreshing settings along with Openhab that maybe the internal web server on the Airbase can’t handle it?
I came across this when I was trying to reference a post I had made a while back, but I have mine setup via HTTP addon instead and during testing (after sniffing with Wireshark) I was polling the controller 4x a second without any troubles at all. I’ve now got mine set to every second (250ms was a bit of unneeded overkill ) and it’s been running fine for a few months. My guess is there could be a query that’s not structured correctly that’s causing an overrun in the unit after a period of time. Can you fire up a Wireshark capture and see what it’s requesting?
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.
Hi all - the code for the Daikin Airbase is now merged into the Daikin binding in 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.