KNX
我在与我的 over建立连接时遇到了一些问题USB
。运行演示项目甚至我的项目都没有问题。
我已经配置了我的房间,openHAB
但无法建立连接,即使调试日志告诉我其他信息。
我的配置如下所示:
# KNX gateway IP address
# (optional, if serialPort or connection type 'ROUTER' is specified)
#knx:ip=
# KNX IP connection type. Could be either TUNNEL or ROUTER (optional, defaults to TUNNEL)
# Note: If you cannot get the ROUTER mode working (even if it claims it is connected),
# use TUNNEL mode instead with setting both the ip of the KNX gateway and the localIp.
knx:type=ROUTER
# KNX gateway port (optional, defaults to 3671)
# Note: If you use eibd, setting to 6720
#knx:port=
# Local endpoint to specify the multicast interface, no port is used (optional)
#knx:localIp=
# Serial port of FT1.2 KNX interface (ignored, if ip is specified)
# Valid values are e.g. COM1 for Windows and /dev/ttyS0 or /dev/ttyUSB0 for Linux
#knx:serialPort=
调试日志告诉我以下内容:
10:01:06.867 [INFO ] [runtime.busevents :22 ] - Light_GF_Office received command ON
10:01:06.871 [INFO ] [tuwien.auto.calimero :51 ] - [qtp29372484-54] link 224.0.23.12:3671: send message to 0/0/6, wait for confirmation
10:01:06.871 [DEBUG] [.b.knx.internal.bus.KNXBinding:163 ] - Received groupWrite Event.
10:01:06.871 [INFO ] [tuwien.auto.calimero :51 ] - [KNXnet/IP receiver] link 224.0.23.12:3671: indication from 0.0.0
10:01:06.871 [INFO ] [runtime.busevents :22 ] - Light_GF_Office received command ON
10:01:06.871 [DEBUG] [.b.knx.internal.bus.KNXBinding:138 ] - Wrote value 'ON' to datapoint 'command DP 0/0/6 Light_GF_Office, DPT main 0 id 1.001, low priority'
KNX
因此,与-Bus的通信一定有错误。如何配置openhab.cfg
通过我的USB
-Port 进行通信。