KNX virtual device

Hi,

Is there a way to create a KNX virtual de device on OH2? Example:

Want to activate a group address with an OR condition. One of the inputs of the OR would be a physical input, and the other one item in OH2. The output of the OR would active one physical output.

Is this scenario possible?

Thanks.

You could do this with a rule.
setup 3 items: 1 for the KNX input, 1 for the OH2 item and 1 for the KNX output.
use a rule in the lines of:

rule "rule name"
when
    <TRIGGER CONDITION1> or
    <TRIGGER_CONDITION2>
then
    <SCRIPT_BLOCK>
end

http://docs.openhab.org/configuration/rules-dsl.html