Alarm piston design help


#1

1) Give a description of the problem
problem I have is I have 2 out buildings that id like armed separately from the house. one outbuilding basically armed all the time and the other has occasional use.

I want to create a piston for both out buildings where I can arm and disarm separately and have them trigger the alarm separately and send me a message as to which has been triggered.

aim fairly new to webcore and have designed a few pistons but with this one I’m lost

below is the very early stages of the piston


#2

Perhaps use SHM states:

Armed (away) = all alarms armed
Armed (stay) = Just one building armed
Disarmed = both buildings disarmed

IF
SHM IS Armed (away)
AND
Any of motion sensors X and Y are active
THEN
send message the {$currentEventDevice} has detected motion

IF
SHM IS Armed (Stay)
AND
motion sensor X is active
THEN
send message the {$currentEventDevice} has detected motion


#3

thanks for your help once again.

iam trying this piston out which is basically for when i leave and arm the system

so i press arm and obviously when walking out the motion will pick me up. so i added a 25s wait to let me get out.

i was hoping this would work for intruder also. so for example someone brakes in and motion is detected, ( i will program in a warning beep later) after the 25sec wait and motion is still active iam hoping the alarm will then fire and txt the phones??


#4

You have a blank IF/THEN in the middle there.

Also, having the current arrangement, it will give you an entry delay, but the delay will cancel each time motion returns to inactive. An intruder would therefore need to trigger motion continuously for 25s to trigger the alarm, which is unlikely if they move between rooms.

Maybe:

IF
Motion IS active
THEN
… with location (TCP never)
… wait 25 seconds
… IF
… SHM IS Armed
… THEN
… sound alarm

In regards to an exit delay… what method are you currently using to arm the system? Button controller? ActionTiles? ST App?


#5

ok take number 2. at the minute iam using ST app on a tablet and simply just pressing armed/disarmed

i will more than likely move to action tiles once i get it all working correctly


#6

Click on the ‘with’ containing the wait, click the cog symbol, change TCP to ‘never’.

So you have a tablet on the wall with the arm / disarm buttons… that’s handy for the intruder lol… definitely move over to ActionTiles as you can password protect the tile.

Suggest you use a simulated momentary device to arm the system though… you can then build a seperate piston to delay arming and give you time to get out.

IF
simulated momentary tile IS on
THEN
with location (never cancel)
wait x seconds
set SHM to Armed.


#7

hahaha no the tablet is password protected

i wasnt sure what the tcp never meant

so my piston above should work fine for the home delay??


#8

Will work for arriving, not leaving.

That’s why I suggest delaying the arming function using a simulated switch.

Better yet… get some ST arrival sensors and arm / disarm the system automatically… that’s what HA / webCoRE is really about, not just a glorified remote control.


#9

great, robin thanks for your help with this, iam going home to experiment and see how it goes.


#10

so heres is what I have come up with and have tested them all and the seem to work fine.

I have 2 out buildings and I wanted to bet able to arm them separately so I created 2 devices in the ide and made 2 pistons which are below

next was the house alarm so I created another device in the ide called in house alarm and created the piston you suggested and I also created another for disarming.

next up will be to add my siren and dummy box, if you remember from another thread I got that dc adapter working for the leds and I have a d-link siren coming to put inside the box.

iam also thinking about action tiles for the tablet and an indoor siren, is there any indoor sirens you’d recommend???


#11

I use the d-link… it’s a good siren.


#12

hi Rob

need your help again, I got my d-link siren today but cannot get it to pair with smartthings, it isn’t even showing in things.

I have installed the device handler and still nothing.

any help would be appreciated


#13

Errr… it’s been over two years since I paired mine…

Can you run me through the steps you are trying and I’ll try to point out anything obvious.


#14

so, I installed the device handler first, plugged in the siren and simply went to things to try and find it but nothing is showing. on Smartthings forum they said it usually shows up as aeon siren but aim getting nothing.

is there a way to get the siren in pairing mode? I took the back cover off and discovered the tamper switch, aim now deaf


#15

You need to put the ST hub into inclusion mode first.

Go to the bottom of the ‘things’ list and click ‘add a thing’… should then start searching.

Then power up the siren and wait a few minutes… should pop up on the search list, give it a name and save.

If it doesent come up, press the round button on the back of the siren (not the tamper key unless you want that deafness to be permenant lol)


#16

Sorry… press that button 3 times, quickly within 1.5 seconds.

And manual is confusing, it says press the tamper key 3 times, but elsewhere in the manual it also says the round button can be used… try both I guess.

And if that fails, maybe it’s a return product and needs resetting (see steps in the manual)