# \[OBSOLETE\] Button Runs Routine

**URL:** <https://community.smartthings.com/t/obsolete-button-runs-routine/24335>\
**Category:** Community Created SmartApps\
**Tags:** smartapp\_remotes\
**Created:** [September 28, 2015, 10:58pm UTC](https://community.smartthings.com/t/obsolete-button-runs-routine/24335 "2015-09-28T22:58:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bravenel](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/bravenel/32/13223_2.png) [@bravenel](https://community.smartthings.com/u/bravenel)\
**Post date:** [September 28, 2015, 10:58pm UTC](https://community.smartthings.com/t/obsolete-button-runs-routine/24335/1 "2015-09-28T22:58:35Z")

</div>

This little app can be useful for linking Harmony or Echo to SmartThings. This allows a momentary button (most likely virtual) to run a Routine. This app also allows the standard restrictions for when it runs, those being time of day (including sunrise / sunset), days of week, or modes.

> <https://github.com/bravenel/SmartThings/blob/master/Button%20Runs%20Routine>

---

<div class="post-metadata">

**Author:** ![kaminskico](https://avatars.discourse-cdn.com/v4/letter/k/5f8ce5/32.png) [@kaminskico](https://community.smartthings.com/u/kaminskico)\
**Post date:** [May 2, 2016, 9:10pm UTC](https://community.smartthings.com/t/obsolete-button-runs-routine/24335/2 "2016-05-02T21:10:06Z")

</div>

Hello, I am trying to use this with a V2 hub and I keep getting, “Sorry, but there was an unexpected error.” The only thing I see on the first screen is “Remove.” However, clicking remove takes no action. The only way that I have been successful in removing the SmartApp is to replace the code with working code from another SmartApp.

Should this SmartApp work with a V2 hub, or am I spinning my wheels?

Thanks,  
Cosmo
