Platform information: Raspberry PI 3+ Openhabian 2.3
Hi, I’m a bit new to the OH and I’m having some trouble setting up my Daikin Air Con (uses Klic DD to interface the splits with KNX). I only managed to turn the split on and off.
This is the Klic DD manual link Klic DD Manual
but the relevant config is this:
This is how its setup on OH items:
Switch FF_MasterBedroom_AC “AC ON/OFF [%d]” {autoupdate=“true”,knx=“1/6/2+<1/6/6”}
Number FF_MasterBedroom_AC_Temp “Temperature[%d]” {autoupdate=“true”,knx=“1/6/10+<1/6/14”}
Number FF_MasterBedroom_AC_Mode “Mode [%d]” {knx=“1/6/26+<1/6/30”}
Number FF_MasterBedroom_AC_Fan “Fan Speed[%d]” {autoupdate=“true”,knx=“1/6/18+<1/6/22”}
Number FF_MasterBedroom_Swing “Swing ON/OFF [%d]” {knx=“1/6/34+<1/6/38”}
Hi Dim
I’m using the old binding
KNX Binding (1.x)
binding-knx1 - 1.12.0.SNAPSHOT
I never updated to the new 2.3.0 binding because everything else in knx has been working (lights, shutters, sensors)
Regarding accessing the console… thats another thing I never managed to do remotely with windows 10
by default remote access to the console is disabled
either log in locally to your rPi3 and access it or modify the config file to allow remote ssh connection to it
Ok I managed to access the console and typed in the commands you mentioned, although I just noticed that for some reason im not getting logs on my browser using http://openhabianpi:9001 anymore
so i just did a log:display and I got the following errors relevant to this subject:
21:18:01.315 [WARN ] [nal.bus.KNXBindingDatapointReaderTask] - Autorefresh: Cannot read value for item 'FF_Office_AC_Temp' from KNX bus: timeout waiting for group read response: timeout
21:18:01.317 [WARN ] [nal.bus.KNXBindingDatapointReaderTask] - Autorefresh: Give up, could not read address '1/4/13' after '3' retries.
21:18:09.923 [WARN ] [r.internal.protocol.xml.XMLConnection] - post failed on: <?xml version="1.0" encoding="utf-8"?><YAMAHA_AV cmd="GET"><System><Config>GetParam</Config></System></YAMAHA_AV>
21:18:11.388 [WARN ] [nal.bus.KNXBindingDatapointReaderTask] - Autorefresh: Cannot read value for item 'FF_MasterBedroom_Plug' from KNX bus: timeout waiting for group read response: timeout
21:18:11.391 [WARN ] [nal.bus.KNXBindingDatapointReaderTask] - Autorefresh: Give up, could not read address '1/5/6' after '3' retries.
21:34:44.686 [DEBUG] [knx.internal.client.AbstractKNXClient] - Bridge knx:ip:b57cac8d is disconnecting from the KNX bus
21:34:44.690 [DEBUG] [knx.internal.client.AbstractKNXClient] - Bridge knx:ip:b57cac8d is connecting to the KNX bus
21:34:44.693 [DEBUG] [.binding.knx.internal.client.IPClient] - Establishing connection to KNX bus on 192.168.1.96:3671 in mode TUNNEL.
21:34:44.702 [DEBUG] [knx.internal.client.AbstractKNXClient] - Error connecting to the bus: on connect to /192.168.1.96:3671
tuwien.auto.calimero.exception.KNXException: on connect to /192.168.1.96:3671
at tuwien.auto.calimero.knxnetip.ClientConnection.connect(ClientConnection.java:176) ~[?:?]
at tuwien.auto.calimero.knxnetip.KNXnetIPTunnel.<init>(KNXnetIPTunnel.java:131) ~[?:?]
at org.openhab.binding.knx.internal.client.IPClient.getConnection(IPClient.java:106) ~[?:?]
at org.openhab.binding.knx.internal.client.IPClient.createKNXNetworkLinkIP(IPClient.java:89) ~[?:?]
at org.openhab.binding.knx.internal.client.IPClient.establishConnection(IPClient.java:76) ~[?:?]
at org.openhab.binding.knx.internal.client.AbstractKNXClient.connect(AbstractKNXClient.java:190) ~[?:?]
at org.openhab.binding.knx.internal.client.AbstractKNXClient.lambda$0(AbstractKNXClient.java:149) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: java.net.BindException: Cannot assign requested address (Bind failed)
at java.net.PlainDatagramSocketImpl.bind0(Native Method) ~[?:?]
at java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:93) ~[?:?]
at java.net.DatagramSocket.bind(DatagramSocket.java:392) ~[?:?]
at java.net.DatagramSocket.<init>(DatagramSocket.java:242) ~[?:?]
at tuwien.auto.calimero.knxnetip.ClientConnection.connect(ClientConnection.java:150) ~[?:?]
21:34:44.753 [DEBUG] [knx.internal.client.AbstractKNXClient] - Bridge knx:ip:b57cac8d is disconnecting from the KNX bus
strange… I will make a note of this and check it myself at a later time
ok… try the following: from the console:
config:list "(service.pid=org.openhab.knx)"
Did you use PaperUI to configure KNX2 or you used a *.things file?
If PaperUI: check file /var/lib/openhab2/jsondb/org.eclipse.smarthome.core.thing.Thing.json for old KNX2 entries. You should remove the KNX2 things from your system.
Yes I still had a knx thing lurking, removed it now. Did another log bellow after
22:15:09.868 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'knx:ip:b57cac8d' changed from OFFLINE (COMMUNICATION_ERROR): on connect to /192.168.1.96:3671 to REMOVING
22:15:09.879 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'knx:ip:b57cac8d' changed from REMOVING to REMOVED
22:15:09.888 [DEBUG] [knx.internal.client.AbstractKNXClient] - Bridge knx:ip:b57cac8d is disconnecting from the KNX bus
22:15:09.889 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'knx:ip:b57cac8d' changed from REMOVED to UNINITIALIZED
22:15:09.897 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'knx:ip:b57cac8d' changed from UNINITIALIZED to OFFLINE
22:15:09.900 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'knx:ip:b57cac8d' changed from REMOVED to UNINITIALIZED (HANDLER_MISSING_ERROR)
then ran what u asked and got this:
openhab> bundle:list -s |grep knx
17 │ Active │ 80 │ 2.3.0.201803081007 │ org.openhab.binding.knx
214 │ Active │ 80 │ 1.12.0.201803170211 │ org.openhab.binding.knx
I cant find it, since the log is short when i do log:display, unfortunately i still have the issue of the logs not showing on my browser but i think that is an issue for another topic
regarding improvements on the log, yes, i think the lurking thing on paper ui improved and i dont get that conflit errors anymore, thanks.
I also found that the swing item was giving some errors so i removed the item from my config for the moment, I want to focus on being able to change the AC mode, temperature and fan for now
I’m going to check my air con if it work, ill be back if it wont thank you