Simple Alarm Plugin

What about a device which sends out the warning before the real sirene goes off? By default you have 30s before the alarm goes off. But it would be nice to get reminded that this 30s are counting down. This could be done with a notification device which gets switched on.

In fact, if you try the xendapp notifications, you will receive an alert when the status become “Intrusion Detected” and the counter is starting.

I’m working on sending events when the status change, so that scenes should be triggered by the device. When this will be ok, it will be possible to start a scenario for each status.

This is a nice plugin. Will you be extending it to add more options?

Some of us have complex Security scenes (what you are calling Zones) - I have 7 security scenes (more coming soon)…

[ul][li]Away - Panic; any breach or motion triggers panic and notifications[/li]
[li]Vacation - Panic; like Away mode but adds a few more notifications[/li]
[li]Guest - no Panic; polite notifications if door sensors tripped (used for friends, house keepers, etc)[/li]
[li]Guest Secure - no Panic; loud notifications door sensors tripped for office, master bedroom, etc (used for Baby Sitters, etc)[/li]
[li]Stay - no Panic; all entry point door sensors trigger polite audio notifications[/li]
[li]Stay Secure - no Panic; all entry point door sensors trigger loud audio notifications (helps when little kids are awake in the mornings)[/li][/ul]

Also, it would be great to be able to have the Sirens chirp during IncomingTimerDuration.

I’m also an AuthomationHD user so when Garrett adds it that will be a bonus, but I could use it even without… just by using Multi-Switch to emulate.

thanks for contributing to the community!

Also, it would be great to be able to have the Sirens chirp during IncomingTimerDuration.

I think that’s more of a siren feature not controllable with the plugin. Maybe a second siren which is dedicated just for “chripping” ? Is this even a word :slight_smile: ?

Hi,

A new version has been approved (1.7).
I added events when the alarm status change. You can now create a scene and add a trigger for these events.

