Smart Alarm 2.4 Is Available

Yes, you can disable status change notifications in the “Notification Options” menu. The “Good Bye” notification comes from the “Hello Home” app and cannot be disabled, AFAIK.

How do you silence an alarm? Say my phone dies and I walk in the house, how can I shut it off?

You can use compatible remote control (e.g. Minimote) to arm/disarm Smart alarm or to change mode using Button Controller app.

Any option to blink lights instead of just turning them on?

This question was answered previously, but the short answer is ‘no’.

I’m having an issue with the exit delay feature. I have the exit delay set to 30 seconds. I timed the exit delay many times and it ranges from 15-45 seconds. I am not including the time it takes to update the mobile phone app. Why is this so inconsistent?

BTW, I think your app is incredible! It is the heart of my home security system. I sent you a donation for your efforts.

-Andy

This is not an issue with the app itself but actually an issue with the architecture of the schedule system. There is really no guarantee under 1 minute that the schedule will execute timely. Over 1 minute things still fluctuate a little depending on the load on the cloud instances.

See section regarding: “Do not expect exact execution time in scheduled jobs” on http://docs.smartthings.com/en/latest/smartapp-developers-guide/scheduling.html

Granted @geko is using a custom myRunIn function that is calling runOnce, I could not find a lot of documentation on runOnce but it appears to be the same as runIn which is an extension of schedule() so I believe the above reference of scheduled jobs not having exact execution times is still valid. From what I have seen jobs less than 1 minute have the result to specified, jobs longer than 1 min tend to execute correctly.

This is great info, thank you! I will modify the code to
change the default delays to 60, 90, and 120 so I can guarantee 30-45
seconds.

-Andy

Is this up and fully opertional?

Mine is working amazingly well!

@geko When I enable pushbullet notifications I get notifications in triplicate on my Android smart phone from SmartThings for all of the Smart Alarm notifications. Any thoughts on why this might be and how I could fix it?

If you can check the “Live Logging” on the web-IDE. See if there are any NullPointer errors being thrown, typically when I see triple runs it occurs because there is a NullPointer error (It will be in all red) killing a partial function.

I checked the log and I am getting some errors when I get the triplicate notifications but not a NullPointer error. I would attach a screenshot but I’m a new forum user so I’m restricted from posting images. A MissingMethodException exception was thrown at line 1456. Which is an if statement releated to PushBullet:

if (settings.pushbulletStatus && settings.pushbullet) {
    	settings.pushbullet*.push(msg)
}

To be clear I’m using version 2.2.6 with the source pulled straight from GitHub.

Log text is copied below:

