This article explains how to program or diagnose a KNX installation from a remote office with ETS, using the Weble IoT Universal Gateway as the KNXnet/IP interface. The gateway is already connected to the bus for supervision; its KNX driver can also open a KNXnet/IP tunnelling server, which ETS reaches through the Weble VPN. No KNX IP interface has to be added on site and no port has to be opened on the site router.
The reference of every KNX setting is on the KNX driver page; this article gives the procedure, the limits and the checks.
tp), USB (usb), Tunneling (ipt), Tunneling NAT (iptn) or multicast (ip). The Tunneling server mode (ips) is a special case, see section 4.26.0.0.77), shown in the host list of Weble Connect.Open Gateways, select the KNX gateway and edit it.
| Label | Value for remote ETS | Notes |
|---|---|---|
| EIB Address | a free individual address, e.g. 1.1.250 |
Individual address of the gateway on the bus. Default 15.15.250. |
| EIB Client range | first address and number of clients, e.g. 1.1.251:4 |
Addresses given to the clients of the server: 1.1.251:4 gives 1.1.251 to 1.1.254, so 4 simultaneous connections at most. Default 15.15.251:4. The form refuses a value that is not x.x.x:n. |
| Server | ticked | Starts the KNXnet/IP server. Unticked by default. |
| Server port | 3671 |
Port of the KNXnet/IP server. Keep the KNX default unless another service already uses it. |
| Allow ETS (IP server) | ticked | Makes the server answer KNXnet/IP discovery and description requests, so that ETS can find it and identify it. |
| Multicast server | unticked | Only for KNXnet/IP routing, see section 6. |
Choose EIB Address and EIB Client range among free addresses of the line where the gateway is connected, and reserve them in the ETS project. Duplicate individual addresses on a line disturb programming. The default
15.15.xaddresses only suit a gateway that is alone on its line or behind couplers that let its telegrams through.
Confirm with the check mark. Saving restarts the KNX gateway (connection interrupted for a few seconds); it returns to CONNECTED once the bus connection is back.
In Tunneling server mode (ips), the gateway is not connected to any KNX bus: it only runs the KNXnet/IP server, and its own group addresses are exchanged with the clients that connect to it. In this mode:
Use it when KNX IP clients must reach the gateway itself, not to program devices on a bus.
3671 by default). Test the connection. The individual address used by the connection comes from EIB Client range.Automatic discovery. ETS can also list the interface by itself when Allow ETS (IP server) is ticked, but discovery relies on multicast. It only crosses a VPN that carries multicast (a Switch type tunnel, see Tunnel); with a routed VPN, add the interface by its address as above.
KNXnet/IP tunnelling uses UDP. The VPN must carry UDP between the workstation and the gateway, which a Weble VPN connection or IKEv2 does. If the connection opens and then drops, ETS may need its NAT mode option when an address translation sits between the workstation and the gateway.
Multicast server adds KNXnet/IP routing to the server: the gateway also exchanges the bus telegrams with the multicast group set in Multicast ip (default 224.0.23.12), on the Server port. The option is shown in Tunneling, Tunneling NAT, USB and Twisted Pair modes.
You do not need it for ETS over the VPN, which uses tunnelling. Enable it only to let KNX IP routers or devices on the local network share the bus through the gateway, and check first that no other KNX IP router already routes the same line, to avoid loops.
| Symptom | Cause | What to do |
|---|---|---|
| ETS does not find the interface in its list | Discovery is multicast and does not cross a routed VPN, or Allow ETS (IP server) is unticked. | Add the interface by hand with the VPN address and port (section 5). |
| ETS cannot connect to the address | Server unticked, gateway not started or not CONNECTED, wrong port, workstation not on the VPN. | Check the gateway status and its settings; check the VPN with the web interface of the gateway. |
| A further client cannot connect while others work | All the addresses of EIB Client range are in use. | Close the unused connections (ETS, other tools) or enlarge the range, e.g. 1.1.251:6. |
Saving the gateway shows Bad EIB client address set (x.x.x:2) or Bad EIB client range set |
EIB Client range is not of the form x.x.x:n. |
Enter an individual address, a colon and the number of clients. |
| Programming is slow | The VPN adds latency to every telegram exchanged by ETS. Write delay only paces the writes of the supervision, not ETS traffic. | Prefer the direct VPN connection (TCP/UDP 655) over the HTTP tunnels, see VPN. |
| Server and EIB Client range are not in the form | Secure mode or Windows edition. | Not available in these cases (section 2). |