[OBSOLETE] SHM Delay Version 2.0

I have Konnected.io for connecting up my existing alarm sensors. It also has it where you can output to a piezo buzzer. Until recently, it had only the ā€œbeepā€ function, but the continuous beep function was added as an ā€œalarmā€ functionality in ST. Is there a way to choose that function over the beep function for the delay profile setting for ā€œBeep these devices on entry delay (optional)ā€?

BTW, the setup for this was much easier than I originally thought and it works great!

The ā€œBeep these devices on entry delayā€ is designed to send a short loud beep command to one or more sirens as a warning.

Feel free to adjust module Shm Delay Child around line 427 to capability.tone, and again around line 449 to issue the alarm command rather than the beep.

It may be easier to set this up as a Webcore Piston

At line 427 change this to capability.tone to select other devices

input ā€œthesirenā€, ā€œcapability.alarmā€, required: false, multiple: true,
title: ā€œBeep these devices on entry delay (Optional)ā€

Thanks. I’ll give the WebCoRE rule a try. That might be more flexible, too.

Hi there. I am using a simulated sensor on my front door as my real contact sensor ( linked to a Z wave Fibaro multi sensor) on a profile delay and it wont let me use it . I have put simulated in the force accept field and that does not work. Also installed your beta version 2 from scratch and still no joy. Any thoughts ?

Sorry just got it working. Using Samsung note 8 and when inputting the force accept name you have to press done on the keyboard to get it to accept the name inputted
Thank you.

1 Like

Thanks for the great app. I have the entry/exit delays tested and need to work on the steps for the voice. I think that will get me countdowns? I noticed on the steps for that, that you say Exit Delay and Exit Delay and I think you mean Entry Delay and Exit Delay. :slight_smile:

18. Sound and Text to Speech (TTS) announcements

  1. Most sounds and TTS announcements can be performed with Big Talker 17, RemindR 5, or your favorite app, with two major exceptions: Exit Delay and Exit Delay.

Argajag, I am also using Konnected (been working on wiring and programming over the past couple of weeks). I can confirm that SHM Delay works for entry/exit delay with Konnected and the chirping works as well but it’s only on entry delay or when it is set to off. You don’t get the door chime when you have exit delay and you’ve set the system to armed. As such, since I always want the beep, I’m keeping the beeping through the smart lighting app instead. For the voice thing, I haven’t gotten that set up yet, but that’s my next step…I think it will work given the apps mentioned in step 18 in the documentation are available through the kindle app store (or apk’s are available elsewhere to get them side loaded). Otherwise you’d need a fully rooted device potentially where you could run play store. Everything is playing well with ActionTiles. I have the sensors that I view in actiontiles set up to look at the ā€œactualā€ sensors and not the virtual ones I am using for open/closed and then I’ve got the SHM native app for the armed (away)/armed (stay)/Disarmed toggle. I’ve got that tile locked with a PIN #. The one thing that stinks about action tiles is I would have to create different tile panels for different users if I want multiple PINS or a single panel with different user buttons on it and I’d lose real estate for the other stuff. So, for my front door (which is what any guest would be coming through), I am going to get an IRIS keypad so that I can maintain multiple user PIN codes. Also, the upside of that for me is the old 1st floor keypad location is in the dining room, so in the winter you had to try and get boots off quickly or track snow to get it turned off in time. The doorside IRIS will be a nice add-on for that reason and the tablet will be nice for monitoring status. The basement and upstairs keypads will be tablet only. BTW, once I get everything situated, I’ll put a ā€œsuccessful installā€ post on the konnected website forums with pictures and tips for new people, which hopefully will answer a lot of questions I had through the process. I still can’t believe Samsung doesn’t have entry/exit delays as a native option in SHM, but I’m really thankful that someone wrote an app to work around it!

Countdowns are problematic using a cloud based system, and will almost always be wrong due to internet delays and cloud computing delays. Would likely work well on something fully local, like Hubitat. The keypad’s entry/exit tones are a single hardware command for on and off, and generally work well.

Thank you for finding that error with the documntation. It was fixed.:smiley:

I manually loaded the Play Store onto two Kindle Fire 8’s that are not rooted. Once the play store app is installed you can download and install most anything in the store onto the Kindle Fire.
https://forum.xda-developers.com/sitesearch.php?q=kindle%20fire%20play%20store

