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

Comfort UPNP <-> SmartThings <-> Amazon Echo
 Moderated by: slychiu, mattbrain, benstinton Page:  First Page Previous Page  1  2  3  4  5  6  7  ...  Next Page Last Page  
 New Topic   Printer Friendly 
 Rating:  Rating
AuthorPost
 Posted: Thursday Oct 20th, 2016 02:12 pm
   
21st Post
DavidJ
Member
 

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

  back to top

Hi Matt,
Ok, The RPi is up and running. Smartthings is back in action.Where do I copy the CCL file? Into a directory or to the root of the RPi?If I look in comfigurator Zones/Inputs I have 24 entries. Under Names/Outputs I have 8 though I do not believe all those are in use.I dont believe I have any slave modules but I do have 3 UCM's.Hope that helps.Cheers
David



 Posted: Thursday Oct 20th, 2016 05:45 pm
   
22nd Post
mattbrain
UCM Pi Users


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

  back to top

Hi David

I'm working on the instructions at the moment. I think you will need to convert the .ccl you have to a .cclx (xml format). You can do this by downloading the latest version of comfigurator, loading the .ccl and saving it as a .cclx.


If you have 24 and 8 outputs, you probably have a LEM03 which cannot be mixed with SEMs (which should work fine)

I'll be back in touch shortly with instructions to set up the RPi and test connectivity to the Comfort system.

A couple of things to think about:

1. The alarm should have a static IP address (this can either be set in the alarm or [and a better solution]  is to have it marked as static in your router)
2. The RPi should also have a static address, this is most easily done on the router too.

 Finally, both the alarm and RPi need to be on the same subnet, which is very likely to be the case on a home network.

Thanks,

Matt 



 Posted: Thursday Oct 20th, 2016 05:48 pm
   
23rd Post
DavidJ
Member
 

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

  back to top

All good on the static Ip's. Thanks



 Posted: Friday Oct 21st, 2016 08:09 pm
   
24th Post
mattbrain
UCM Pi Users


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

  back to top

Hi All

OK - deep breath....

I have published what I have done so far to github. Please note, this is a SmartThings release only (although the included test client will demonstrate it does work).

You can read the release notes, download the software and have a play at : https://github.com/mattbrain/Cytech-Comfort

Please let me know how you get on - I have to stress this is an early release, it will undoubtably go through many revisions - if you aren't comfortable testing this out - please don't download it just yet, however if you are willing to give it a go and report back your findings i will be grateful.

Thanks,

Matt



 Posted: Tuesday Oct 25th, 2016 06:03 pm
   
25th Post
DavidJ
Member
 

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

  back to top

Within a week of reading this post I now, thanks to the incredible help and support of Matt, have added 40 odd devices to smartthings. Importantly this is not just about Smartthings this development lets Comfort get on with what it is REALLY good at, home security, and let you get on with using mainstream products to integrate.I cant say how impressed I am with this, I strongly recommend others consider integrating with this. Best plug-in ever!Thanks again Matt.

Last edited on Tuesday Oct 25th, 2016 06:09 pm by DavidJ



 Posted: Thursday Oct 27th, 2016 04:45 pm
   
26th Post
waszaa
Member
 

Joined: Wednesday Oct 19th, 2016
Location: Manchester, United Kingdom
Posts: 5
Status: 
Offline

  back to top

Hi Matt

This is great and all working for me so many thanks for sharing - any thoughts on implementing Comfort responses (for pulsed gate and garage door control) and counters (for C-bus Lighting / smartfit heating) in the future ?



 Posted: Thursday Oct 27th, 2016 05:58 pm
   
27th Post
DavidJ
Member
 

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

  back to top

I'll second that request. The flash once works for garage doors and gates but the on really messes them up. So I guess a default device as a flash would be excellent.



 Posted: Thursday Oct 27th, 2016 09:50 pm
   
28th Post
mattbrain
UCM Pi Users


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

  back to top

Hi Guys

Thanks for your feedback, and glad you have both managed to get it working.


Pulsed output (flash once) should be easily doable as a preference in the SmartThings device handler - so you can select on/off, pulsed/off, pulse once/off as the primary action.



Initiating responses should be easily done too - just thinking how it should be done, a separate device per response (or response pair to simulate on/off) or a single device with multiple responses - any thoughts?


