Skip to content

This solution provides timer functionality that can trigger routines in SmartThings. Currently there is not a permanent /periodic timer functionality

Notifications You must be signed in to change notification settings

arcegabriel/SmartthingsPeriodicTimer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

SmartthingsPeriodicTimer

This solution provides timer functionality that can trigger routines in SmartThings. Currently there is not a permanent /periodic timer functionality There is no code on this since SmartThings side leverages their UX to create rules. SharpTools export codes as photos.

SmartThings allows the user to trigger routines for different reasons. A certain time of day for example. There is no trigger for "Do X every 10 minutes". This solves that The steps:

  1. Install vEdge Creator on SmartThings https://community.smartthings.com/t/st-edge-vedge-creator-a-virtual-device-generator-for-end-users/231786 (See instructions there)
  2. Create a virtual Switch (See instructions there) and call it (for example "Timer 5min") Screenshot_20221115-203036
  3. Create a Routine called Reset 5min Timer Screenshot_20221115-203058
  4. Create a Routine called Switch Timer 1 Screenshot_20221115-203105
  5. Create a Routine called Switch Timer 2 Screenshot_20221115-203101
  6. Create an account on sharptools.io and link it to your smartthings
  7. Create a Rule called Timer 5min rule_screenshot
  8. Create a Rule called SmartThings 5m Timer Checkin rule_screenshot (1)

When you trigger the switch will turn on / off every 5 minutes. There additional steps are there to account for ocassionally the trigger to stop for example a power outage or a race condition:

  1. The routine Reset 5min timer will kick off once a day
  2. More so sharptools has a 5 min timer on its end and will be monitoring if smartthings is updating its timer. If its not, it will restart the timer on smartthings remotely. Sharoptools on its side also has a trigger to re-start its own timmer if it stops

About

This solution provides timer functionality that can trigger routines in SmartThings. Currently there is not a permanent /periodic timer functionality

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published