06-19-2007, 03:17 PM
Guest
06-19-2007, 03:25 PM
Set it as the status in the control menu?
What do you aim to achieve?
What do you aim to achieve?
06-21-2007, 07:19 AM
Thank\'s!
It was just to test this response:
[indent]
If Flag Flag01 <> 0 Then
Do _sim_presenca_02 [p0_luz cozinha_off]
Do _sim_presenca_04 [p1_luz cozinha_off]
Do _sim_presenca_06 [p1_quarto susana_off]
Do _sim_presenca_08 [ex_varanda_off]
Do _sim_presenca_10 [ex_jardim suite_off]
Do _sim_presenca_12 [ex_muro circuito 1_off]
Do _sim_presenca_14 [p1_quarto srê conceição_off]
Clear Flag Flag01
End If
[/indent]
The flag is set when the system is armed in vacation mode.
Before this response all the lights in vacation mode remain on after the custemer disarm the system.
Rui
It was just to test this response:
[indent]
If Flag Flag01 <> 0 Then
Do _sim_presenca_02 [p0_luz cozinha_off]
Do _sim_presenca_04 [p1_luz cozinha_off]
Do _sim_presenca_06 [p1_quarto susana_off]
Do _sim_presenca_08 [ex_varanda_off]
Do _sim_presenca_10 [ex_jardim suite_off]
Do _sim_presenca_12 [ex_muro circuito 1_off]
Do _sim_presenca_14 [p1_quarto srê conceição_off]
Clear Flag Flag01
End If
[/indent]
The flag is set when the system is armed in vacation mode.
Before this response all the lights in vacation mode remain on after the custemer disarm the system.
Rui
Guest
06-21-2007, 08:38 AM
Rui,
If you are using a flag to determine whether in vacation mode before deciding to execute responses or not, wouldn\'t it be easier to set it such that:
If SecurityMode = VacationMode Then
Do _sim_presenca_02 [p0_luz cozinha_off]
Do _sim_presenca_04 [p1_luz cozinha_off]
Do _sim_presenca_06 [p1_quarto susana_off]
Do _sim_presenca_08 [ex_varanda_off]
Do _sim_presenca_10 [ex_jardim suite_off]
Do _sim_presenca_12 [ex_muro circuito 1_off]
Do _sim_presenca_14 [p1_quarto srê conceição_off]
Clear Flag Flag01
End If
If you are using a flag to determine whether in vacation mode before deciding to execute responses or not, wouldn\'t it be easier to set it such that:
If SecurityMode = VacationMode Then
Do _sim_presenca_02 [p0_luz cozinha_off]
Do _sim_presenca_04 [p1_luz cozinha_off]
Do _sim_presenca_06 [p1_quarto susana_off]
Do _sim_presenca_08 [ex_varanda_off]
Do _sim_presenca_10 [ex_jardim suite_off]
Do _sim_presenca_12 [ex_muro circuito 1_off]
Do _sim_presenca_14 [p1_quarto srê conceição_off]
Clear Flag Flag01
End If
06-21-2007, 06:40 PM
Hi,
Here is the scenario:
On the vacation programs I have some responses (see attach).
This responses are just EIB light groups.
When the system is in vacation mode this light groups are turn ON and OFF randomly.
Until here everything OK.
The problem was - when the customer arrives home and disarm the system, all the lights that where ON remain ON
Here is the scenario:
On the vacation programs I have some responses (see attach).
This responses are just EIB light groups.
When the system is in vacation mode this light groups are turn ON and OFF randomly.
Until here everything OK.
The problem was - when the customer arrives home and disarm the system, all the lights that where ON remain ON
06-26-2007, 01:09 PM
Your solution should work then
When you arm to vacation mode, you set the flag by the vacation Mode response
when you disarm you check the flag and control the lights if it is on. That is a good pieve of programming
Does this work?
When you arm to vacation mode, you set the flag by the vacation Mode response
when you disarm you check the flag and control the lights if it is on. That is a good pieve of programming
Does this work?
07-02-2007, 06:06 PM
Yes, it works fine.