Turning off SHM hourly intrusion reminder


(Sam) #1

I’ve tried googling this and searching the forum but not much luck.
Has anyone found a way to turn off the SHM hourly intrusion alarm?
I saw some people posted API code to control it. But I’m not savvy enough to write my own code.
I am wondering if there is a way to write a CoRE piston that automatically “dismisses” the intrusion alert a few seconds after the intrusion is detected.

I like using SHM but the intrusion reminder is such a bad feature for me. I’m so sad there’s no way to configure the reminders.

Right now I base some of my automation on SHM status.
If we can’t figure this out I will basically reprogram all of my automation to edit out SHM. Which would be sad. But I am sick of dismissing the reminders every time a cat walking across my porch triggers a camera (for example).

Any help is appreciated!


(Robin) #2

There’s no API to dismiss SHM notifications / red alerts.

Just use SHM as a 3 position switch, blank shell if you like, and then use webCoRE to run the triggers, actions and notifications based on SHM ‘switch’ setting.


(Sam) #3

Thanks. That makes sense. Was hopefully by to avoid reprogramming but it shouldn’t be too painful.

I wonder how folks use SmartThings without core…


(Ray) #4

Painfully but not the end of the world compare to Wink.


(Brian Harding) #5

@Samwel
I draw a distinction between my indoor and outdoor devices. All of my indoor devices are in SHM as anything going on inside my house in the Away mode would indicate an intrusion, (except for false alerts), None of my external devices are included into SHM as any activity happening outside my home is interesting, no intrusion has happened at that point. So for those devices I use Custom Rules.
Therefore, a child, cat, dog, the mailman walking within range of my sensors and cameras will send me a notification and record a video of the event, it does not set off an intrusion alert.

Brian


(Sam) #6

I really appreciate all the thoughts.

It turns out that avoiding SHM triggers was not as hard as I thought at first. As Robin suggested, you can leave SHM ‘on’ so that you get the three button switch (disarmed, armed/home, armed away) but not set it to go off for any triggers. [Side not, if you disable SHM altogether, then you don’t get the three button switch.]

Then, all I had to do was trigger notifications in CoRE and light alerts in CoRE. The logic was pretty much:

IF SHM is Armed/Home AND [outdoor cameras detect motion, or door sensors change to open] THEN trigger push message and light alert. (Same code for SHM is Armed/Away, except I also include indoor cameras to the motion trigger.)

I have a separate piston which turns off the light alert after 5 minutes of no motion detected by the camera.

The one thing you lose is that SHM would tell you exactly which camera or sensor was tripped in the push message. With CoRE I think I can only send a generic message, unless I program 10 different pistons - one specifically for each camera or sensor, with a custom message. Not a big deal, since my Arlo Cameras separately push a notification when they are tripped, indicating which one detected motion.

Sam


(Robin) #7

If you’re using webCoRE you can put system variables in the message.

Example:
WARNING - The {$currentEventDevice} just triggered an Alarm at {$timeNow}.

You can also put expressions, functions and ternary operators in the message but I won’t go into that lol


(Sam) #8

Thanks. That makes sense. I installed webCoRE but haven’t moved my pistons over yet. “If it ain’t broke, then don’t fix it” kind of thing… but the additional flexibility would be useful.


(Steve ) #9

I know you said you won’t go into it lol
But could you give a basic example of a message that includes the expressions etc…


(Robin) #10

Ternary operator - (Condition ? True : False)

Example 1:
(count(doorsOpen)==0?”All doors and windows are closed”:(count(doorsOpen)==1?”The “ doorsOpen “ is open”: “The “ doorsOpen “ are open”))

Example 2:
$currentEventDevice " just left home and SHM is now armed. The current weather forecast: " $weather.forecast.forecast.txt_forecast.forecastday[0].fcttext_metric (max($weather.hourly.hourly_forecast[0].pop,$weather.hourly.hourly_forecast[1].pop,$weather.hourly.hourly_forecast[2].pop,$weather.hourly.hourly_forecast[3].pop,$weather.hourly.hourly_forecast[4].pop)<=‘30’?" You probably won’t need an umbrella.": " You should probably take an umbrella!")

image


(Steve ) #11

Thanks great examples there.
I think I need to pimp my messages up a little looking at them :slight_smile: