Delay for Intrusion Alert in SHM - Success!

How would I cancel a piston though? So say I have a15 second timer before alarm triggers. How can I set it so when I disarm my system it cancels the timer and piston all together.


This is how I had it set up to start no virtual switches yet. Didnā€™t know if I could go without them.

1 Like

That did it. Thank you so much for you help!!! Canā€™t tell you guys how much I appreciate the help.

Could you help me again real fast? I got it work but for some reason it doesnā€™t work for the alarm in away mode. I have it set up exactly the same at my alarm away and no luck. Just doesnā€™t seem to activate.

Iā€™m having trouble with the siren. Itā€™s going crazy on me. The delay to enter with the simulated sensor seems to be working fine. I took off siren on one so I can work on it.

Ya I have that area check. Sometimes the alarm beeps and sometimes it doesnā€™t. In the recently it says thatā€™s itā€™s being turned on by the piston. Should beep for a second then stop and beep again but it just continuously beeps or double beeps then single then conitunious. Random it seems. Ahh itā€™s driving me insane. Hammer might be getting used.

It was doing that but now it seems to not work for either. Just going crazy. The piston itself works fine with the entry delay but when it comes to having the siren beep it seems to then start going wrong. Could it maybe be the driver for the alarm that causing this?

BTW love the SpongeBob reference!

Thatā€™s seems to be it. Set it to beep then stop after one second. Now it beeps then beeps again 4 seconds later. Didnā€™t mean to set it like that but hey Iā€™ll take it. So would you say maybe getting a better router might help with issues like this?

Can someone please help a newbie setting up a front door delay using CoRE.

I have successfully added the simulated contact switch device and can directly set it when the Front Door opens with CoRE.

What I canā€™t find is an option to set the simulated switch in the ā€œSmartthings add a routineā€ so I can execute a routine in location mode with the delay.

Easy thing to do is just use the simulated contact as the actual trigger sensor for SHM.

CoRE Latching Piston

If actual contact changes to open
Then using simulated
Wait x seconds
Open

But if actual contact changes to close
Then using simulated
Close

Thank you for the quick and accurate response. I have it working.

My initial non functional newbie attempt had
Using Simulated FD Sensor
-> wait 15 seconds
Using Simulated FD Sensor
-> Open

Here is what Iā€™m trying to do, just delay the front door sensor and garage door sensor until I can turn of the main alarm panel, once that disarms it syncs with SHM and disarms that also. Right now it gives me an intrusion right away before I can disable home alarm.

I created a virtual switch now I just need to figure out how to add those 2 sensors to it and delay them for SHM to sync.

Any help would be great.

I used two Core Pistons with an Xfinity 3400-x Keypad. Change SmartHome to monitor the virtual contact sensor, remove monitoring of the real sensor

Create Piston1
Front Door Opens Piston type:Then If
Restriction: run only if alarm state is Armed/Away or Armed/Home
If Front Door Contact changes to open
==when true==
Using Xfinity Keypad
setEntryDelay(25)

Then
Follow up with ā€œFront Door Opens Follow Upā€ in 25 seconds

Piston 2
Front Door Opens Follow Up Piston type: Follow-Up
Restriction: run only if alarm state is Armed/Away or Armed/Home
Using Simulated Contact Sensor (monitored by Smarthome)
Close
Open
Wait 4 seconds
Close

1 Like

I have a DSC alarm system/keypad and Iā€™m running the SmartApp AlarmServer which sync with SHM. Can I set SHM to monitor all devices and than for just these 2 devices it delays entry?

I really donā€™t know anything about alarm server however if it sets the status of smart home you should be golden. In piston1 remove the 2 statements with the set entry delay, add the garage door to the if and you should be good to go. Remove garage door and door monitoring from Smart home, monitor the simulated sensor in Smart Home

I am brand new to Core, so when you are saying remove and add piston, I have no idea what that means, but Iā€™m learning. So how exactly would I use Core to do this?

I have another way to attack this.

Regardless of the security state of SHM, if I or my wife unlock the door it is not a security breach.
Therefore, Iā€™m gonna write a piston with this basic structure:

If
Absent any other sensors being breached,
(
Lock opened with any valid user code
Or
Lock opened from inside
Or
Lock opened programmatically
Or
Lock opened with valid presence sensor
)
And
Front door contact sensor opens
Then
Virtual frontdoor sensor remains closed.

If
Lock is forced
Or
Sensor opens while lock remains locked
Then
Virtual frontdoor sensor opens.

And I will take the actual front door sensor out of SHM, and replace it with the virtual frontdoor sensor.
Because I donā€™t need my alarm going off just because one of us took the trash out the front door without disarming the system.

In your programming logic, just prior setting a virtual contact sensor to open status it should be closed to insure an open state event occurs, then closed again in a few seconds. That is how it is done in my SHM Delay SmartApp,

Personally, if I had smart door locks I would not trade a real locally processed contact sensor and convert it to a virtual cloud contact sensor. However, I have an indoor keypad so I must open the door, program a simulated delay, and use a cloud sensor.

I found presence sensors (smartphones) a totally unreliable method for arming and disarming SmartThings. I traded them in for a keypad. YMMV, particulary with an RFID tag.

The only guy who has the ability to see my front door lock via telephoto lens already has an emergency key lol Heā€™s actually going to lose the key, in favor of a code.

And replicating the ST presence sensor? I donā€™t travel public transit, and virtually no one in my professional circles has either the tech knowledge to do it or the incentive to want to. So forgive me, I know your intent is good and I thank you but those concerns are a bit much for my situation.

arnb, thanks to you also. I like that programming logic, and will include it in the piston.

1 Like