I've looked in the sample file "Holidays.drl" from the test suite, and it says for example
> execute.command ("temp", 21);
What kind of command is "temp"? I haven't found any command to write a specific value. Is it possible to send 21 to the KNX installation without using a slider?
I want to show different images for different ranges of values (ex, a type of stabeldigram for the air supply fan, 0 - 10% one pin 10 - 20% two pins 20 - 30% three pins......
My first thought was to use a Custom sensor and have different states for different ranges of values, but I couldn't get it to work with < and > characters in the Value field (is it possible to have a Custom Sensor with ex. "State1" Value <10 and "State2", Value > 10 && <20)?
Then I tried with a rule file and create a "virtual value" (ex. 10 for 0-10, 20 for 10-20....) And then use a custom sensor with states for 10, 20 .... and different images for different states. But I didn't found any way to get the custom sensor to read the virtual value. Is there any way to solve this?
(A In-memory virtual command to save and view "virtual" values from the rules would be an nice feature)
Now I use rule files and "In-memory Virtual" On, Off, and Status commands for each interval then I have Images and use a On/Off-Status-sensor to put on and off the images for each interval . It works, but there will be two rules, three commands and one sensor for each (11) interval. Then I must have an "off picture" for each interval (witch I don't want).
(Did anyone understand this???)
Is there any easier or better way to solve this?