With usb-devices I became the following output. My question is, how does I found out which serial port is used? So which serial port (/dev…) I need to put on knx configuration?
this should show which devices are detected and setup when you connect them to an usb port like:
[ 60.139563] usb 1-1.1.2: New USB device found, idVendor=1cf1, idProduct=0030, bcdDevice= 1.00
[ 60.139573] usb 1-1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 60.139581] usb 1-1.1.2: Product: ConBee II
[ 60.139589] usb 1-1.1.2: Manufacturer: dresden elektronik ingenieurtechnik GmbH
[ 60.139595] usb 1-1.1.2: SerialNumber: DE2192454
[ 60.144330] cdc_acm 1-1.1.2:1.0: ttyACM0: USB ACM device
thank you for your fast answer. I try it out and change the port… the message is bellow… possible that this device is not working with linux? did I need a driver?
[27303.494522] usb 2-1.1: USB disconnect, device number 7
[27305.762752] usb 2-1.2: new full-speed USB device number 8 using ehci-pci
[27305.932225] usb 2-1.2: New USB device found, idVendor=28c2, idProduct=0007, bcdDevice= 2.01
[27305.932229] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=4
[27305.932231] usb 2-1.2: Product: KNX-USB Inteface
[27305.932232] usb 2-1.2: Manufacturer: Zueblin
[27305.932234] usb 2-1.2: SerialNumber: 0072102E001A
[27305.940350] hid-generic 0003:28C2:0007.000A: hiddev0,hidraw0: USB HID v1.10 Device [Zueblin KNX-USB Inteface] on usb-0000:00:1d.0-1.2/input0
It seems to be identified as USB HID ( human interface device ).
Can you try to create a udev rule:
Filename: /etc/udev/rules.d/90-knxusb-devices.rules
The file’s content:
I have create the role and restart the whole server, but nothing happens, bellow two outputs after disconnect / connect the usb device. I don’t see any ttyKNX
[ 485.620113] usb 2-1.2: new full-speed USB device number 7 using ehci-pci
[ 485.750196] usb 2-1.2: New USB device found, idVendor=28c2, idProduct=0007, bcdDevice= 2.01
[ 485.750199] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=4
[ 485.750201] usb 2-1.2: Product: KNX-USB Inteface
[ 485.750203] usb 2-1.2: Manufacturer: Zueblin
[ 485.750204] usb 2-1.2: SerialNumber: 0072102E001A
[ 485.757352] hid-generic 0003:28C2:0007.0009: hiddev0,hidraw0: USB HID v1.10 Device [Zueblin KNX-USB Inteface] on usb-0000:00:1d.0-1.2/input0
[13538.758597] usb 2-3: USB disconnect, device number 15
[13543.433292] usb 2-3: new full-speed USB device number 16 using xhci_hcd
[13543.614282] usb 2-3: New USB device found, idVendor=28c2, idProduct=0007, bcdDevice= 2.01
[13543.614287] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=4
[13543.614290] usb 2-3: Product: KNX-USB Inteface
[13543.614293] usb 2-3: Manufacturer: Zueblin
[13543.614296] usb 2-3: SerialNumber: 0072102E001A
[13543.622717] hid-generic 0003:28C2:0007.000F: hiddev1,hidraw2: USB HID v1.10 Device [Zueblin KNX-USB Inteface] on usb-0000:00:14.0-3/input0
ls -l /dev/ttyKNX
ls: cannot access '/dev/ttyKNX': No such file or directory
I assume that you have some KNX tools installed on your Ubuntu host.
Does that also contain the tool called findknxusb ? Does that tool find the USB interface ?
This article refers to KNX USB interfaces but I am not sure if this is exactly what you are looking for:
hi wolfgang
I have now buy an ABB i-bus KNX Router/Tunnel. Is possible to use it as Router or as Tunnel. The setup as Tunnel is working fine, I setup it directly in a knx.things file like bellow. But I would prefere it to use as Router. Did you have experience with this?
Thank you, I change my config from TUNNEL to ROUTER but always Status “unknown”. I don’t find any possibility to disalbe IGMP on my network. We use a EDGEROUTER of unifi.
Igmp mostly deals with multicast traffic so if your switches are capable of monitoring this flow then basically instead of flooding all the ports they route the flow from the transmitter por directly to the receiver port. If your switches are manageable see in it’s interface if your switches are unmanaged then it should just work b cause there is no restrictions.Also show your thing configuration for debugging further and network topology
thank you for your answer, I try now and have create some firewall roles on my router. one to drop all igmp and udp on the whole network and then I add one role to allow the openhab <> knx ip router udp and igmp. but always unknown… possible to debug this?
No your firewall has nothing to do with that in term of flow within the internal network unless we talk about different subnets vlan etc. Explain topology of network thing configuration and platform for hosting openhab.
We have different VLANs. The KNX Gateway and the OpenHab are in the same VLAN. And this is why I create a firewall role for dropping and allow igmp. I don’t know if I have a possibility to debug this… Is so hard if you don’t see anithing
Ok then then. You can use Wireshark to see the flow of data in that vlan. Then i think is something wrong at the host of openhab. Try this tool if it’s possible with 2 computers on the same vlan to see if the packets are flowing http://www.dqnetworks.ie/toolsinfo/mcasttest/