Should you prefer an automoted approach:

2 Likes

Ooh, nice! Yeah I have an old original Kindle Fire HD 12.9 or whatever it was and then I have a Kindle Fire 7 that’s about a year old. I hadn’t tried anything since the old one, which required a lot more to get things going on it (I had only explored it because the lack of YouTube natively). I will see what version the big one is running for OS since that will be my bedroom ActionTiles device (less critical than other locations) and then the 7" is in my office upstairs (also not as critical). So, I’ll try on both of those. The other 2 tablets are an Acer and LG that are native Android. I ordered an IRIS that I’d like by the front door, because the 1st floor tablet (old keypad location) is in the dining room, which sucks when you’re tracking in snow to get to it.

What all is the LANNouncer TTS stuff used for then? I think I’m unclear on that/if I need it. Does it announce the type of alert that’s generated/zone etc.? I figured I’d just look at my phone or the tablets to see what’s alerting because the siren would be so loud anyway.

LanNouncer, available on Google Play Store, provides TTS support and tones on an Android or hacked Kindle tablets. Paired with Bigtalker and my SHM Delay app for special keypad states, it provides speech, that in my opinion brings the SmartThings system ā€œto lifeā€. I have this setup installed on 2 Kindle Fires and 1 old Android phone, mainly used for ActionTile displays.

For example: my system is armed in Away mode, the Front door opens, the Kindle near the front door and the other two Lannouncer devices speak ā€œPlease enter your pin on the keypadā€. This is in addition to both keypads sounding entry delay tones, and the siren giving a 1/4 second warning beep.

Should you have speakers connected to ST they may also be used for speech.

1 Like

I apologize in advance for this novice question, but I need a little clarification regarding keypads (I have bought one IRIS so far). Currently, I have ActionTiles and some old tablets, which are having issues with batteries, need cleanup, etc. In a nutshell, they aren’t reliable to stay on/behave in time to disarm the alarm, so I am just using my phone at the moment and via the ST classic app I’m just doing ARMED (AWAY), ARMED (STAY), and DISARMED via the dashboard for SHM. All that works and my entry and exit delays are working as expected.

For the IRIS, I am assuming that ON = ARMED (AWAY), PARTIAL = ARMED (STAY) and OFF = DISARMED respectively. But, I see things in notes related to the Routines like Good Night! etc. I’m unclear how that ties together with the device and smart app handlers related to the keypads. Can you clarify?

Right now, I have the device handler ā€œmichpond: Centralite Keypadā€ published (from repo) in my SmartThings IDE (also what does DTH stand for? Device Thing Handler? The acronym confused me).

In my SmartApps, I added from the repo both that were available (not sure what was needed), so I have ā€œethayer: User Lock Managerā€ and ā€œstatusbits: Smart Alarmā€ but I think maybe I don’t need either of those since I have SHM Delay already. In any case, since it was in the repo, I added it.

I’m a little unclear where I go from here as far as pairing/associating to app.

Also, for user PINs, I am not sure what to choose? Essentially I want the armed away, armed stay, and off to work from user PINs, but I’m new to SmartThings and have no idea what applies as far as Routines and Pistons that I need or may need? I would like to get to having the announcements on entry/exit with LanNouncer and if there’s a way to get things to announce on Alexa devices, that would be the actual goal, since I’ve now got those scattered about in most parts of the house.

Probably a typo there, but on = armed away, otherwise what you have written is correct.

Essentially, this smartapp ties one of the buttons on your keypad to the execution of a routine, but you have to set which routine (in the smartapp’s settings) and what action occurs when the routine runs (in the routine’s settings). For example, when the keypad ā€œonā€ button is pushed, that can cause a ā€œgoodbyeā€ routine to execute, and the goodbye routine sets your SHM state to armed (away).

As long as you are referring to the keypad DTH in @arnb’s GitHub repository then that’s fine. There is an older version of Mitch’s keypad DTH that doesn’t completely function with all the features of this smartapp. DTH = device type handler, which is the term ST uses for a device driver.

Correct, those smartapps are no longer needed. I recommend removing them from your hub.

Not sure what this means?

Also not quite sure what you mean here? PINs are set in the SHM Delay smartapp’s settings. You can have as many or as few as you’d like.

I don’t use lannouncer for TTS announcements, so I’m afraid I can’t help with that. I’m not sure if there’s a specific issue you’re having, but Arn can probably help if you have specific questions.

