To identify if the problem is in Domoticz or not I installed HomeGenie. There they come up as 23, 23.1 and 23.2 (example id)
ID23 is the main switch wich switches both relays. With 23.1 and 23.2 the relays are independent.
Also switching locally on I1 or I2 reports correctly in HomeGenie.
Therefore my conclusion is that there's a small thing somewhere in Domoticz or openzwave (don't know what kind of zwave is implemented in HomeGenie)
Actually in Domoticz, the first ID is the general switch that switches both, ID2 = Q1, ID3 = Q2.
The problem is that I1 is linked to ID1 and I2 to ID2. So the local switches aren't reported to the right ID.
What is the best path to analyze this further? Is this something I can change in a config xml?