[OBSOLETE] Smart Alarm is here

Do I have to use all of the buttons on my Minimote for Smart Alarm or is there a way to deselect the first three buttons and only use button 4 for the panic? I have tried this and though it allowed me to deselect the first three buttons after I clicked ‘Done’ I went back in and all four buttons still had an action assigned for the Smart Alarm. Currently I only have one Minimote and was hoping to use just button 4 for the panic. Any thoughts, ideas?

I would like to add two questions. Can I use more than just one Minimote? I know I’m duplicating a question asked before but I do not remember seeing an answer. Is there any way to add the ability to blink certain lights while still turning on other lights?

Thank you

Yes, you can use any of the four buttons selectively. After you uncheck the buttons in the “Configure Remote Control” menu, make sure to tap “Done” until the app closes.

Yes, you can use multiple remotes, but the button settings will be same for all of them.

Thank you for the response but that does not work for me. When I add a Minimote then deselect one or more buttons for use with Smart Alarm and tap done until the app closes then go back in to verify the Minimote is still added but all the buttons show as selected. I tried deselecting all the buttons, three buttons, etc. but no luck. Am I missing something?

Cool, I will try this later today as I am receiving more of those remotes.

I certainly don’t want to sound pushy but I am still curious about the flashing lights. I understand the lack of time people have in life and we as a community enjoy the work of people able and willing to create SmartApps in ST. I do not want to seem ungrateful for that work as I really like this app you made.

1 Like

You can verify that the buttons are disabled by looking at the app state in IDE. Go to My Locations, click on “smartapps”, then click on “Smart Alarm”. Scroll down to “Application State” and look up “buttonAction” variable. When you disable buttons 1, 2, and 3, you should see only “{4=panic}” in the Value column. I tested it and it works. I’m not sure while the configuration page still shows that all buttons are enabled. I’ll investigate when I have a chance.

I certainly don’t want to sound pushy but I am still curious about the flashing lights.
[/quote]

Implementing robust flashing lights is not trivial given SmartThings API limitations and I don’t want to risk introducing instability in the app at this point. If I remember correctly, this feature is currently broken in the SmartThings native “Smart Security” app. My preference would be to implement this feature using a companion app triggered by a virtual switch.

EDIT:

There actually is “The Flasher” Convenience app available in SmartApp Templates (in the IDE). You can also install it using mobile app, but it’s buried under “Add Motion Sensor” section for some mysterious reasons.

Smart Alarm Version 2.2.5 is available.

###What’s New:

  • Take camera snapshots when alarm is triggered.
  • Send Pushbullet notifications using Pushbullet device handler developed by @625alex.
  • Added optional PIN code for arming/disarming via REST API.
  • REST API is now disabled by default. You can enable it in the “REST API Options” menu.
  • Miscellaneous bug fixes.

Smart Alarm can be installed from the Shared Apps catalog in SmartThings IDE (look for “Smart Alarm V2.2.5” in “Safety and Security” category) or from the Github repository.

Visit Smart Alarm home page for more information.

3 Likes

I verified in the IDE and see the same thing with the minimote, thanks for the information.

I’ve updated to the new version as well, thank you.

Quick question, what is Pushbullet?

What is the correct syntax to disarm/arm using REST call? I tried to link the url calls to the Action dashboard by Alex but I get a status reply and that takes focus from the dashboard.

{“status”:“disarmed”,“alarm”:false}

https://www.pushbullet.com

That’s a correct response. See here: https://github.com/statusbits/smartalarm.

For arming/disarming with PIN code, use, for example, BASE_URL/disarm/123456 (assuming your PIN is 123456).

Thank you! One more question for today :slight_smile: If mode is set to Away/Home manually, ie from a dashboard or from the ST app, will the entry/exit delay still apply?

Yes, it does not matter how you arm it - using mode change, remote control or rest api.

Ok, that makes it a whole lot simpler. I was overthinking the whole bit by trying to use the rest api when all this time I could just have been setting the mode and be done with it, entry and exit delay intact!

Yes, that’s the idea. Also note that modes can be changed by “Hello Home” actions.

@geko I’m getting a lot of false alerts with this app lately. I updated to the latest version but I’m still getting sporadic notifications for movement when the alarm is disarmed. The house is in Home mode yet I’m being told there’s motion in one room or another every once in a while. Inside the app, it is showing as Smart Alarm is disabled.

When I updated the app to 2.3 from 2.0.0, I only updated it in the IDE and didn’t uninstall / reinstall within the ST app. Let me know if you need any info, but I may have to remove this from my system for a while due to the WAF (wife acceptance factor).

Please use version 2.2.5 from the “Shared Apps” in the IDE. This is the current stable version. Also, if you’re upgrading from 2.1.x or earlier, I strongly recommend uninstalling the old version first.

I use Smart Alarm on a daily basis and have not had any false alarms. Are you sure those are coming from Smart Alarm and not from some other app. If you capture your logs, I can have a look.

Thanks for the info @geko. I didn’t know there was a shared version. I was simply importing your git code into the IDE and publishing it for me. I’ll revert back to the prior version while uninstalling first.

I hadn’t even thought about the notifications possibly coming from another app. I poked around I do have motion alerts set within the dashboard, and just like your app it’s set to only fire during Vacation and Away modes. Unfortunately I don’t know if the false notifications are from your app or the dashboard. So in order to track this down, I’m going to remove both your app and the dashboard setting, then only set up one from scratch.

I should have an idea which is the culprit in a few days. If I see its your app, I’ll let you know. Thanks for getting back to me!!

Smart Alarm alerts are always in the format "Alarm at <LOCATION>! <SENSOR_NAME>". If it’s something else, then it’s not from Smart Alarm.

Ah, then we’re absolutely coming from the Dashboard. My notifications have been "There is motion in the at ". Talk about a super-simple way to debug! Thanks so much @Geko. You’re one of the reasons having ST is awesome. Looks like I’ll reinstall your app now with the stable / shared 2.2.5 version.

1 Like

I just added the Multi Sensor to my back sliding glass door for open/close and for the vibration sensor if someone were to break the glass instead of just opening it. I have ST set to text me on vibration but I want to add it to your Smart Alarm but didn’t see a place for that particular sensor (vibration). Am I missing something or if not is there anyway that could be added to Smart Alarm? I’d love for it to kick off the alarm if someone breaks the glass.

Thanks

1 Like

Not without modifying the app. I’ll try to get it into the next version or feel free to add it and send me a pull request.

1 Like