Comfort Automation/ Security System Forums

Full Version: cclx files and security issues
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I note that the iphone app will require the .cclx file to be loaded onto the phone via e-mail.

I have concearns that that the files may get outdated or mixed up..... is there any way that the file name can be incorporated into the file and then check for compatibility when the iphone app opens. (this concern also applies to Wiz Comfort and any other software that uses the .cclx file 
One of the things I requested a while back for my ComfortClient dev was for the date of last upload to Comfort to be stored in the CCLX file.  Cytech did this change and this is a useful way to determine the validity of the CCLX file IMHO.

Julian
So presumably if the date codes do not match you flag some sort of window with a warning!
I show when you hover over the CCLX logo in the status bar.

Julian

 

 

 
Excellent provides both last updated and last uploaded...

Can this feature be added to the iphone app and Wiz Comfort?

 
There is no way the the iphone app can know if the file is up to date as it does not run on a PC where it can check the dates

There are only 2 things that the app uses from the cclx file; the zone descriptions and the home control menu. Responses are not used so it should dnot be very often that these are changed
Hey Ident, re:
Quote:There is no way the the iphone app can know if the file is up to date as it does not run on a PC where it can check the dates
In ComfortClient I get both of the datetimes from the CCLX file:

<FileInfo CreatedBy=\"Comfigurator\" Version=\"3.3.0.0\" DateTime=\"2011-08-09T20:43:18.3046121+01:00\" />
<ConfigInfo .... TimeOfLastWrite=\"2010-06-12T18:38:53.1877897+01:00\" ..../>

I did some checking to confirm that the datetime in the FileInfo section also updates every time you update the CCLX.

Hence where I get \"last updated\" and \"last uploaded\" from. 

Surely these should also be available in the iPhone app too as you parse the CCLX file for other data?

Regards

Julian

 

 
Correct, the date is available in the cclx file

The cclx file must be manually uploaded to a a web service to be parsed and an email to be sent to the iPhone

It is then possible for the app to know when the cclx file was last updated.

However how would it know that it is the latest cclx file? It has no way to compare its date with the latest cclx file which is on the PC

ComfortClient is on the same PC as the cclx file so it can compare the last written date but not so for the iPhone app

IMHO the way forward would be:

1) When the CCLX is uploaded to Comfort,  the upload datetime is stored somewhere in a Comfort register.  It may already,  but there needs to be a way to interrogate it via the Comfort Bus Protocol.

2) The CCLX file uploaded to the iPhone App knows the datetime of upload as stored in the CCLX file.

3) iPhone app can request upload datetime from Comfort via a bus protocol command and compare the datetime response received with the one it has from it\'s CCLX file.   If (1) is later than (2) then the application knows it is using a CCLX file that potentially out of step with Comfort.

..and i could do with using this method in ComfortClient too!

Comments?

Julian
Yes, possible but that is quite complex to implement

The iphone app only depends on the cclx file for zone names  and Control menu names and not responses so changes in cclx files normally do not affect the app

In fact it would cause unneccessary concern to app users as any write to Comfort would change the date and give the impression that the app was out of date even when there is no change