I’m trying to add KNX lights to my Homey Pro installation using the KNX App. I have the following KNX devices:
- Zennio ALLinBOXv2 (which has lamps connected, and is also the IP interface)
- Zennio MAXinBOX 8 v4 (which has some lamps, screens and other things)
- Zennio DIMMinBOX XD4 (which has lamps)
- Zennio QUADplus with regular Niko push buttons
KNX-wise everything works, turn lights on and off, screens up and down, light dimming
When I try to add lamps connected to the MAX and DIMM, it works as expected and I can turn lights on and off, and get the status correclty. But when I try to add lamps to the ALLinBOX, I can add them but can’t turn on and off lights, and the status isn’t correct.
this is what happens on the bus:
Dressing is connected to MAXinBOX and turns on and off just fine (this is on and off):
Inkom is directly connected to the ALLinBOX, but doesn’t work. It does work with physical switches (using QUADplus). The telegrams end up on the ALLinBOX, just like in Dressing situation, but looks like the ALLinBOX isn’t processing them?
I saw a similar topic from years ago (KNX App with Bab-Tec EIBport KNX/IP Gateway? - Apps - Homey Community Forum)
So my conclusion now is that combined KNX/IP Gateway solutions are not working, because it doesn’t telegrams received on its own IP gateway? Do I really need to install a separate IP gateway like Weinzierl for this to work?
Update:
I vibe-coded a small application to test if it’s actually possible to turn a light on and off via IP on the same ALLinONEv2, and this just works. So I think something is wrong with the KNX App:
So another update.
Support failed to be of any help. They claim they don’t support this app anymore as it has been open-sourced. Ridiculous since they recently updated to 1.5.1 and the app still points to their support in case you run into issues.
So I fixed it myself, after troubleshooting it appears that the KNX App detects the physical address from the IP interface, but as the Zennio ALLinBOXv2 is a combo Actuator + IP Interface, the physical address is the same as the ALLinBOX’s address. The ALLinBOX doesn’t process telegrams coming from itself which results in the KNX app unable to control anything connected to the ALLinBOX.
According to the documentation, address 15.15.255 should not be used in the KNX environment which leads to believe that it’s hardcoded to use that address in the app, but it’s not. So the documentation is wrong.
I forked the application and hardcoded 15.15.255 in there, now it works. This should be the solution for all combo devices, not only Zennio.
Repo is available here: https://github.com/ForgiveForGit/for.knx/
// Setting object parameters from parameters from the interfacemanager
this.name = knxInterface.interfaceName;
this.ipAddress = knxInterface.interfaceIp;
this.macAddress = knxInterface.interfaceMac;
this.knxAddress = '15.15.255';