Dynamic_When - OpenKNX/Kaenx-Creator GitHub Wiki
A When represents a condition. It will be tested with the ParameterRef of the Choose above.
Property | Description |
---|---|
Condition |
Condition = true means Children are visible See Table below what conditions are allowed. |
Name | For internal use only |
Show only if... |
Check this option to set the condition as default. So if every other condition fails this one will be displayed. |
Condition | Description |
---|---|
< | Lower than |
<= | Lower than or equal |
> | Greater than |
>= | Greater than or euqal |
= | Equals |
!= | Not Equals |
List |
Gernerate a list with Values separated by space |
Test Value | Condition | Result |
---|---|---|
50 | < 60 | true |
> 60 | false | |
>= 50 | true | |
= 50 | true | |
!= 50 | false | |
1 2 48 69 | false | |
1 2 50 69 | true |
XML Example
<when default="true">
[...]
</when>
<when test="<2">
[...]
</when>
You can add following Items: If nearest parent is a ParameterBlock:
If nearest parent is a Channel or IndependentChannel: