Page 1 of 1

Event for Shed Intruder Alarm

Posted: Tuesday 28 June 2016 17:09
by TheBod
Hi all

I would like to create a blocky event to control a very basic intruder alarm system. The hardware would be;-

Lightwaverf JSJSLW904 Magnetic Switch - attached to shed door
Konig SAS-SA200 Wireless Smoke Alarm - installed within utility room


I would like to create the event so that;-
If - after Sunset and before Sunrise
and - Magnetic switch Open
Set - Smoke alarm On for 15 minutes
Send - email to email account


This is very basic and easy to create however I would also like to add the following logic;-
- If after 15 minutes the magnetic switch is still open, sound smoke alarm for another 5 minutes, then another 5 mins etc
- If at sunset the shed door is open (Magnetic switch open) i.e. I have left door open, then sound the smoke alarm at maybe 1 second intervals until closed

I obviously would also like to add some form of resetting the alarm apart from just closing the shed door, maybe using a RFID tag or even another switch (JSJSLW904 or other).

Does anyone have any ideas on the above.

I would also like to eventually replace my wired alarm system with a Domoticz built system so this would provide a good starter and platform for bigger projects.


Thanks

Re: Event for Shed Intruder Alarm

Posted: Wednesday 29 June 2016 17:51
by TheBod
Might not be so simple???

Re: Event for Shed Intruder Alarm

Posted: Wednesday 29 June 2016 22:23
by JuanUil
maybe, you could search the forum first and start your own project and THEN if you got any problems you could ask for help. better then an open question like this.

Re: Event for Shed Intruder Alarm

Posted: Thursday 30 June 2016 9:16
by TheBod
Already have and looked through all the blocky's on google

Re: Event for Shed Intruder Alarm

Posted: Thursday 30 June 2016 9:27
by dervogt
this might help you:
http://www.domoticz.com/wiki/Event_scri ... 10_minutes
or this might help as well:
http://www.domoticz.com/wiki/Alarm
it is a script example which detects the door status and takes action upon a set condition

Re: Event for Shed Intruder Alarm

Posted: Thursday 30 June 2016 10:10
by TheBod
Thanks dervogt. I will take a look this evening. Is there anyway of doing this using blocky as I have not learnt Lua yet?

Re: Event for Shed Intruder Alarm

Posted: Thursday 30 June 2016 10:55
by dervogt
I do not believe so, I am struggling to set a conditional timer for an outside lamp in Blockly and therfore very quickly went to LUA scripting for this purpose, but there are a lot more 'experts' than me who just migrated from Homeseer a few weeks ago