To connect KNX to Homey via an IP gateway, you need a compatible KNX IP interface (like the Weinzierl 731, Gira KNX IP Router, or Schneider M210) and must configure both the gateway and Homey to share the same KNX network. The process enables two-way communication: Homey can send commands to KNX devices and receive status updates, turning your KNX installation into a smart home hub for voice control, automations, and mobile access. Ensure your KNX IP gateway supports EIBnet/IP tunneling (not routing) and that you have KNXnet/IP access credentials (IP address, port, and optionally group address mapping access).
What You'll Need
- A working KNX installation with a KNX IP interface (tunneling mode, not routing)
- Homey Pro or Homey (2023) with Homey OS 8.0 or newer
- KNX IP gateway with firmware updated to the latest version
- KNX engineering tool (e.g., ETS) to verify group address assignments and gateway configuration
- Homey app: KNX IP Gateway (installed from the Homey App Store)
- Network access: KNX IP gateway and Homey must be on the same local network (same subnet), with no firewalls blocking UDP port 3671 (EIBnet/IP)
- KNX group address range: avoid using group addresses starting with 0/0/0, 0/0/1, or reserved ranges (e.g., 0/0/200–0/0/255)
Step-by-Step
- Confirm your KNX IP gateway is properly installed and powered. Connect it to your KNX bus via the KNX twisted-pair cable and to your LAN via Ethernet. Ensure the gateway’s status LEDs indicate power, network, and KNX bus activity (check the manufacturer’s manual for LED meanings). If using a Wi-Fi gateway, verify it has a stable Wi-Fi connection and is assigned a static IP address via DHCP reservation (recommended for KNX gateways).
- Access the KNX IP gateway’s web interface or configuration tool (usually via its local IP address, e.g., http://192.168.1.50). Log in with admin credentials. In the network settings, confirm the gateway has a static IP, correct subnet mask, and default gateway (your router’s IP). Disable any conflicting services like DHCP server on the gateway unless intentionally used as a router (most KNX IP interfaces should operate in transparent tunneling mode only).
- Verify EIBnet/IP tunneling is enabled. In the gateway’s settings, look for options like “KNXnet/IP Mode,” “Communication Mode,” or “Tunneling.” Select “Tunneling” (not Routing or IP Router). Set the port to the default 3671 unless your Homey setup requires a custom port (Homey uses 3671 by default). Save and restart the gateway if prompted.
- Install the KNX IP Gateway app in Homey. Open the Homey app on your phone, go to the “App Store,” search for “KNX IP Gateway” (by Athom or verified third-party), and install it. After installation, open the app—do not skip this step, as it initializes required services.
- On the KNX IP Gateway app in Homey, tap “Add Device.” Enter the KNX IP gateway’s IP address (e.g., 192.168.1.50) and port (3671). If your gateway requires authentication (e.g., password-protected tunneling), enter the username and password (common defaults: “admin”/“admin” or blank—check your gateway’s manual). Tap “Connect.”
- Wait for the connection status to turn green (or “Connected”) in the app. Homey will now attempt to discover available group addresses. If your gateway supports automatic discovery, group addresses used in the KNX installation will appear under “Available Addresses.” If discovery fails, proceed to manual configuration: tap “Add Group Address” and enter the KNX group address (e.g., 1/2/3), data type (e.g., DPT 1.001 for switch, DPT 5.001 for dimmer), and direction (read, send, receive, or bidirectional).
- Assign Homey devices to KNX group addresses. For each KNX device you want to control (e.g., a light switch), create a corresponding “KNX Device” in Homey. Set the device type (light, shutter, sensor), then map its functions to group addresses (e.g., On/Off command to 1/2/3, status feedback to 1/3/3). Use the app’s “Test” button to send a command and verify the physical KNX device responds.
- Save and sync the configuration. In the KNX IP Gateway app, tap “Save” then “Sync.” Homey will upload the mapping to the gateway. Wait 10–15 seconds for confirmation. You can now control KNX devices via Homey automations, voice commands (e.g., “Hey Homey, turn off the living room lights”), or the Homey dashboard.
Common Mistakes
Using a KNX IP router instead of a tunneling interface—routing mode prevents Homey from directly addressing group addresses. Not reserving the gateway’s IP via DHCP—dynamic IPs cause connection loss after reboots. Blocking UDP port 3671 in your firewall (even on Wi-Fi networks, some routers filter this port). Entering group addresses incorrectly (e.g., 1/2/3 vs. 1/02/003—Homey accepts both formats, but consistency matters if importing from ETS). Assuming all KNX devices expose status automatically—many require separate read group addresses for feedback.
Tips
Use ETS to pre-configure group addresses and export a list—this avoids typos when entering them in Homey. Assign static IPs to all KNX devices (gateway, Homey, and critical KNX IP interfaces) to prevent IP conflicts. In Homey, group related KNX devices into “Rooms” for easier automation. For lights with dimming, use DPT 5.001 (5-byte float) for percentage control and map a separate group address for on/off state. If using shutter control, ensure the gateway supports DPT 5.005 (percentage) and DPT 1.008 (up/down commands). Test one device at a time—start with a simple light before adding complex heating or ventilation controls.
Troubleshooting
If Homey shows “Connection failed,” first ping the gateway’s IP from a computer on the same network—no response means a network issue. Check Ethernet cables, Wi-Fi signal strength, and router settings. Ensure no VLANs separate Homey and the gateway. If the gateway is reachable but Homey can’t connect, verify UDP port 3671 is open: use a tool like `nmap -sU -p 3671 192.168.1.50` on a PC, or try the free “EIBnet/IP Scanner” tool. In Homey, restart the KNX IP Gateway app (not just the device) via Settings > Apps > KNX IP Gateway > Restart. If discovery shows no group addresses, manually add them using known addresses from your ETS project. If commands sent from Homey don’t trigger KNX devices, check if the gateway’s LED blinks when Homey connects—no blinking suggests the command isn’t leaving Homey. Confirm the KNX device’s group address matches Homey’s setting (e.g., Homey sends to 1/2/3, but the actuator listens on 1/2/4). If status updates fail, ensure the KNX device is configured to send status updates on a separate group address (e.g., status on 1/3/3), and Homey is subscribed to that address. Finally, update the KNX IP gateway’s firmware—older versions often have bugs in EIBnet/IP handling.
Frequently Asked Questions
Can I use any KNX IP interface with Homey?
Only tunneling-mode interfaces work reliably. Routing-mode gateways (e.g., some older Siemens or ABB models) require additional setup and often fail with Homey. Check the gateway’s datasheet for “KNXnet/IP Tunneling Server” support.
Do I need ETS to set this up?
No—Homey can discover and configure group addresses automatically. However, ETS is highly recommended for verifying your KNX project’s group address structure and ensuring devices are properly assigned.
Why does Homey lose connection after a power cycle?
The gateway likely has a dynamic IP. Assign a static IP via DHCP reservation in your router, or configure a static IP directly on the gateway.
Can I control KNX devices from outside my home?
Yes—if Homey is connected to the internet (via Athom Cloud), you can control KNX devices remotely. Ensure your KNX IP gateway is on the same local network as Homey and not exposed directly to the internet (for security).
What if my KNX system uses TP1 and my gateway only supports IP?
All KNX IP gateways connect to the KNX TP1 bus via twisted-pair cable. The IP connection is for communication with Homey, not replacing the bus. Ensure your gateway has a TP1 port and is wired to the KNX bus.
Is there a limit to how many KNX devices I can connect via Homey?
Homey’s KNX IP Gateway app supports up to 2,000 group addresses per gateway, limited mainly by the KNX IP interface’s capacity (most support 500–2,000 devices). Check your gateway’s spec sheet for maximum tunneling connections (usually 16–20 simultaneous clients).