Counters are half implemented already and I have been working with David on his C-Bus lighting - watch this space...


Thanks again,


Matt



 Posted: Thursday Oct 27th, 2016 11:33 pm
   
29th Post
waszaa
Member
 

Joined: Wednesday Oct 19th, 2016
Location: Manchester, United Kingdom
Posts: 5
Status: 
Offline

  back to top

Thats all great - I was thinking one device one response.

can't wait to get my C-bus connected!

thanks

Mike



 Posted: Friday Oct 28th, 2016 12:18 am
   
30th Post
wexfordman
UCM Pi Users
 

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

  back to top

so, just that I understand, your now able to control comfort respones, read counter value etc ? And this can be done via amazon echo ?

If thats correct, then with this, has comfort and your application now effectively created echoe control of pretty much every home control protocol comfort supports ?



 Posted: Friday Oct 28th, 2016 12:55 am
   
31st Post
mattbrain
UCM Pi Users


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

  back to top

At the moment it requires Samsung SmartThings to act as an interface between the Echo and Comfort, however I am working on adding WeMo emulation which will allow an Echo to interact natively with Comfort. This will enable outputs and responses to be controlled by the Echo, but there isn't yet an unprompted mechanism in Echo (i.e. you can't wake the echo up programmatically to announce an event) to allow zones or status changes to make the Echo do stuff.

SmartThings itself has a lot of other products integrated and with this interface you can add Comfort to the mix - allowing you to write complex scripts linking all your SmartThings devices and Comfort devices together.

I mentioned some examples previously, my latest little script is automatic closing of Fakro windows when the alarm is set and setting the heating to economy mode.

Thanks,

Matt



 Posted: Saturday Oct 29th, 2016 06:48 pm
   
32nd Post
lwillerton
Member
 

Joined: Sunday Oct 2nd, 2011
Location:  
Posts: 221
Status: 
Offline

  back to top

Hi All,
I have been doing some research and have recently decided to try and get Comfort to control some of my AV kit. However seeing this thread I wanted to run a few things by everyone.

My plan is to access the amps 12 scenes on the amp with a bit of IR code to turn on the TV select the appropriate input set the volume etc. This could be controlled by the comfort app or one of the comfort scenes switches. I would also program IR commands for the aircon / electric blinds and for TV / audio zones not connected to the amp. Please see the rough diagram attached.
Reading this thread I am now wondering if I should include a SmartThings hub and a RPi (the bits in the red box on the attached) to allow better control of my TV's and lighting (veralite) and to allow amazon dot to control the equipment in the kitchen (keep hands free) 

