# Automated SHM arming in new SmartThings App

**URL:** <https://community.smartthings.com/t/automated-shm-arming-in-new-smartthings-app/202368>\
**Category:** SmartApps & Automations\
**Created:** [August 16, 2020, 11:57am UTC](https://community.smartthings.com/t/automated-shm-arming-in-new-smartthings-app/202368 "2020-08-16T11:57:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mejifair](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/mejifair/32/96799_2.png) [@mejifair](https://community.smartthings.com/u/mejifair)\
**Post date:** [August 16, 2020, 11:57am UTC](https://community.smartthings.com/t/automated-shm-arming-in-new-smartthings-app/202368/1 "2020-08-16T11:57:50Z")

</div>

I have been using the new app for a couple of weeks now, and one of the things I just realized last night is that there is no way to “arm” SHM through a manual activation of a scene or automation. In the Classic app, when I pushed “good night” it would also arm the system, but I can’t manually execute automations, and I cannot “arm” SHM through a scene.

Am I doing something wrong? I don’t like having to manually execute the “good night” scene, and then have to manually arm SHM as well.

---

<div class="post-metadata">

**Author:** ![orangebucket](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/orangebucket/32/81590_2.png) [@orangebucket](https://community.smartthings.com/u/orangebucket)\
**Post date:** [August 16, 2020, 12:19pm UTC](https://community.smartthings.com/t/automated-shm-arming-in-new-smartthings-app/202368/2 "2020-08-16T12:19:42Z")

</div>

> [@mejifair](#):
>
> Am I doing something wrong?

Not as such.

Scenes can’t include actions for the security mode so to replace a Routine will always need more than a single Automation and a single Scene.

So, for example, you can manually arm STHM by having a scene set a virtual switch and that switch triggering an automation that arms STHM. There are various approaches but they always need at least one extra component to glue things together.

---

<div class="post-metadata">

**Author:** ![DaWeav](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/daweav/32/109130_2.png) [@DaWeav](https://community.smartthings.com/u/DaWeav)\
**Post date:** [August 16, 2020, 12:19pm UTC](https://community.smartthings.com/t/automated-shm-arming-in-new-smartthings-app/202368/3 "2020-08-16T12:19:46Z")

</div>

Here’s my option.

I created three Automations for Armed Away, Armed Stay, and Disarmed, then these three Automations are defaults to setup what happens when the SmartThings Home Monitor (STHM) mode is triggered due to some other Automation, like a virtual switch in my case is on/off, or if I manually trigger the Security Mode change via the app by tapping on one of the three STHM settings.

Here’s an old post that shows my original configuration which I’ve tweeted just a bit since I posted it, but it shows these three STHM Automations.

> [@Automatically arm smart home monitor](https://community.smartthings.com/t/automatically-arm-smart-home-monitor/124104/62):
>
> I have migrated over to the SmartThings Home Monitor in the new Connect app and got around some of the SmartThings Home Monitor’s restrictions/limitations with this setup. First, I use a Virtual Switch named ‘Home Security’ for setting the SmartThings Home Monitor mode which then sets the Home & Night Location modes. I also use the ‘Home Security’ Virtual Switch so I can use Alexa or Google Home voice commands to enable Armed Stay and Disarm the SmartThings Home Monitor via voice command. "Alexa, turn on Home Security", "Alexa, turn off Home Security". Home Security Switch Off If Control device, Home Security = Off Then Change Security Mode = Disarmed Home Security Switch On If Control device, Home Security = On Then Change Security Mode = Armed (Stay) Then these three Automati…

---

<div class="post-metadata">

**Author:** ![mejifair](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/mejifair/32/96799_2.png) [@mejifair](https://community.smartthings.com/u/mejifair)\
**Post date:** [August 17, 2020, 6:33pm UTC](https://community.smartthings.com/t/automated-shm-arming-in-new-smartthings-app/202368/4 "2020-08-17T18:33:09Z")

</div>

Super Stupid Question - how do I create virtual switches in the new app?

---

<div class="post-metadata">

**Author:** ![DaWeav](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/daweav/32/109130_2.png) [@DaWeav](https://community.smartthings.com/u/DaWeav)\
**Post date:** [August 18, 2020, 1:02am UTC](https://community.smartthings.com/t/automated-shm-arming-in-new-smartthings-app/202368/5 "2020-08-18T01:02:12Z")

</div>

Read the comment after this post since it confirms you have to install the Virtual Device Creator SmartApp using the old SmartThings Classic app first, then you can use it in the new SmartThings Connect app.

> [@Force run an automation?](https://community.smartthings.com/t/force-run-an-automation/199273/8):
>
> There is a Virtual Device Creator SmartApp. I see it listed in the new SmartThings app SmartApp section just like the SmartThings Home Monitor SmartApp is listed, but I’m not sure if that’s because I’ve already used it from the old SmartThings Classic app first. I select the Virtual Device Creator SmartApp and give the new virtual switch a name and select done to save it. Then I can use the virtual switch as the trigger for Automations. Quick example of using the virtual switch. Virtual Switch Name: Home Security Automation for Home Security Switch Off If Control device, Home Security = Off Then Change Security Mode = Disarmed Automation for Home Security Switch On If Control device, Home Security = On Then Change Security Mode = Armed (Stay) I can then use Alexa or Google Ho…

---

<div class="post-metadata">

**Author:** ![jawadshaik](https://avatars.discourse-cdn.com/v4/letter/j/7bcc69/32.png) [@jawadshaik](https://community.smartthings.com/u/jawadshaik)\
**Post date:** [December 3, 2020, 1:15pm UTC](https://community.smartthings.com/t/automated-shm-arming-in-new-smartthings-app/202368/6 "2020-12-03T13:15:51Z")

</div>

SmartThings team needs to address this
