Dynamic_When - OpenKNX/Kaenx-Creator GitHub Wiki

Overview
A When represents a condition. It will be tested with the ParameterRef of the Choose above.

Options

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.

Allowed Conditions

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

Examples

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="&lt;2">
    [...]
</when>

Children

You can add following Items: If nearest parent is a ParameterBlock:

If nearest parent is a Channel or IndependentChannel:

⚠️ **GitHub.com Fallback** ⚠️