If I buy SmartThings Hub will it detect vera, samsung TV's, Sony TV's etc (sorry don't know much about this)? how easy is it to get the interface between SmartThings and Comfort working using the RPi? I have a eth3 UCM do I need anything else? I have quotes for all the cytech kit but before I place the order though it would be worth checking to see if I need to add anything else to the list.

Sorry forgot to put on the diagram my heatmiser thermostat could this be included in to the SmartThings/Amazon dot config?
Best Wishes 

Lee

Attachment: AV install.png (Downloaded 189 times)

Last edited on Saturday Oct 29th, 2016 06:52 pm by lwillerton



 Posted: Saturday Oct 29th, 2016 09:27 pm
   
33rd Post
DavidJ
Member
 

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

  back to top

I cant answer all of questions, do I take it you currently do NOT have a Comfort system? If so I would consider how capable you are to set it up, its far from simple. Obviously if you are Very techy I guess you'll have no problem.
With regard to Vera and Smartthings, I'd probably consider moving devices from Vera to Smartthings rather than running both although I do believe it is possible.
Although rteading this https://community.smartthings.com/t/smart-things-as-secondary-zwave-controller/2531 it does dound doable.
With regard to setting up the Rpi with Comfort and Matts App - thats a breeze.



 Posted: Saturday Oct 29th, 2016 10:46 pm
   
34th Post
lwillerton
Member
 

Joined: Sunday Oct 2nd, 2011
Location:  
Posts: 221
Status: 
Offline

  back to top

Sorry I have had comfort installed for 5 years controlling lights electric gates, guarage doors etc, self programmed with a lot of help from the cytech team (they are fantastic). Was considering control 4 but decided that I would buy the extra kit cytech produce to provide the AV solution. The idea of using the dot just becomes really interesting.

I will add SmartThing hub and a Amazon dot to the kit list, I am sure it has got to be worth a go.



 Posted: Saturday Oct 29th, 2016 10:46 pm
   
35th Post
lwillerton
Member
 

Joined: Sunday Oct 2nd, 2011
Location:  
Posts: 221
Status: 
Offline

  back to top

Sorry I have had comfort installed for 5 years controlling lights electric gates, guarage doors etc, self programmed with a lot of help from the cytech team (they are fantastic). Was considering control 4 but decided that I would buy the extra kit cytech produce to provide the AV solution. The idea of using the dot just becomes really interesting.

I will add SmartThing hub and a Amazon dot to the kit list, I am sure it has got to be worth a go.



 Posted: Saturday Oct 29th, 2016 11:02 pm
   
36th Post
DavidJ
Member
 

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

  back to top

I had Vera plus in place for past six months with varying results. Since Matt's app became available I've brushed the dust off of Smartthings and started moving everything back over. Also a new app on. ST called CoRE makes it much easier to set up rules.



 Posted: Sunday Oct 30th, 2016 12:02 am
   
37th Post
mattbrain
UCM Pi Users


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

  back to top

@Iwillerton:
In my day job I have written IP based controls for LG and Samsung TV's - they both support a variant of UPNP - I believe SmartThings support recent Samsung (2014+) TV's natively - although I don't know, I should think if the Sony is a recent TV with ethernet / wifi it most likely has a control interface exposed over IP.
I don't know about veralite - I haven't come across it before (is it z-wave? - if so it should work).
@All:
I have made some updates to overcome an issue David reported yesterday due to subscriptions not being renewed in a timely manner. Please download the updated Device Handlers and SmartApp and install over the existing (paste over the existing code, save and publish). This will automatically update the devices in SmartThings (no need to restart discovery) and the new refresh button in the Bridge device will force a global resubscribe. The refresh button in the zones / outputs will now do the same for that device and get the latest values.
Thanks,
Matt



 Posted: Sunday Oct 30th, 2016 01:49 pm
   
38th Post
mattbrain
UCM Pi Users


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

  back to top

@All:

I have just updated the output device handler to allow each device to define a default action for 'On', such as Flash / Flash Once / Turn on - this should help with external devices looking for momentary functions. Please download and paste over the existing Output device handler, save and publish to update. To enable Flash / Flash Once go to the settings cog in the device to select the behaviour. Default behaviour for existing and new devices will be 'Turn On'

@Iwillerton:


Just had another look a your diagram, I think you could take out veralite and have the SmartThings hub replace any functions that offers - devices paired with it could be paired with the SmartThings Hub - this will likely make your setup more reliable as there are less links in the chain. It is entirely possible that code could be written to support the UPNP bridge I have built on vera but I don't have access to one (and would need to spend some time understanding how it works - I believe it does have a programming language of sorts but don't know how broad its capabilities are)


I would also have the Amazon Dot talk directly to smartthings and control other devices from there rather than a direct link to your devices in the kitchen (indicated by the yellow line) - native device support in Alexa is limited and there is an excellent plugin which exposes SmartThings devices and allows it to be tightly integrated.


Thanks,


Matt


Last edited on Sunday Oct 30th, 2016 01:49 pm by mattbrain



 Posted: Sunday Oct 30th, 2016 10:04 pm
   
39th Post
lwillerton
Member
 

Joined: Sunday Oct 2nd, 2011
Location:  
Posts: 221
Status: 
Offline

  back to top

Thanks Matt, all make sence and I agree removing vera will be a positive step.

Before I order ST has anyone seen any posts about ST V3?



 Posted: Sunday Oct 30th, 2016 10:11 pm
   
40th Post
DavidJ
Member
 

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

  back to top

ST2 Is just over a year old. Can't see them releasing anything very soon. Some good deals on ebay though. If you do get on ebay make sure the code comes with it. I'd just get the hub only as the devices in the starter pack are Zigbee.



 Current time is 09:21 amPage:  First Page Previous Page  1  2  3  4  5  6  7  ...  Next Page Last Page  
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems