View single post by mattbrain
 Posted: Wednesday Feb 1st, 2017 09:23 pm
 PM  Quote  Reply  Full Topic 
mattbrain



Joined: Tuesday Jun 12th, 2007
Location: United Kingdom
Posts: 185
Status: 
Offline

  back to top

Please provide feedback on the automations and integrations you have been able to do using this solution.

I'll give a couple to get us going:

1. Turn on night mode when we go to bed from my apple watch and back off from my watch when I wake up.
  • Add ComfortAlarm Mode Night switch to the Good Night Routine
  • Add ComfortAlarm Mode Off switch to the Good Morning Routine
  • Add the SmartThings App to Apple Watch
2. Set the alarm when the last person leaves the house. 

This can be achieved in a variety of way, i personally use Life360 as it allows other members of my family who don't have the SmartThings app on their phone report their location.
  • Install Life360 app on all the family members devices you wish to use
  • Create an IFTTT account and add links to Life360 and SmartThings
  • Create a routine to set ComfortAlarm Mode Away when the last person leaves the house
  • Create a routine to see ComfortAlarm Mode Off when the first person arrives at the house
  • For extra credit you can send notifications from IFTTT to let you know the alarm is being set or disarmed
3. Get a notification when the alarm is activated.

SmartThings can send a notification when the state of devices changes, the example below applied to the alarm firing but notifications can be assigned to a wide variety of devices and states.
    • Install CoRE as per these instructions http://thingsthataresmart.wiki/index.php?title=CoRE
    • Create a Piston in the SmartThings app:  Automation -> SmartApps -> CoRE -> Add a CoRE piston
      • Piston Mode = Basic
      • If ->
        • Capability = Alarm
        • Alarm List = Comfort Alarm
        • Comparison = is one of
        • Value = strobe, siren, both
        • Done
      • Done
      • Then ->
        • Add an Action ->
          • Click Control Location Mode....
          • Add a task ->
            • Send Push Notification
            • Done
          • Message = Message to send
          • Done
        • Done
      • Done

 Close Window