I thought about it and I guess that the timer value is only calculated, if the "at"-time appears. Since I tested the role at 22:00, the timer value was "false". I will check it this evening.
Best regards,
Chris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, when you configure the timer, the value is always false and will switch to true only when "at"-time is reached.
Be careful also that if nothing is setting the value of "zentralsteuerung_rollos" back to zero, it will work the first time you send 1 but not the second time because the actual value is already 1 (no change). In that case, you can set the "force-write" flag on "zentralsteuerung_rollos" object to force the sending of 1 even if the value is already one.
Regards,
Jean-François
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Chris,
thats funny - currently I also try to replace my "time-driven" control of blinds with commands from my new ABB weather station. :-)
[I want to close the blinds at 13:00 to 30% if the light is above x lux ... I can keep you posted of my results and the rules :-) ...]
Anyway: regarding your logic: shouldnt it be "OR" - since it is either 20:00 (latest) or already dark. (do you mean: close the blinds at 20:00 on LONGER days.)?
Furthermore: I had to set the force-flag for my trigger as well (as Jeff wrote), since I only trigger "1" and never "0"
--> set ....flag ="cwtuf"
Best Regards, jens
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is it possible to have the timer set to true if the condition are fulfilled at startup.
Now it seems if i have to wait until 05:45 everytime i restart linknx..
Tore
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I want to shut my blinds at dawn, or on shorter days at 20:00 . Wy does the following role work not correctly?
<rule id="rollo_runter">
<condition type="and">
<condition type="timer" trigger="true">
<at hour="20" min="00" />
<until hour="23" min="59" />
</condition>
<condition type="object" id="daemmerung" value="1" trigger="true" />
</condition>
<actionlist>
<action type="set-value" id="zentralsteuerung_rollos" value="1" />
</actionlist>
</rule>
The object "daemmerung" comes from a light sensor.
Thanks in advance,
Chris
I thought about it and I guess that the timer value is only calculated, if the "at"-time appears. Since I tested the role at 22:00, the timer value was "false". I will check it this evening.
Best regards,
Chris
Hi,
Yes, when you configure the timer, the value is always false and will switch to true only when "at"-time is reached.
Be careful also that if nothing is setting the value of "zentralsteuerung_rollos" back to zero, it will work the first time you send 1 but not the second time because the actual value is already 1 (no change). In that case, you can set the "force-write" flag on "zentralsteuerung_rollos" object to force the sending of 1 even if the value is already one.
Regards,
Jean-François
Chris,
thats funny - currently I also try to replace my "time-driven" control of blinds with commands from my new ABB weather station. :-)
[I want to close the blinds at 13:00 to 30% if the light is above x lux ... I can keep you posted of my results and the rules :-) ...]
Anyway: regarding your logic: shouldnt it be "OR" - since it is either 20:00 (latest) or already dark. (do you mean: close the blinds at 20:00 on LONGER days.)?
Furthermore: I had to set the force-flag for my trigger as well (as Jeff wrote), since I only trigger "1" and never "0"
--> set ....flag ="cwtuf"
Best Regards, jens
Hi,
I got the following timer..
<condition type="timer" trigger="true">
<at hour="05" min="45" exception="no" wdays="12345" />
<until hour="00" min="00" exception="no" wdays="12345" />
</condition>
Is it possible to have the timer set to true if the condition are fulfilled at startup.
Now it seems if i have to wait until 05:45 everytime i restart linknx..
Tore