As a "proof of concept" for my project, I tried to create a simple rule based on an OR-condition: if one of two different lights is switched ON, a third light should switch ON as well.
(Below you find my full config file.)
When trying this, I start with all lights switched OFF and then run linknx.
Next, I switch one of the "source" lights ON. Linknx sees this change, but nothing else happens.
When I exit linknx (ctrl-C), suddenly the condition is evaluated and the "target" light switches ON.
You find a full transcript of console below -- blank lines and lines with ### were added manually.
Self-reply:
It seems to be related to initialization of group address statuses. Once both "source" lights have been switched on or off, things work as expected.
I added init="request" to the object definitions (although that's the default value for the init attribute), but that did NOT help.
Any ideas, anyone?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
As a "proof of concept" for my project, I tried to create a simple rule based on an OR-condition: if one of two different lights is switched ON, a third light should switch ON as well.
(Below you find my full config file.)
When trying this, I start with all lights switched OFF and then run linknx.
Next, I switch one of the "source" lights ON. Linknx sees this change, but nothing else happens.
When I exit linknx (ctrl-C), suddenly the condition is evaluated and the "target" light switches ON.
You find a full transcript of console below -- blank lines and lines with ### were added manually.
Any ideas on what could be wrong??
thanks a lot!
geronimo
/var/lib/linknx/test.xml content
console output
Self-reply:
It seems to be related to initialization of group address statuses. Once both "source" lights have been switched on or off, things work as expected.
I added init="request" to the object definitions (although that's the default value for the init attribute), but that did NOT help.
Any ideas, anyone?
Another self-reply: downloading the latest sources from CVS (0.0.1.31) helped.