8:27:04 AM: error groovy.lang.MissingMethodException: No signature of method: java.lang.String.push() is applicable for argument types: (groovy.lang.GString$2) values: [Home alarm is Armed Stay.]
Possible solutions: use([Ljava.lang.Object;), plus(java.lang.Object), plus(java.lang.Object), dump(), each(groovy.lang.Closure), use(java.lang.Class, groovy.lang.Closure) @ line 1456
8:27:04 AM: trace Home alarm is Armed Stay.
8:27:03 AM: trace Deleting all scheduled jobs for InstalledSmartApp: ad14020b-a4dd-405e-9985-87980b38fa67
8:27:03 AM: debug Parse returned Chris Jornlin’s Android has left
8:27:03 AM: error groovy.lang.MissingMethodException: No signature of method: java.lang.String.push() is applicable for argument types: (groovy.lang.GString$2) values: [Home alarm is Armed Stay.]
Possible solutions: use([Ljava.lang.Object;), plus(java.lang.Object), plus(java.lang.Object), dump(), each(groovy.lang.Closure), use(java.lang.Class, groovy.lang.Closure) @ line 1456
8:27:02 AM: trace Home alarm is Armed Stay.
8:27:01 AM: trace Deleting all scheduled jobs for InstalledSmartApp: ad14020b-a4dd-405e-9985-87980b38fa67
8:27:00 AM: error groovy.lang.MissingMethodException: No signature of method: java.lang.String.push() is applicable for argument types: (groovy.lang.GString$2) values: [Home alarm is Armed Stay.]
Possible solutions: use([Ljava.lang.Object;), plus(java.lang.Object), plus(java.lang.Object), dump(), each(groovy.lang.Closure), use(java.lang.Class, groovy.lang.Closure) @ line 1456
8:27:00 AM: trace Home alarm is Armed Stay.
8:26:59 AM: trace Deleting all scheduled jobs for InstalledSmartApp: ad14020b-a4dd-405e-9985-87980b38fa67
8:26:59 AM: debug updating TS
8:26:59 AM: debug event from: Home, value: Night, source: LOCATION, description: Night
8:26:59 AM: trace getSuffix(), index: null
8:26:59 AM: trace prefix(changed’): Good Night. I changed

Can you modify that function to the following then post the log file again:

if (settings.pushbulletStatus && settings.pushbullet) {
    	log.debug "Pushbullet object: $pushbullet"
    	settings.pushbullet*.push(msg)
}

I have not worked with pushbullet objects but it appears to me that it isn’t registering what is in the settings.pushbullet value as an object and instead as a String. Since it is a string, there is no method of “push()” available.

Are you using this code: Pushbullet Notifier 1.2.1 for your pushbullet device?

What is this Button Controller app you speak of? Sounds amazing. Apologize in advance if this is a search fail.

How can the code be modified to require two Motion Detectors to go Active before activating Alarm? This is to prevent a false Alarm either from a pet or the Sun shining through the window.

1 Like

The button controller smartapp works with devices that have multiple “buttons” to let you assign an action to each button. So toggle a siren, but also you can one button press change the mode, or launch a hello home action, or turn on multiple devices at once.

Unfortunately, there are very few devices that work with it in the smartthings ecosystem. Many available keypads and remotes just don’t for various different technical reasons.

The Aeon Minimote is a very small four button zwave remote control which is popular and is sold in the SmartThings shop. You can often get multipacks cheaper elsewhere. The Minimote distinguishes between “pressed,” and “held” so you actually have eight events for the remount. This device is officially supported by SmartThings

http://www.amazon.com/gp/product/B00LDTEMJC/

http://www.homecontrols.com/AEDSA03202x_full.jpg

The smarten IT three toggle battery operated remote is a zigbee device which also works. Only three “buttons” but it has a different form factor from the mini mote, so it may be suited for specific situations, including wall mounts. This one is not yet officially supported.

1 Like

Chuck. Thanks for the suggestion but no dice. See the updated log below.

Yes, I’m using alex625’s pushbullet device type. I’m not using the pushbullet notifier smart app.

bc72e656-a59f-4c6b-9efd-b6918f7d0483 6:36:09 PM: debug Parse returned [['name':'switch', 'value':'off', 'displayed':false, 'isStateChange':false, 'linkText':'Aeon Siren', 'descriptionText':Aeon Siren switch is off], ['name':'alarm', 'value':'off', 'isStateChange':false, 'displayed':false, 'linkText':'Aeon Siren', 'descriptionText':Aeon Siren alarm is off]]
bc72e656-a59f-4c6b-9efd-b6918f7d0483 6:36:09 PM: debug rx BasicReport(value: 0)
bc72e656-a59f-4c6b-9efd-b6918f7d0483 6:36:09 PM: debug parse(zw device: 0A, command: 9881, payload: 00 20 03 00 )
93655db0-4c39-40d4-bbe9-f7bb78636c1b 6:36:06 PM: info SUMMARY EVENT data: [[icon:indicator-dot-green, iconColor:#49a201, value:1 closed, default:true]]
93655db0-4c39-40d4-bbe9-f7bb78636c1b 6:36:06 PM: trace data: [icon:st.contact.contact.closed, unixTime:1428622566573, backgroundColor:#79b821, name:closed, value:closed, lock:null, contact:closed]
93655db0-4c39-40d4-bbe9-f7bb78636c1b 6:36:06 PM: trace Fridge states: [[name:state, value:closed, data:{"contact":"closed","lock":null,"name":"closed","icon":"st.contact.contact.closed","backgroundColor":"#79b821","value":"closed","unixTime":1428622566573}]]
93655db0-4c39-40d4-bbe9-f7bb78636c1b 6:36:06 PM: info STATE EVENT: 'Fridge is closed', data:[contact:closed, lock:null, name:closed, icon:st.contact.contact.closed, backgroundColor:#79b821, value:closed, unixTime:1428622566573]
93655db0-4c39-40d4-bbe9-f7bb78636c1b 6:36:06 PM: trace setSolutionState()
93655db0-4c39-40d4-bbe9-f7bb78636c1b 6:36:06 PM: info contactHandler(Fridge Door, contact:closed)
03904da3-4b59-4e2e-bb07-95bb6984c9aa 6:36:06 PM: debug parsed 'zw device: 09, command: 2001, payload: 00 ' to [name:contact, value:closed, descriptionText:Fridge Door is closed, isStateChange:false, displayed:false, linkText:Fridge Door]
bc72e656-a59f-4c6b-9efd-b6918f7d0483 6:36:06 PM: debug Parse returned [['name':'switch', 'value':'off', 'displayed':false, 'isStateChange':false, 'linkText':'Aeon Siren', 'descriptionText':Aeon Siren switch is off], ['name':'alarm', 'value':'off', 'isStateChange':false, 'displayed':false, 'linkText':'Aeon Siren', 'descriptionText':Aeon Siren alarm is off]]
bc72e656-a59f-4c6b-9efd-b6918f7d0483 6:36:06 PM: debug rx BasicReport(value: 0)
bc72e656-a59f-4c6b-9efd-b6918f7d0483 6:36:06 PM: debug parse(zw device: 0A, command: 9881, payload: 00 20 03 00 )
380f39a9-4dd6-4835-9412-a0fe9d60bd59 6:36:06 PM: trace contactHandler(contact: closed), notifyWhen: Open
03904da3-4b59-4e2e-bb07-95bb6984c9aa 6:36:06 PM: debug parsed 'zw device: 09, command: 2001, payload: 00 ' to [name:contact, value:closed, descriptionText:Fridge Door is closed, isStateChange:true, displayed:true, linkText:Fridge Door]
bc72e656-a59f-4c6b-9efd-b6918f7d0483 6:36:03 PM: debug Parse returned [['name':'switch', 'value':'off', 'displayed':false, 'isStateChange':false, 'linkText':'Aeon Siren', 'descriptionText':Aeon Siren switch is off], ['name':'alarm', 'value':'off', 'isStateChange':false, 'displayed':false, 'linkText':'Aeon Siren', 'descriptionText':Aeon Siren alarm is off]]
bc72e656-a59f-4c6b-9efd-b6918f7d0483 6:36:03 PM: debug rx BasicReport(value: 0)
bc72e656-a59f-4c6b-9efd-b6918f7d0483 6:36:03 PM: debug parse(zw device: 0A, command: 9881, payload: 00 20 03 00 )
ad14020b-a4dd-405e-9985-87980b38fa67 6:36:02 PM: error groovy.lang.MissingMethodException: No signature of method: java.lang.String.push() is applicable for argument types: (groovy.lang.GString$2) values: [Home alarm is Armed Stay.]
Possible solutions: plus(java.lang.Object), use([Ljava.lang.Object;), plus(java.lang.Object), dump(), is(java.lang.Object), use(java.lang.Class, groovy.lang.Closure) @ line 1461
ad14020b-a4dd-405e-9985-87980b38fa67 6:36:02 PM: debug Pushbullet object: [1ecafcdd-af9a-4529-8849-0a7d1088a9c4]
ad14020b-a4dd-405e-9985-87980b38fa67 6:36:02 PM: trace Home alarm is Armed Stay.
bc72e656-a59f-4c6b-9efd-b6918f7d0483 6:36:02 PM: debug sending off
ad14020b-a4dd-405e-9985-87980b38fa67 6:36:01 PM: error groovy.lang.MissingMethodException: No signature of method: java.lang.String.push() is applicable for argument types: (groovy.lang.GString$2) values: [Home alarm is Armed Stay.]
Possible solutions: plus(java.lang.Object), use([Ljava.lang.Object;), plus(java.lang.Object), dump(), is(java.lang.Object), use(java.lang.Class, groovy.lang.Closure) @ line 1461
ad14020b-a4dd-405e-9985-87980b38fa67 6:36:01 PM: debug Pushbullet object: [1ecafcdd-af9a-4529-8849-0a7d1088a9c4]
ad14020b-a4dd-405e-9985-87980b38fa67 6:36:01 PM: trace Home alarm is Armed Stay.
bc72e656-a59f-4c6b-9efd-b6918f7d0483 6:36:01 PM: debug sending off
ad14020b-a4dd-405e-9985-87980b38fa67 6:35:59 PM: error groovy.lang.MissingMethodException: No signature of method: java.lang.String.push() is applicable for argument types: (groovy.lang.GString$2) values: [Home alarm is Armed Stay.]
Possible solutions: plus(java.lang.Object), use([Ljava.lang.Object;), plus(java.lang.Object), dump(), is(java.lang.Object), use(java.lang.Class, groovy.lang.Closure) @ line 1461
ad14020b-a4dd-405e-9985-87980b38fa67 6:35:59 PM: debug Pushbullet object: [1ecafcdd-af9a-4529-8849-0a7d1088a9c4]
ad14020b-a4dd-405e-9985-87980b38fa67 6:35:59 PM: trace Home alarm is Armed Stay.
fb3ba413-b661-4150-a3e8-d4063a631045 6:35:59 PM: debug updating TS
fb3ba413-b661-4150-a3e8-d4063a631045 6:35:59 PM: debug event from: Home, value: Night, source: LOCATION, description: Night
bc72e656-a59f-4c6b-9efd-b6918f7d0483 6:35:59 PM: debug sending off
5c92851a-e3b8-47c1-bb3f-1e84cda382d8 6:35:59 PM: trace getSuffix(), index: null
5c92851a-e3b8-47c1-bb3f-1e84cda382d8 6:35:59 PM: trace prefix(changed'): Good Night. I changed
5c92851a-e3b8-47c1-bb3f-1e84cda382d8 6:35:59 PM: trace settings: [disabledAutomationApps:[Someone Arrives, Everyone Leaves, Things Start Happening], salutation:Good Night., newMode:Night, disabledModes:[Away]]
5c92851a-e3b8-47c1-bb3f-1e84cda382d8 6:35:59 PM: debug HH execute(), newMode: Night

Ah okay, this is the issue recently introduced in the latest Android app.

@625alex Identified it first, if you remove the pushbullet notifications it should work. Also, if you get a copy of pre-1.7 Android app, or use an iOS device it should be fine.

No custom devices are currently working. They are giving the IDs and not the objects that we need.

Thanks Chuck. You are correct that if I disable the pushbullet notifications I only get one notification from Smart Alarm. Now I’ll go digging for more information on plans to get this bug fixed.

From my understanding there are currently no fixes or workarounds for this bug. I would imagine ST is going to be releasing 1.7.3 very soon to address the custom devices issue along with a few minor issues introduced in 1.7.

Hey guys - I’m just getting my feet wet with SmartThings. I’m trying to use this app with my aeon siren as a door chime. Is there a way to set this up so the alarm only goes on for a certain period of time?

@geko Just wanted to let you know that we have a goal of releasing Smart Alarm by the end of the month :slight_smile:

2 Likes

Sorry if this question was asked before, but I couldn’t find it. What happens if a contact is open when it arms?

1 Like