Hi, I need help with 60 vents control in administration building.
One off vent 6/1/0 need to be controlled with lights 3/0/7,3/0/9, 3/0/11 or 3/0/13. When one of this lights is switched ON more then 5 minutes, or all off lights are turned to OFF, then I need to switch vent ON for time that can be set over group adress 11/4/1 in seconds.
We can help with the modifications but you need describe the vent logic in more detail:
Is the timer setting global for all vents or adjustable for each vent separately?
What should happen if the light switches on while the vent is already running? Should the timer continue running or stop?
What should happen if the light switches off while the vent is already running? Should the timer continue running as is or should it reset to the starting value?
We can help with the modifications but you need describe the vent logic in more detail:
Is the timer setting global for all vents or adjustable for each vent separately?
What should happen if the light switches on while the vent is already running? Should the timer continue running or stop?
What should happen if the light switches off while the vent is already running? Should the timer continue running as is or should it reset to the starting value?
Hi,
thaks for your answer. I look for scripts, but I need help with edit this script.
Time is same for all vents.
In both of case we want to retrigger running time and then switch off.
16.10.2024, 07:21 (This post was last modified: 16.10.2024, 07:54 by 2MAX.)
(16.10.2024, 07:16)admin Wrote: Works for me. Do you have it as resident script with 0 sleep time?
Enable logging for 0/1/1 and 0/1/2. Setting 0/1/1 to OFF should immediately set 0/1/2 to ON for 10 seconds.
Yeah, it works, I have 60s time. Thank You
(16.10.2024, 07:21)2MAX Wrote:
(16.10.2024, 07:16)admin Wrote: Works for me. Do you have it as resident script with 0 sleep time?
Enable logging for 0/1/1 and 0/1/2. Setting 0/1/1 to OFF should immediately set 0/1/2 to ON for 10 seconds.
Yeah, it works, I have 60s time. Thank You
Code:
123456
groups = {
--samples
{ tag = 'my_group_and', output = '4/0/0', mode = 'and' },
{ tag = 'my_group_or', output = '4/0/1', mode = 'or' },
{ tag = 'my_group_avg', output = '4/0/2', mode = 'avg' },
}
I dont understand what mean "my_group_or", it is possible to 4 adresses in this place to compare OR like this : tag = '3/1/10', '3/1/20', '3/1/24' , '3/1/47' ??