Combine timer with kill-switch

Michiel Kenis 2 years ago in bOS Configurator / Tasks updated by Ricardo Pinto | visiontech pt 2 years ago 3

Hi there,

How do you guys combine a timer mechanism with a kill switch?

In my example, I have a ventilator placed in my shower and a timer-commando configured for this. After the light in the shower is turned off, the timer starts for 5 minutes and kills the ventilator after these 5 minutes.

I also have a kill-switch place next to my bed to kill all the lights. If I hit this button, the shower-light receives an "off" commando (although it's already off), and by thus activating the timer AND the ventilator.

How can I prevent this?





Probably your command / task is configured as to allow retrigger. So every time it gets an off trigger, the timer starts.

Don't know of it's the case, bug it looks like you may have something like:

Trigger: Shower light equals "false", AllowRetrigger

So every time the BUS gets an off, the task / command is retriggered.

You can remove the AllowRetrigger option, and test it out again.

Best regards 

Aha, this might be a good catch. I'll try later today. 

What functionality can I possibly lose? The "AllowRetrigger" option is sure good for something :-) 

In this case, probably none.

But there are several occasions where the AllowRetrigger is quite handy.

If you don't use the AllowRetrigger, and let's say you have a trigger = true, then that function will only happen when the trigger toggles from false to true.

Best regards