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

Connecting Comfort to Perceptive Automation Indigo
 Moderated by: admin
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Saturday Apr 12th, 2014 03:35 pm
   PM  Quote  Reply 
1st Post
HenleyBranch
UCM Pi Users
 

Joined: Saturday Apr 30th, 2011
Location: United Kingdom
Posts: 75
Status: 
Offline

  back to top

A couple of people asked about this from a previous post, so I thought I would jot down what I did, as a rank amateur...
I have successfully got Comfort connected to Perceptive Automations Indigo running on a Mac mini. This allows interaction between Comfort and Indigo responses - so for example, Indigo can generate an iMessage when a particular event occurs on Comfort, or with Indigo’s interface with Applescript and MacOS trigger specific playlists in iTunes, or actions on other things it can control via ethernet such as Denon Receivers... 
For those interested, you need the Cynical Network Plug-in for Indigo, configured as follows: 
1) Make a new 'Device' in Indigo: Type = Cynical Network, Model = TCP Out, Name = Comfort, IP = IP of Comfort on your network, Port 1001, Auto Connect = Check, Line Endings = Carriage Return. 
2) You then need to get Indigo to log in to Comfort. More detail on issues with such log-ins is given here: 
http://www.comfortforums.com/forum1/3653.html
Essentially, each command you send to Comfort has to be proceeded by binary 03 or “/03”
The code to log in is therefore /03liXXXX , where XXXX is your log in PIN number. 
3/ Therefore to log Indigo into Comfort via Ethernet you need to make a new Action in Indigo using Send Text (Cynical Network) of /03liXXXX. Applying this action then logs into Comfort. Make sure that Comfigurator etc. is logged out as the UCM Ethernet only allows one connection. 
4/ Indigo is now listening to the TCP/IP traffic out of Comfort. You can set up specific triggers to listen to the Comfort events using the serial protocol. http://www.cytech.biz/serial_interface_protocol.html  To listen for anything really, security off, or specific zones on or off, Comfort streams of data out. It can be useful to watch this in Comfigurator or using a utility to understand the logic of how the protocol applies. http://www.comfortforums.com/forum1/3653.html
5/ To keep the connection alive, I have applied a regular scheduled login using the Log in action described in 3. Otherwise I have found it can drop. 
6/ Remember when you want to log into Comfort via Comfigurator you need to suspend the Indigo log in. 
Thanks as ever to Cytech support for their help in getting this working. 
Henley

Last edited on Saturday Apr 12th, 2014 03:36 pm by HenleyBranch



 Posted: Sunday Apr 13th, 2014 05:58 am
   PM  Quote  Reply 
2nd Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

Interesting. Do you have any screenshots for those who do not have Mac or Indigo?



 Posted: Monday May 5th, 2014 01:53 pm
   PM  Quote  Reply 
3rd Post
HenleyBranch
UCM Pi Users
 

Joined: Saturday Apr 30th, 2011
Location: United Kingdom
Posts: 75
Status: 
Offline

  back to top

I will certainly do when I get a moment, but need to strip out confidential - codes etc. from the shots. 
In the meantime, I am trying get an iMessage sent to all devices from Indigo when a new message is left on Comfort. (I have iMessages working well for other events) This requires Indigo to listen for AL29 - the alarm type for new message?
However, using Configurator I/0 monitor, a new message doesn't seem to generate this alarm - is this the case? I can see events for phone ring and LED state change only when a message is left. 
Henley



 Posted: Monday May 5th, 2014 04:40 pm
   PM  Quote  Reply 
4th Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

The new message alarm will only appear if the alarm is dialing out

In telecom > Answering, Mailbox phone assignments, the mailbox is set to the phone eg Phone 1


and the message is AL1D... not AL29. Numbers are in hex

The other method is to decode the KL message KL00000001

The last byte 01 means the message LED is on. 00 means off, 02 = means flashing (I think)



 Posted: Sunday May 18th, 2014 11:13 pm
   PM  Quote  Reply 
5th Post
Vangelis
Member
 

Joined: Tuesday Jan 31st, 2012
Location:  
Posts: 138
Status: 
Offline

  back to top

Regarding the persistent connection from Indigo (via Cynical Network) do you have to keep logging out and logging in again to keep the connection stable, or can you send a 'keep alive' request (such as a single command) periodically?

Vangelis



 Posted: Monday May 19th, 2014 06:07 am
   PM  Quote  Reply 
6th Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

If you are using UCM/ETH02 or ETH03 you can set the timeout to 0 in DS Manager (ETH02) or CS Manager (ETH03) This will prevent the UCM from logging out due to no activity

Alternately send any command to keep the connection alive, eg I?0101 Input 1 query and ignore the reply



 Posted: Monday Aug 18th, 2014 06:26 pm
   PM  Quote  Reply 
7th Post
Vangelis
Member
 

Joined: Tuesday Jan 31st, 2012
Location:  
Posts: 138
Status: 
Offline

  back to top

Hey Henley - Any progress on this. I'm interested in your setup as I am also running Comfort alongside Indigo (and Win7 for voice recognition).

Don't suppose you have Indigo controlling Sonos??

Vangelis



 Current time is 02:26 pm
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems