OpenDaikin Binding from MarketPlace Questions

Any entries in the log files? If not you can enable debugging for the binding to see what’s going on. Perhaps that gives some clues…
I’ll check which device type I have tomorrow, for comparison, don’t recall the exect product number but its very similar to yours.

Hello Ron, thank you for your answer.
As I wrote before, I’m a total noob. How can I see the log files? How can I enable debugging for the binding?
Sorry for my lack of knowledge.
Thank you

If you know how to setup an SSH connection with the Pi, you should type the command:

tail -fn20 var/log/openhab2/events.log -fn20 /var/log/openhab2/openhab.log

and watch the logs while trying to control the AC.

1 Like

Thank you. I don’t have to use SSH since I have a monitor connected to my Pi.
I will do it as I return home and post the results here.
Thank you for your help.

Never mind Ron.
I had the 2.3 version installed, I really apologize for not having checked it before posting. Again, sorry for your loss of time.
I installed the 2.4 version, restarted OpenHab and now it works like a charm.

Unfortunately I still can’t control Setpoint and Mode parameters on the OpenHab 2 app for Android.

Here the log, if it can be of any help:

pi@raspberrypi:/ $ tail -fn20 var/log/openhab2/events.log -fn20 /var/log/openhab2/openhab.log
==> var/log/openhab2/events.log <==
2019-04-19 13:47:33.784 [vent.ItemStateChangedEvent] - opendaikin_ac_unit_192_168_1_123_power changed from ON to OFF
2019-04-19 13:48:17.428 [vent.ItemStateChangedEvent] - network_pingdevice_62aa5636_lastseen changed from 2019-04-19T13:47:17.124+0200 to 2019-04-19T13:48:17.396+0200
2019-04-19 13:48:49.396 [ome.event.ItemCommandEvent] - Item 'opendaikin_ac_unit_192_168_1_123_settemp' received command 21.5
2019-04-19 13:48:49.412 [nt.ItemStatePredictedEvent] - opendaikin_ac_unit_192_168_1_123_settemp predicted to become 21.5
2019-04-19 13:48:49.423 [vent.ItemStateChangedEvent] - opendaikin_ac_unit_192_168_1_123_settemp changed from 20.0 to 21.5
2019-04-19 13:48:55.485 [ome.event.ItemCommandEvent] - Item 'opendaikin_ac_unit_192_168_1_123_settemp' received command 20
2019-04-19 13:48:55.492 [nt.ItemStatePredictedEvent] - opendaikin_ac_unit_192_168_1_123_settemp predicted to become 20
2019-04-19 13:48:55.505 [vent.ItemStateChangedEvent] - opendaikin_ac_unit_192_168_1_123_settemp changed from 21.5 to 20
2019-04-19 13:49:17.533 [vent.ItemStateChangedEvent] - network_pingdevice_62aa5636_lastseen changed from 2019-04-19T13:48:17.396+0200 to 2019-04-19T13:49:17.515+0200
2019-04-19 13:49:35.841 [ome.event.ItemCommandEvent] - Item 'opendaikin_ac_unit_192_168_1_123_power' received command ON
2019-04-19 13:49:35.844 [nt.ItemStatePredictedEvent] - opendaikin_ac_unit_192_168_1_123_power predicted to become ON
2019-04-19 13:49:35.864 [vent.ItemStateChangedEvent] - opendaikin_ac_unit_192_168_1_123_power changed from OFF to ON
2019-04-19 13:49:37.543 [ome.event.ItemCommandEvent] - Item 'opendaikin_ac_unit_192_168_1_123_power' received command ON
2019-04-19 13:49:37.549 [nt.ItemStatePredictedEvent] - opendaikin_ac_unit_192_168_1_123_power predicted to become ON
2019-04-19 13:49:41.430 [ome.event.ItemCommandEvent] - Item 'opendaikin_ac_unit_192_168_1_123_power' received command OFF
2019-04-19 13:49:41.437 [nt.ItemStatePredictedEvent] - opendaikin_ac_unit_192_168_1_123_power predicted to become OFF
2019-04-19 13:49:41.444 [vent.ItemStateChangedEvent] - opendaikin_ac_unit_192_168_1_123_power changed from ON to OFF
2019-04-19 13:50:17.610 [vent.ItemStateChangedEvent] - network_pingdevice_62aa5636_lastseen changed from 2019-04-19T13:49:17.515+0200 to 2019-04-19T13:50:17.578+0200
2019-04-19 13:51:17.892 [vent.ItemStateChangedEvent] - network_pingdevice_62aa5636_lastseen changed from 2019-04-19T13:50:17.578+0200 to 2019-04-19T13:51:17.831+0200
2019-04-19 13:52:18.243 [vent.ItemStateChangedEvent] - network_pingdevice_62aa5636_lastseen changed from 2019-04-19T13:51:17.831+0200 to 2019-04-19T13:52:18.220+0200

