12-10-2013, 11:30 PM
Hi,
I have a output (SCS nú1, led nú2) that signals the status of all my heaters / aircons for a quick visual check. If the led is ON, one or more elements are ON, if the led is OFF, then all of my climate appliances are off. I have 5 climate elements.
I cannot seem to get this to work reliably, however i did get some workarounds that suggest that 1-there is a bug in comfort OR 2-there is a bug on how i do logic :-).
In terms of responses here is what i did.
1- Every time i turn any climate device ON, the SCS1_2 Led is turned on
2- Every time i turn any climate device OFF, i run the following response at the end:
AqCheck:
if Output Clima_1 <> 0 Or Output Clima_2 <> 0 Or Output Clima_3 <> 0 Or Output Clima_4 <> 0 Or Output Clima_5 <> 0 Then
Output SCS1_2 On
Else
Output Scs1_2 Off
End if
I attached this response to SCS1_2 button and every time i press it it works OK.
However, when this response is run automatically, part of a OFF response of every climate element i realized it doesn\'t work.
Example:
My WC heater OFF response is:
Output Clima_WC Off
Knx Off KNX 2052
Set AQ_WC=0
Do AqCheck ---> this response doesn\'t work/the Led does not turn off
Workaround: add a 1 second timer to the response:
Output Clima_WC Off
Knx Off KNX 2052
Set AQ_WC=0
Do AqCheck After 1 Seconds Using AqCheck
This works! BUT not completely!
If the response is inside another response that is triggrered by a (different) timer it does not work.
Example: turn off AirCon:
Response AC_Sala_OFF:
IR code AC_Sala_OFF To IR_Sala
Do AqSalaOFF After 30 Seconds Using AC_Quarto
Response AqSalaOFF:
Output Clima_Sala Off
Knx Off KNX 2049
Set Aq_Sala = 0
Do AqCheck After 1 Seconds Using AqCheck
Thanks for any thoughts!
BR
AP
I have a output (SCS nú1, led nú2) that signals the status of all my heaters / aircons for a quick visual check. If the led is ON, one or more elements are ON, if the led is OFF, then all of my climate appliances are off. I have 5 climate elements.
I cannot seem to get this to work reliably, however i did get some workarounds that suggest that 1-there is a bug in comfort OR 2-there is a bug on how i do logic :-).
In terms of responses here is what i did.
1- Every time i turn any climate device ON, the SCS1_2 Led is turned on
2- Every time i turn any climate device OFF, i run the following response at the end:
AqCheck:
if Output Clima_1 <> 0 Or Output Clima_2 <> 0 Or Output Clima_3 <> 0 Or Output Clima_4 <> 0 Or Output Clima_5 <> 0 Then
Output SCS1_2 On
Else
Output Scs1_2 Off
End if
I attached this response to SCS1_2 button and every time i press it it works OK.
However, when this response is run automatically, part of a OFF response of every climate element i realized it doesn\'t work.
Example:
My WC heater OFF response is:
Output Clima_WC Off
Knx Off KNX 2052
Set AQ_WC=0
Do AqCheck ---> this response doesn\'t work/the Led does not turn off
Workaround: add a 1 second timer to the response:
Output Clima_WC Off
Knx Off KNX 2052
Set AQ_WC=0
Do AqCheck After 1 Seconds Using AqCheck
This works! BUT not completely!
If the response is inside another response that is triggrered by a (different) timer it does not work.
Example: turn off AirCon:
Response AC_Sala_OFF:
IR code AC_Sala_OFF To IR_Sala
Do AqSalaOFF After 30 Seconds Using AC_Quarto
Response AqSalaOFF:
Output Clima_Sala Off
Knx Off KNX 2049
Set Aq_Sala = 0
Do AqCheck After 1 Seconds Using AqCheck
Thanks for any thoughts!
BR
AP

