Comfort  Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register

Stories
 Moderated by: slychiu, mattbrain, benstinton
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Wednesday Feb 1st, 2017 09:23 pm
   PM  Quote  Reply 
1st Post
mattbrain
UCM Pi Users


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



 Posted: Thursday Feb 2nd, 2017 11:22 pm
   PM  Quote  Reply 
2nd Post
DavidJ
Member
 

Joined: Tuesday Feb 26th, 2008
Location: Little Berkhamsted, United Kingdom
Posts: 83
Status: 
Offline

  back to top

Core opens up a world of opportunities. CoRE . 
Its basically a rules Engine. I'm using it for a number of tasks but planning on adding many more. One very useful option is to receive a notification when the alarm is set. Here's how I did it:

After installation of core, obviously.....
Go into Core  Automation's > Smartapps > Core >Add a Core Piston

Piston Mode = Basic (default)
Click "IF"
Then "Add a Condition"
Click "Capability"
Select "switch"
Click "Switch List"
Select - In my case I selected all Alarm modes - 
"ComfortAlarm Away",  "ComfortAlarm Day", "ComfortAlarm Vacation" - or whatever your equivalents are named - or indeed which ones you actually want to receive notification from.
Once selected hit Done and it will drop you back to Condition #1
You will see the alarm modes you selected in the switch list.
Now click "Comparison" - "is"
Then Value to "on"
Now hit Done - 
You have now set up your IF - now you need to set up THEN.


Click "THEN"
"add an Action"
turn on first box "location"
"add a task"
select "send notification"
Type your "message"
Hit Done.
Give your Piston a name and hit Done.


A few additions.
NB Notifications send to all users who are on your ST network with the app on their device. Assuming you don't want to bother them with these notifications at the "add task" point you can alternatively select "send SMS" instead. I haven't worked out an alternative workaround - it seems its a limitation of ST.

ALSO

You can obviously add more "ACTIONS" - in my case I added open driveway Gate and turn on specific lights, etc, etc.
Hope that helps.

Last edited on Thursday Feb 2nd, 2017 11:36 pm by DavidJ



 Posted: Thursday Feb 2nd, 2017 11:46 pm
   PM  Quote  Reply 
3rd Post
DavidJ
Member
 

Joined: Tuesday Feb 26th, 2008
Location: Little Berkhamsted, United Kingdom
Posts: 83
Status: 
Offline

  back to top

Just realised Matt already did the notification of alarm through Core . His will alert you if the alarm goes off. My example is merely to run various devices or create an alert once alarm is armed. Hope it helps.

Last edited on Thursday Feb 2nd, 2017 11:48 pm by DavidJ



 Posted: Friday Mar 3rd, 2017 09:38 pm
   PM  Quote  Reply 
4th Post
Pgordon
Member
 

Joined: Saturday Sep 23rd, 2006
Location: London, United Kingdom
Posts: 237
Status: 
Offline

  back to top

Just a quick word re the notifications on alarm events... - I presume most of us who are using this solution are using a UCM-ETH to connect the Pi to Comfort...
Certainly with the most recent ETH03, you can get the UCM to send emails to report any selection of something like 30-odd Comfort events, which certainly includes arm and disarm events... I currently do this for about a dozen different events.
With Arm report emails, it states the date/time and by what means the arm event was triggered - e.g. keypad or response. With disarm events, it gives the user name (if you've filled in the names fields) for up to 4 users.
I also have a UCM-GSM, and this also sends SMS messages to my mobile in response to the same events, although in my case the UCM has a PAYG SIM installed, and I seem to be forever letting the credit run out and not bothering to top it up again for many weeks...
I think either of these methods would be 'preferable' to using Core, - since the core method requires and depends on connectivity to the ST cloud... - if your broadband goes offline for any reason, your rules don't run and you get no notifications...  using a UCM-ETH or GSM keeps everything local - obviouy the same caveat applies to the ETH option - no broadband means that won't work either, but the GSM method is immune to that vulnerability...
Cheers
Paul G.

Last edited on Friday Mar 3rd, 2017 09:44 pm by Pgordon



 Posted: Friday Mar 3rd, 2017 10:24 pm
   PM  Quote  Reply 
5th Post
mattbrain
UCM Pi Users


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

  back to top

Hi Paul

You make a good point - and goes to the heart of how I had positioned this automation from the beginning.

The Comfort system is rock solid -  I have never experienced an issue with it, it has been reliable for many years.

SmartThings add the capability to do other stuff outside of the core capabilities of Comfort; for me that is getting notifications when stuff happens and making my house smarter, reacting to events (some of which are sourced or managed by Comfort). I don't have a GSM module, so getting notifications via ST works me although there is a dependancy on ST, my broadband etc. The GSM network is vastly more reliable that ST will ever be, but it comes at a price (diluted massively by the huge user base) which we all contribute to.

The newer things Ben and I are working on will inevitably make it more reliable, we are working on a solution in which the Pi is directly connected and powered by Comfort, but (for some tasks) it will still need a broadband connection. We are adding in functionality to directly control and be controlled by third party devices without ST and some basic rules to do so but ST does provide a wide range of functionality and they have a much bigger dev team.

Anyway, all good feedback and it's going to be a trade of each of us make in deciding which routines should be driven by Comfort vs SmartThings.

Thanks,

Matt



 Posted: Sunday Nov 5th, 2017 03:15 am
   PM  Quote  Reply 
6th Post
wexfordman
UCM Pi Users
 

Joined: Monday Jan 1st, 2007
Location: Cork, Ireland
Posts: 546
Status: 
Offline

  back to top

Just as a aside, I had been looking at a way of getting my velbus devices controlled by my google home. One of the options o looked at was home assistant with a Phillips hue emulator plugin, it looked like an easy way to do it. Anyway, ot appears that a recent upgrade on the hue hub firmware has now meant that you cannot register the hue emulator with hue, which makes the feature unusable.

Is there a risk of this sort of event happening with your solution (I've just pushed tje button on a pi and looking for a st hub now)



 Posted: Sunday Nov 26th, 2017 11:03 pm
   PM  Quote  Reply 
7th Post
schford
UCM Pi Users
 

Joined: Wednesday Feb 25th, 2009
Location:  
Posts: 248
Status: 
Offline

  back to top

The link to github wasnt available form my UK control panel - how ever a quick google if anyone else is stuck like I was found this - 
https://graph-eu01-euwest1.api.smartthings.com/githubAuth/step1
Go there and you can do it :-)
Cheers
Stuart

Last edited on Sunday Nov 26th, 2017 11:07 pm by schford



 Posted: Tuesday Dec 5th, 2017 07:28 pm
   PM  Quote  Reply 
8th Post
schford
UCM Pi Users
 

Joined: Wednesday Feb 25th, 2009
Location:  
Posts: 248
Status: 
Offline

  back to top

Scrub that folks - Core replaced by webCore...Use that it is much much better.



 Current time is 08:17 am
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems