Burglar Alarm delayed arm & reset

345 views
Skip to first unread message

DavidL

unread,
Feb 15, 2017, 3:14:11 PM2/15/17
to loxone-...@googlegroups.com
Hello,


I'm working with a small system we put in this week, and I've got a scenario I can't logically think of a way round.


We're using an input to trigger the alarm function block to arm the alarm with a 30 second delay. This allows the home owners to set the alarm, and exit the house without it going off.
This is all well and good in most scenarios. However my client has asked about disarming the alarm within that 30 second countdown time, for a "just in case" whereby they might have forgotten an item, etc.
I thought this would be a fairly simple thing to do, by just sending a signal to disarm the alarm. In this case I've tried using the R input as "Single pulse disarms the alarm", as well as the TR input to do similar.
What I'm finding is that the alarm block doesn't take this input signal and do with it what it's supposed to do. The alarm delay countdown still remains active and ultimately sets the alarm. It's like there's not a way to stop the delay timer.

Does anyone have similar experience or an alternative way to do what I'm trying?
I'm sure I could create my own countdown timer, and just arm the alarm after that has reached its end point, but that seems a little convoluted when the alarm function block should be able to handle this.

Thanks for any help.

David

Nick Brown

unread,
Feb 16, 2017, 3:44:15 AM2/16/17
to Loxone English
Hi, to get the alarm function working more like a traditional intruder alarm system takes a lot of programming with mostly Logic and Memory flags.  Below is the section I have which will allow you to disarm when the alarm is arming or armed and uses the alarm states for Arming and Armed memory flags, the delay is set to 10 seconds as I'm using the iButton and it needs a delay before you can allow disarming during exit, you won't need that part.  I have a total of four tabs of logic which gives me functions such as entry routes, buzzer for exit, pulsing buzzer for entry, flashing green LED for arming, red for armed, etc... so it takes quite a lot to set it all up.

Auto Generated Inline Image 1

DavidL

unread,
Feb 16, 2017, 5:23:00 PM2/16/17
to Loxone English
Thanks for the insight Nick.

I actually found my issue was a bit of bad logic on my part.
I am now on to page 2 of logic to try and keep things tidy, but I think I need to spend a good few more hours to get it to a fully useable state.

I think the main issue with the alarm function block at the moment, is the TR input will directly arm and disarm the alarm, but with no delay on the arm. This, I'm sure you're aware, means you have to use the V and R inputs. This would be fine if you're using separate routines, switches or buttons for each, but the issue is compounded if you're using one trigger to both arm and disarm the alarm.

David

Nick Brown

unread,
Feb 17, 2017, 2:45:19 AM2/17/17
to Loxone English
Hi David, I use V & R with one input (iButton) for both, below are some more screenshots of my programming that achieves this, hope it helps...


Auto Generated Inline Image 1
Auto Generated Inline Image 2

Simon Still

unread,
Feb 17, 2017, 6:33:17 AM2/17/17
to Loxone English


On Wednesday, 15 February 2017 20:14:11 UTC, DavidL wrote:

We're using an input to trigger the alarm function block to arm the alarm with a 30 second delay. This allows the home owners to set the alarm, and exit the house without it going off.
This is all well and good in most scenarios. However my client has asked about disarming the alarm within that 30 second countdown time, for a "just in case" whereby they might have forgotten an item, etc.


I don't have an alarm but I do have an 'away' button that turns off lights and audio and sets a few things (like ventialtion) to 'low'.  

The away button starts a 30 second timer before activating.  During that time a green LED mounted in the door bell case flashes, at the end of 30 seconds it goes steady.  Away mode is turned off when re-entering the house.  There's often a 'quick return' and I didn't want that require disable  and re-enable of the away mode so nothing happens for 30 minutes after the mode is set.

It's a bodge but could the alarm give the impression of being set but not actually be enabled for 5/10/15 minutes after setting?   

DavidL

unread,
Feb 17, 2017, 12:57:18 PM2/17/17
to Loxone English
Thanks again Nick.

Very insightful. It's also interesting to see the different approaches to programming. For instance, I'm using a counter and pulse generator to do what you're doing with the edge-triggered wiping relay. I must admit, that your logic is far simpler to follow, and I think I'm going to start from scratch as it's starting to get a bit unwieldily.

Can I ask what sort of delay you've got set on your disarm routine whilst the alarm is arming?

David

Richard Cripps@Warwickshire Smart Homes

unread,
Sep 19, 2019, 4:04:28 PM9/19/19
to Loxone English
Hi Nick, 

Ive just discovered your post as i'm currently doing something similar but instead of a iButton using the NFC code or tag any idea how id go about this or advise?

Thanks!!
Reply all
Reply to author
Forward
0 new messages