==> /var/log/openhab2/openhab.log <==
2019-04-19 13:24:36.569 [WARN ] [ikin.handler.OpenDaikinAcUnitHandler] - Received command of wrong type for thing 'opendaikin:ac_unit:192_168_1_123' on channel mode
2019-04-19 13:26:36.270 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Got IOException while reading due to stream being closed (stop=true)
2019-04-19 13:26:36.401 [INFO ] [basic.internal.servlet.WebAppServlet] - Stopped Basic UI
2019-04-19 13:26:43.907 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Stopped Paper UI
2019-04-19 13:26:43.948 [INFO ] [panel.internal.HABPanelDashboardTile] - Stopped HABPanel
2019-04-19 13:26:43.958 [INFO ] [ebuilder.internal.HomeBuilderServlet] - Stopped Home Builder
2019-04-19 13:26:43.982 [INFO ] [.dashboard.internal.DashboardService] - Stopped Dashboard
2019-04-19 13:27:53.171 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2019-04-19 13:27:53.391 [INFO ] [ebuilder.internal.HomeBuilderServlet] - Started Home Builder at /homebuilder
2019-04-19 13:27:53.536 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Location set to '41.857676,12.4549021'.
2019-04-19 13:28:09.286 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2019-04-19 13:28:11.242 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'chromecast:chromecast:dbc49f231be46b9ba4d5916913ab3fb2' to inbox.
2019-04-19 13:28:11.264 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'opendaikin:ac_unit:192_168_1_123' to inbox.
2019-04-19 13:28:11.634 [WARN ] [lipse.smarthome.io.net.exec.ExecUtil] - Execution failed (Exit value: -559038737. Caused by java.io.IOException: Cannot run program "arping" (in directory "."): error=2, File o directory non esistente)
2019-04-19 13:28:13.978 [WARN ] [ikin.handler.OpenDaikinAcUnitHandler] - Received command of wrong type for thing 'opendaikin:ac_unit:192_168_1_123' on channel power
2019-04-19 13:28:13.984 [WARN ] [ikin.handler.OpenDaikinAcUnitHandler] - Received command of wrong type for thing 'opendaikin:ac_unit:192_168_1_123' on channel settemp
2019-04-19 13:28:14.104 [WARN ] [ikin.handler.OpenDaikinAcUnitHandler] - Received command of wrong type for thing 'opendaikin:ac_unit:192_168_1_123' on channel mode
2019-04-19 13:28:14.622 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at http://192.168.1.122:8080
2019-04-19 13:28:14.626 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at https://192.168.1.122:8443
2019-04-19 13:28:15.277 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui

This is what I get when I type http://192.168.1.123/aircon/get_control_info? in Chromium:


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

And this is what I get when I type http://192.168.1.123/aircon/get_sensor_info?

ret=OK,htemp=23,otemp=23,hhum=-,err=0

Thank you

Hi is there support for the BRP15B61 wifi module?
and where do I get latest stable version of this addon?

You can find the ‘beta’ version in this post.
Lately the author of the binding doesn’t seem to be working on migrating it to the new build system and actively maintain it. To my knowledge there is no new version.

As far as support for BRP15B61 is concerned, that’s a matter of testing. Many WiFi models seem to be based on the same API.

Hi - for the BRP15B61 (aka Daikin Airbase) in Australia, try http://smedley.id.au/tmp/org.openhab.binding.opendaikin-2.4.0-SNAPSHOT.jar

Thanks I got indoor temperatures channel connected, however for the power channel I get errors about wrong type as above, for switch type.

Hi Paul, I too am in OZ and have the BRP15B61. Could you answer a couple of questions.
Did you install the Thing and Items from files or did you use Paper Ui to create and link?
What channels do you have working? I cannot change fan speed, Mode or Temp but can turn off/on and read indoor/outdoor temp. What did you do to add tags for google assistant? Did you use Habmin?
Can you share more info please.
Cheers

It sounds like your at the same stage or slightly ahead of me, I’m attempting to us config files, but addon is throwing errors in linking some items, however on whirlpool.net.au someone said they only used paperui, but I haven’t had time to try it yet.

Hi Paul (mtrax). I made some progress today. I have a working “Things” and “Items” file. I dont use the sitemap at all, instead I use the HabPanel. Although I get the “Wrong type of thing” error in the logs, everything works. I can read inside and outside temp, turn on and off, set the temp,fan and mode from HabPanel. The Humidity does not work but i’m not sure if my unit has that or not.
Items and Things.txt (991 Bytes)

(post withdrawn by author, will be automatically deleted in 96 hours unless flagged)

should these be channel= rather than daikin= on your items?

Hi James,

In Paper UI, I can change temperatures, mode & fan speed, and view indoor temperatures. Outdoor temp is N/A for some reason.

For Google Assistant, I had to add tags using habmin, and also manually create a Group:
In an items file:

Group gThermostat "Thermostat" ["Thermostat"]
// mode for Google Home
String ThermostatHeatingCoolingMode "Google Home Thermostat Heating/Cooling Mode" (gThermostat) [ "homekit:HeatingCoolingMode" ]

My Setpoint item has a Tag ‘TargetTemperature’ and is in group ‘gThermostat’
My Current Temperature item has a Tag ‘CurrentTemperature’ and is in group ‘gThermostat’

The Mode above is a virtual object, there needs to be a rule to keep it in sync with the real mode of the Thermostat. This is because the Thermostat object in Google Assistant only understands Off, Heat, Cool & HeatCool.

I have a rule that kinda works, but it’s a bit clumsy, I need to try and optimise it.

Hope this helps,

Paul

AFAIK - there is no humidity support on the Australian Airbase controllers

@Paul_Smedley
where does OH get the Thing name from? is it possible to remove IP address from name and replace with a coded label?

@mtrax not sure I understand the question. But when using PaperUI to add a new ‘Thing’ (like the Daikin controller) I was asked for a name for the thing - the default included a reference to the IP, but this could be changed.

yes I’m assuming if for what ever reason my IP address changes I would need to remap all my items it would be good to “lock” down the name so IP address isn’t part of thing eg opendaikin:ac_unit:192_168_0_6:outdoortemp

so thing would be
daikin:ac_unit:house [ host=“192.168.0.6”]
and item would be:
opendaikin:ac_unit:house:outdoortemp

eg

You can edit the IP address of the airbase without having to change the name of the ‘thing’ - at least you can from paperui - I assume from habmin too…

edit… I’m wrong about being able to change the default ID of the thing - it does seem the IP is hardcoded in there… It’s probably possible to change this, but I’m at the limits of my knowledge in extending the current binding…