Smart Alarm 2.4 Is Available

How many zones do you have?

Two contact and three motion.

Something is not right. I have more than a dozen zones and never got timeout errors. Is it a fresh install or you’re upgrading from older version? The only thing I could suggest is uninstalling and re-installing the app.

Something strange has been going on the last 3+ nights.
Here are my logs:
921a2052-feac-476c-9535-9d854d2ca53a ‎10‎:‎47‎:‎59‎ ‎PM: debug Parse returned [Alarm Siren switch is off, Alarm Siren alarm is off]

921a2052-feac-476c-9535-9d854d2ca53a ‎10‎:‎47‎:‎59‎ ‎PM: debug parse(zw device: 13, command: 2003, payload: 00 )

9256690a-e08d-4654-9ecc-8adb36088198 ‎10‎:‎47‎:‎59‎ ‎PM: error java.util.concurrent.TimeoutException: Execution time exceeded 20 app execution seconds @ line 927

9256690a-e08d-4654-9ecc-8adb36088198 ‎10‎:‎47‎:‎38‎ ‎PM: trace Deleting all scheduled jobs for InstalledSmartApp: 9256690a-e08d-4654-9ecc-8adb36088198

9256690a-e08d-4654-9ecc-8adb36088198 ‎10‎:‎47‎:‎38‎ ‎PM: debug resetPanel()

9256690a-e08d-4654-9ecc-8adb36088198 ‎10‎:‎47‎:‎38‎ ‎PM: debug armAway()

9256690a-e08d-4654-9ecc-8adb36088198 ‎10‎:‎47‎:‎38‎ ‎PM: debug onLocation(Away)

87619ab3-b859-4991-b583-98f53a6c807d ‎10‎:‎47‎:‎39‎ ‎PM: error groovyx.net.http.ResponseParseException: OK @ line 180

73928ca6-2de2-483e-8f78-1a817bd2f2ca ‎10‎:‎47‎:‎38‎ ‎PM: debug Received off from Away Mode

73928ca6-2de2-483e-8f78-1a817bd2f2ca ‎10‎:‎47‎:‎38‎ ‎PM: debug Received on from Away Mode

87619ab3-b859-4991-b583-98f53a6c807d ‎10‎:‎47‎:‎38‎ ‎PM: error groovyx.net.http.ResponseParseException: OK @ line 180
I have seen the same behavior every night. I can eventually get the alarm armed, but it takes a little while before it works. It is about the same time every night. Any thoughts?

@geko
Will SmartAlarm tell me (push& text) exactly which door or sensor has been activated?

Using SmartAlarm can I have an entry delay on just one of my doors? Often I get the garage door open before ST knows that my Android presence sensor is home.

Any update from ST about making SmartAlarm official? @Ben

Thanks!

Yes, the notification message includes the sensor name.

Using SmartAlarm can I have an entry delay on just one of my doors?

Yes, delays are only applied to the zones defined as “entrance”.

Any update from ST about making SmartAlarm official?

Nope. Last time I’ve heard from them was over a month ago.

2 Likes

Timeout exceptions start happening when SmartThings backend becomes clogged up. Seen this happening last night with other app as well. SmartThings sets the app execution limit to 20 seconds, so when the database access is blocked (as is the case with accessing ‘state’ variables), the app stalls and gets killed by the runtime. Strangely, I’ve never seen this happen before migration to Cassandra took place few weeks ago, which was supposed to ‘fix’ this very problem.

1 Like

@geko
I have SmartAlarm installed, connected to lights and radio, waiting on siren to arrive today.
When the alarm is activated is there an option for the siren / lights to automatically turn off after X number of minutes ?

Before SmartAlarm I had my lights and radios set to turn off 10minutes after a door/motion sensor is activated.

Thanks

The alarm is reset 3 minutes after activation. It’s not configurable.

SmartAlarm is reset but this does not turn my lights / radio / siren off.

I’m mainly thinking about the false alerts that come with ST. ie if my ST motion sensor goes off for no reason then my SmartAlarm will be activated turning on my lights and siren until I get a chance to turn them off which could be hours.

When the alarm is reset, the sirens and switches are turned off, except the switches that were on before the alarm was activated. Make sure you’re using the latest version - 2.2.1.

I’m using 2.2.1
In my Activity Feed I see Smart Alarm send the ON commands, after 3 minutes it goes back to Arm Stay but no OFF commands are sent? Is it set up to only turn the lights and siren off after 3 minutes in ARM AWAY mode? If so very smart.

I have been testing in Arm Stay because my old system is still attached to AWAY mode.

Thanks!

Here’s the code:

def resetPanel() {
    TRACE("resetPanel()")

    unschedule()
    alarms*.off()

As you can see, alarms should be turned off whenever resetPanel is run. This code has not changed since version 1.0, I believe.

I power cycled my ST hub and it’s still not showing any OFF commands at the end of the 3 minutes. ie lights stay on.
I’m using an iPad, could I have something set wrong?
Thx

I’ll look into this when I have a chance. Recent ST platform updates seem to cause some instability. Just saying…

1 Like

When I look at my siren’s event log in IDE (https://graph.api.smartthings.com/device/YOUR_DEVICE_ID/events), I see this every time the alarm is reset:

2014-12-08 2:29:15.823 PM PST APP_COMMAND off Smart Alarm sent off command to Hallway Alarm

I uninstalled the SmartAlarm app and reinstalled, still doing the same thing:

Turns light on but not off.
Thanks

I see… I thought you’re talking about a siren. I haven’t tested the switches recently, but I’m pretty sure they worked a month or so ago. Will test again.

I put a pillow over my new siren and tested it, SmartAlarm turns it off after 3 minutes but not my lights.
Would it be hard to have all the lights come on at 100%?
Thanks