If the plugin is already installed, you’ll have to force the plugin update because I didn’t cheched the auto-update option when I created the plugin : http://Vera_IP:3480/data_request?id=update_plugin&Plugin=6036
If you prefer, you can do this from the marketplace, there is a french howto : [url=http://sbdomotique.wordpress.com/2012/07/12/forcer-mise-a-jour-plugin/]http://sbdomotique.wordpress.com/2012/07/12/forcer-mise-a-jour-plugin/[/url]

More information :
http:/empuk-blog.berriau.com/index.php/domotic-articles-en/9-domotic-en/4-veralite-simple-alarm-plugin-advanced-scenarii
[url=http://empuk-blog.berriau.com/index.php/8-domotique/5-veralite-simple-alarm-plugin-scenarios-avances]http://empuk-blog.berriau.com/index.php/8-domotique/5-veralite-simple-alarm-plugin-scenarios-avances[/url] (french)

eMpuk

For the moment I don’t have a lot of time to do this but I will save all the good ideas and, in the future I’ll try to extend the plugin.

Great enhancement with the events added.

For those that might have updated recently before 4/1, your plugin may also say 1.7. I just forced the update as op suggested and now it’s updated!

Great plugin!

[quote=“Aaron, post:23, topic:180140”]This is a nice plugin. Will you be extending it to add more options?

I’m also an AuthomationHD user so when Garrett adds it that will be a bonus, but I could use it even without… just by using Multi-Switch to emulate.[/quote]

Could I ask how your using Multi-Switch to show status on AutomationHD? Mine just shows “?”… is there some trick I’m overlooking?? :slight_smile:

This is great ! Neeat addition …

Because I want my blinders to go dowm and disable more plugs, so far, I do control the alarm plugin by running HTTP Calls

example :
luup.inet.wget("http://VERAIP:3480/data_request?id=action&DeviceNum=94&serviceId=urn:upnp-empuk-net:serviceId:SimpleAlarm1&action=Disarm)

This works well though this is not perfect and specially to check the status of the alarm I do have to store the actual state before calling the HTTP command…

Would you know an easy way to get the status by checking with LUA ?

Thanks

To get the status via http, you can do this :
http://VERAIP:3480/data_request?id=variableget&DeviceNum=30&serviceId=urn:upnp-empuk-net:serviceId:SimpleAlarm1&Variable=Status
or to get the status label :
http://VERAIP:3480/data_request?id=variableget&DeviceNum=30&serviceId=urn:upnp-empuk-net:serviceId:SimpleAlarm1&Variable=StatusLabel

And with lua :
local status = luup.variable_get(“urn:upnp-empuk-net:serviceId:SimpleAlarm1”, “Status”, SimpleAlarmDeviceId)
local status_label = luup.variable_get(“urn:upnp-empuk-net:serviceId:SimpleAlarm1”, “StatusLabel”, SimpleAlarmDeviceId)

[quote=“micasaverde”]That’s a great idea. We actually have already put in place the ability to do voice notifications. The firmware in Vera is tiny, so we didn’t put a SIP stack in each Vera. But, you can request voice notifications and it sends a secure message to the findvera server, which has a sip gateway to make the actual call, and a text-to-speech engine to read off the message to you (room, device that generated it, etc.). The gateway isn’t fully functional yet, but Vera is already doing it’s part.

The emergency button is something we didn’t think of. What was your intended use case? You mean like a Z-Wave remote an elderly person could carry which they could push if they fall or if there’s a burglar or something to have it call 911? Can you expand on your idea?[/quote]

You need to be running the alpha build of AutHomationHD to get the multiswitch support. It will be released to the beta group soon.

  • Garrett

It might be useful to have 2 distinct events for away. One for when it’s about to switch to arm in X seconds, and one for when it’s truly armed. I think the event right now for away is when it’s about to switch to away in X seconds.

No, the event is when the status really change. I’ll think about how to make an event when it’s about to switch to away in X seconds.

I see his point on providing an ‘in transition’ type warning. Though, as much as a blinking light, chirping sound is ideal (like a real alarm wall panel does), I don’t know if Vera has the ability to do something like that. You might be able to convince Garrett to add a function to the AuthomationHD UI (like a user definable # of seconds to blink that button light). To put this in the plugin itself, I’m not sure it can be done.

I’d rather see more user definable Scene options available.

I would suggest maybe a whole other siren to do the “chirp”.

I have my warning siren plugged in to a my downstairs closet and also covered the tweeter with some foam to muffle the sound. You can hear still, it is just not piercing.

For example, I use this muffled warning that the garage door will auto close (along with TTS). On for 3 seconds, off for 2 for three times in a row. Then fire for 10 seconds while the door is closing. I would typically use just TTS (plays on the Russound whole home audio)…but for something that might affect life safety, I figured having a another audible alarm would be beneficial.

It looks like there is now a trigger in the latest version when the alarm is tripped, but before the timeout expires. This should allow the chirp.

I then have 2 battery operated sirens (very loud) in 2 strategic areas of the home that I use when the timer expires in Simple Alarm.

hello thanks for your plugin

could you extand notification to vera alert or prowl

thanks

I have installed the Simple Alarm Plugin v1.7 but I cannot find any info on configuring it.

Especially since my Vera3 unit tells me if I attempt to change the Controlled via field to something other than the default.

Seems like a good idea but with no information on how to set it up or use it seems like a waste of someone’s good programming skills.

Help is requested as I really want this one to work.

SW

The first post had links to instruction. Use Google translate

Sent from my SAMSUNG-SGH-I747 using Tapatalk

Hello,

Is it possible to use the countdown in the “Arm away” mode when using an HTTP request like this ?
http://VERAIP:3480/data_request?id=action&DeviceNum=94&serviceId=urn:upnp-empuk-net:serviceId:SimpleAlarm1&action=ArmAway

Currently the countdown only works on the VERA interface.

[quote=“testeur765, post:39, topic:180140”]Hello,

Is it possible to use the countdown in the “Arm away” mode when using an HTTP request like this ?
http://VERAIP:3480/data_request?id=action&DeviceNum=94&serviceId=urn:upnp-empuk-net:serviceId:SimpleAlarm1&action=ArmAway

Currently the countdown only works on the VERA interface.[/quote]

Try “DelayArmAway”:

[code]function DelayArmAway()
local data = {}
data = readSettings(Device)

if (tonumber(data.awaytimer) > 0) then
setIfChanged(SERVICE_ID, “TimerAction”, “ArmAway”, Device)
StartTimer(data.awaytimer)
else
ArmAway()
end
end[/code]