Yes, that was a typo. Thanks.

Ok, so I think the 2 above are related in my response, so I’ve quoted both together…
When you refer to ā€œthe keypad DTH in @arnb’s GitHub repositoryā€ the only one I see is ā€œarnbme : Internet Keypadā€ but I’m confused as I thought that that was just for a ā€œvirtual keypadā€ and not the physical ones? He also mentions the mitchpond github there for the testing. Is his just that code + additional features specific to the SHM Delay 2.0 smartapp, so the other isn’t needed anywhere but (maybe testing)?

As far as when you say to configure ā€œin the smartapp’s settingsā€ are you referring to the SHM Delay smartapp under sim keypad profile, or somewhere else? Are the keypad profiles 1 for 1 with the physical ones if you have more than 1 IRIS keypad in the house? Do they share a profile if they do the same things? How do multiple users work with that?

I’m referring to the ā€œCreate A New User Profileā€ under ā€œPIN Usageā€ it has the options of

  • User
  • UserRoutinePiston
  • Routine
  • Piston
  • Panic
  • Ignore
  • Disabled

In the documentation under paragraph 11 step #7, the following are listed, but the definitions added a little confusion, since my original thought was just that I’d be creating a ā€œUserā€ but the ā€œUserRoutinePistonā€ says that’s a user and then it can execute optional Routines, then executes optional Pistons. I didn’t know if I need those or not for what my end goals are with any announcements. I don’t think I need to say ā€œHi _____. Please disarm the alarmā€ or something user specific, so I would assume I don’t need optional routines or pistons… I just need the global routines to do whatever based on ON, OFF, PARTIAL on the keypad, I think?

Here’s what’s listed on #7 so you don’t have to scroll for it:
Set Pin usage

  • User - this is a person, pin arms or disarms SmartThings
  • UserRoutinePiston - this is a person, pin arms or disarms SmartThings. then executes optional Routines, then executes optional Pistons
  • Ignore - pin is treated as undefined
  • Disabled - pin is accepted but does nothing
  • Routine - pin is accepted and executes a Routine. Executes a unique Routine for Off, Stay(Partial) or Away(On) mode
  • Piston - pin is accepted and executes a WebCore Piston. Executes a unique Piston for Off, Stay(Partial) or Away(On) mode
    requires the full WebCore Piston’s external URL
  • Panic - pin is accepted and creates a SmartThings intrusion when global Panic is set to true
    Iris keypads and some Centralite keypads have a Panic key or setting

@arnb I would love to get your app working but am running into an issue. My setup is I have a thingshield connected to my Vista20P security panel and use a smartapp to create all the virtual contact sensors from that system in ST. It works great except every time I come home I get intrusion warnings because I don’t disarm until I open a door. It’s super annoying. I installed your app, but I cannot add the sensors because they are all simulated. I tried adding the 4-8 characters in that optional field but it doesn’t seem to do anything. Any thoughts or am I out of luck? Thanks a lot!

The last person that bumped into this needed to press done after entering the text in order to make it work

Start out with using pin type User
Catching up with your posts
Use the dth specified in the smartapp documentation and the default routines specified in global settings

I got the IRIS working ok and I’ve got 2 users set up as USER so that part is good. Is there a way to make the IRIS pads show the indicator constant lights like green for unarmed/orange for armed or whatever they normally natively do? It would be nice to have a visual indicator as a reminder before opening a door or after unlocking to be sure it unlocked. The beep with the higher pitched 2nd tone when it accepts a command appears to be the only indicator right now unless I’m looking at a tablet with ActionTiles or the Samsung app on my phone, but guests wouldn’t have the Samsung app.

Also, I got my new Fire HD 8 and ran the scripts with ADB that you recommended. That all went well and I now have the LANNOUNCER app installed. I’m looking at the steps in the instructions and I’m a bit confused. When I’m in SHM Delay and go to create a new talker profile, it is greyed out for LanNouncer/DLNA TTS Devices and for Speaker Devices. Do I have to establish the devices as being available somewhere else? I haven’t found that.

You have to set up the lannoucer device Handler for each tablet or Android device you want to talk. Check out the lannouncer website for all the documentation. You may also want bigtalker along with the talk profiles in shm delay. Between keypads talking and delays it’s a lot of stuff you have to accomplish take your time.