I cannot have more that one time-counter in my linknx . When I configure more that one rule with a time-counter the lynknx only see the last one in my config .
For example I have just configured two rule like this:
If I ask to the linknx to the rules with "<read><config><rules/></config></read>·" , the linknx return the last one and of course only works the last one.
Does anybody knows if this is correctt ? May be is it a bug ?
Thank you
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ah, time-counters!
My beloved feature!
I have 6 of them and all working now. The secret is probably, that you need to give a name to the rules,
i.e. something like:
<rule id="firstrule">
…
</rule>
<rule id="secondrule">
…
</rule>
try this :-)
By the way: which CVS-Version are you using? Please check also my message to jef few days ago.
best Regards, Jens
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I cannot have more that one time-counter in my linknx . When I configure more that one rule with a time-counter the lynknx only see the last one in my config .
For example I have just configured two rule like this:
<rule>
<condition type="time-counter" threshold="10m" reset-delay="1">
<condition type="object" id="Test1" value="0" trigger="true" />
</condition>
<actionlist>
<action type="set-value" id="Test_1_ON-OFF" value="off" />
</actionlist>
</rule>
<rule>
<condition type="time-counter" threshold="10m" reset-delay="1">
<condition type="object" id="Test2" value="0" trigger="true" />
</condition>
<actionlist>
<action type="set-value" id="Test_2_ON-OFF" value="off" />
</actionlist>
</rule>
If I ask to the linknx to the rules with "<read><config><rules/></config></read>·" , the linknx return the last one and of course only works the last one.
Does anybody knows if this is correctt ? May be is it a bug ?
Thank you
Ah, time-counters!
My beloved feature!
I have 6 of them and all working now. The secret is probably, that you need to give a name to the rules,
i.e. something like:
<rule id="firstrule">
…
</rule>
<rule id="secondrule">
…
</rule>
try this :-)
By the way: which CVS-Version are you using? Please check also my message to jef few days ago.
best Regards, Jens