ubuntu - Configure openHAB to run over USB with KNX -


i have problems establish connection knx on usb. there no problem run demo-project or project.
have configured rooms on openhab can't connection, if debug log tells other.
config looks this:

# knx gateway ip address  # (optional, if serialport or connection type 'router' specified) #knx:ip=  # knx ip connection type. either tunnel or router (optional, defaults tunnel) # note: if cannot router mode working (even if claims connected),  # use tunnel mode instead setting both ip of knx gateway , localip. knx:type=router  # knx gateway port (optional, defaults 3671) # note: if use eibd, setting 6720 #knx:port=  # local endpoint specify multicast interface, no port used (optional) #knx:localip=  # serial port of ft1.2 knx interface (ignored, if ip specified) # valid values e.g. com1 windows , /dev/ttys0 or /dev/ttyusb0 linux #knx:serialport= 

the debug log tells me following:

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 0/0/6, wait 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 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' datapoint 'command dp 0/0/6 light_gf_office, dpt main 0 id 1.001, low priority' 

so there must error in communication knx-bus. how configure openhab.cfg communicate on usb-port.

you need explicitly define name of usb port knx interface connected to, in:

knx:serialport=/dev/ttyusb0

you can find out port grepping kernel logs:

dmesg | grep ttyusb

you should comment out router definition usb interface direct connection bus.


Comments

Popular posts from this blog

tcpdump - How to check if server received packet (acknowledged) -