Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Internet access to Comfort
#51
I did get the same problem with the previous version, also from remote. Have not had the chance to test locally yet
IP address is still valid as I could connect via Comfigurator
I have checked the box for IP and port
The cclx file has a local IP address while I am trying to connect by remote
It says Waiting..

Monitor says
+ Comfort Client:1.0.8.0
* Error parsing Floorplan XML config
+ Connection failed; see error log for more info
+ Connection failed; see error log for more info

The error log is attached


Attached Files
.log   ComfortClient.2009.3.14.log (Size: 270 bytes / Downloads: 3)
Reply
#52
OK

I think it\'ll be something in the logic of the routine that tries to make connection.

I\'ve uploaded version 1.0.9.0 to the usual FTP location.  Can you try this.  I\'ve added some more mesages to the monitor window to try and trap how far it\'s getting befor it throws the exception.

Should get something like this if it worked:

+ Comfort Client:1.0.9.0
+ Building Local IP Collection: 3
+ Selected Local IP Address: 3
+ Comfort Connected


Obviously you are not getting to the \"Connected\" (4th entry above) but I\'m intereseted to see which one of the other 2 it fails on as these are the only places where I can see you could get an address out of range type error.

Oh and 2 new features added in 1.0.9.0
  • Editor now supports the use of DELETE key
  • Size of Main Client window now remembered (saved to user settings)
Regards

Julian

 

 

 

 
Reply
#53
Still the same result
Monitor shows
+ Comfort Client:1.0.9.0
+ Building Local IP Collection: 1
+ Suggested Local IP Address Not Found
+ Connection failed; see error log for more info
+ Suggested Local IP Address Not Found
+ Connection failed; see error log for more info

see log


Attached Files
.log   ComfortClient.2009.3.14.log (Size: 814 bytes / Downloads: 0)
Reply
#54
Hi

Just posted 1.0.9.1.

The monitor messages were useful.  Try this as I think I\'ve spotted the issue and this will fix.

Regards

Julian
Reply
#55
Success, sort of. This time connection was done.
When the code is entered on the keypad, it flashes and logs off again
 and Monitor shows
+ Selected Local IP Address: 0
+ Comfort Connected
 < AM1A01
 < KL01020000
 < AL1F01017F0301
 < LU00
 < AM1A01
 < KL01020000
 < AL1F01017F0301
 < LU00
 < AM1A01
 < KL01020000
 < AL1F01017F0301
 < LU00
 < AM1A01
 < KL01020000
 < AL1F01017F0301
 < LU00
 < AM1A01
The status shows UCM Log On (left),
User Logged Off (centre)
 
Comfort Connected and user 1

The keypad arm icons are grey andf status is not shown

Reply
#56
Hi

The buttons going grey are correct for a logged off status so that is OK.

But why is the client logging off I wonder.

Here is a trace of my session, I connect, I logon,  I let the system send outbound command to comfort (\">\"), wait for the responses (\"<\") and then logoff and then disconnect.

 + Comfort Client:1.0.9.1
+ Building Local IP Collection: 3
+ Selected Local IP Address: 3
+ Comfort Connected
 < LU01
> M?
> S?
> K?
> Z?
> z?
> C?01
> C?10
> C?11
> C?12
> C?13
> C?14
> C?15
> C?16
> C?17
> C?18
> C?19
> s?08
 < M?0000
 < S?00
 < KL00010000
 < Z?0408
 < z?00
 < C?0100
 < C?1013
 < C?112F
 < C?1200
 < C?1345
 < C?1432
 < C?1500
 < C?1664
 < C?1700
 < C?1800
 < C?1900
 < s?0837
> LI
 < LU00
+ Comfort Disconnected


What I notice about your trace is that NO outbound commands going to Comfort and lots of \"<LU00\" coming back.     Could it be some sort of different security level setup on your Comfort system?  I\'m worrying why you aren\'t seeing the outbound commands.

Regards

Julian

 

 

 

 
Reply
#57
Tried again this morning It started as already connected, status Waiting... The UCM Logon box was open instead of greyed, and entering the code and logon worked. Yesterday, I was not able to click the UCM Logon Box. Perhaps it is a problem when you do it the first time

The Keyarm Local help text seems reversed. Keyarm local should cause open zones to be announced

Some suggestions:
  1. Managed to read the event log. Being able to save to file would be useful
  2. Home control status feedback as in wizcomfort
  3. Being able to activate a selected response assigned to an icon in the image
  4. status of zones which can be located in the image
This could be an alternative to Wizcomfort, well done



Reply
#58
Hi Ident

Thanks for the feedback.  I realise the application still has some way to go and it\'ll improve further the more time I put into it.  Trying to add a mixture of new features as well as tighening up the code in areas too as issues are found or we need more error checking or validation etc.

In regards to your suggestions:

(*) Yep I\'ll reverse the keyarm local help text.

(1) Yes already thought of export of logs to but just hadn\'t prioritised it yet as high as some of the other things I\'ve been adding.   What I did do though was leave the box open but read-only so people can cut form it and paste into a file if they want to.

(2) Can you remind me how you\'d want the feedback on the home control items as I\'ve not been able to get my wizcomfort working since I moved to CCLX format (a screenshot would be good).  I get a base counter is invalid error everytime I try to put in the file settings and save and can never get past this now. My technical challenge is working out the code on updating this tree control on the fly without needing to rebuild the whole tree every time a feedback value changes. I\'d sort of assumed that if people wanted feedback they\'d put the values directly on the floorplan where they are always in view (see the counters and sensor labels I have in my example).

(3) Yep adding a handler to icons on the image to trigger responses is high on my list of things to do next after the other things at the bottom of this message.

(4) Not sure what you mean by status of zones in images; can you elaborate?  If you mean having  a \"Zone 12 off\" or \"Zone 12 On\" (or some meaningful textual message)  then you can do that now by adding 2 labels with that text and setting each Comfort Type \"Zone\" and Comfort State OFF and ON respectively.  Of course then these can be layered on top of other zone related images on the floorplan so I think we are achieving what you want as you have more control over where the label goes than automatically putting it say in the middle of the image (where I\'d be tempted to do for simplicity).

The priority order for the next few builds (in not any particular order of priority) is support for:

(A) Outputs

(B) SCS/RIO inputs and RIO outputs

© Flags (with settable polling frequency) or what I\'m going to call \"CounterFlags\".  Counterflags being where the value of counter is either zero (FALSE) and anything else (TRUE).  You can then setup responses to maintain the counters accordingly.  Reason I like the idea of counters for this is that they are non-polled.

(D) DO Action (DA) and returning feedback (RA).  

(E) DO Response (R!).   Including click on floorplan icon.  Wonder whether the click should do a fire-and forget response or an equiv DO action which does do.  I already have code where the user picks the response name (for clarity) but what the application actually sends are the DA\'s. At least then you may get more back than just the \"OK\" you get with \"R!\".

(F) Time Programmes (new TAB)

(G) Getting rid of the connection tab so it\'s all done from the keypad instead.

What you\'ll notice from my own floorplan is that the only feature on there not working from my original bespoke version is the Day/Night images.   Needing functionality to process parameters.  Choice of either  \"Flags\", \"DA\'s\" or \"CounterFlags\" to solve this one and this is one area that is driving me now.  This decision not helped by current feature in comfort firmware that if you test on Nighttime parameter and sunrise and sunset events you get the opposite value of what you expect (as the value not updated until after the event and not on the event as I\'d have expected) so saving this to a counter/flag would need to be reversed until Cytech fix this. DA would thus seem better choice but then I need a way of setting and parsing the RA response coming back in via the UI :?

Keep sending the feedback though as I\'m keen to keep improving the application.  As far as I\'m concerned I\'ve just started so loads more to do. 

I just wish Cytech could help by coming up with a more secure logon mechanism so that we can use apps like this via the internet without the usercode being possibly interceptable (I did a wireshark trace to see it\'s too exposed as clear text; only took a couple of clicks to show the whole decoded session!!).  Don\'t care about the other traffic as this is not critical in my view as its just informational and as any hacker wouldnt be able to send commands anyway without the logon details it would be secure (or as secure as logging on via the telephone that we can do now) in my view.  So please please Cytech if you are listening; any ideas?  Apart from my suggestion to support use-once keycodes such as SecureID type fobs (which I guess is a big piece of work) what about having an encrypted logon code based around certificates; both Comfigurator could use to set them up transparently in the UI and our apps could use the same certificate to generate the code at our end.  Or something like that!! Tongue

Julian

 

 

 

 

 
Reply
#59
The wizcomfort home control status interface is shown in the attached picture - it is just a simple text (ON or OFF etc) depending on the text in the control menu
I did not know that status could be shown in the xml files in the image

Encrypted logins is a good idea, although finding an encryption method that is secure and that can be implemented on the UCM side may be a challenge
Certificates require a server to store and process, I think that may not be feasible with the UCM. The CWM does use certificates but that is implemented with a server and more processing power. If you have any suggestions abouta good implementation, let us know


Attached Files Thumbnail(s)
   
Reply
#60
Hi Chiu

I was thinking that the Server processing part would be done as part of Comfigurator and as far as the user is concerned it would be transparent.  Would work like this:

(1) Setup Comfigurator to use a certificate.

(2) Setup is via normal \"User Codes\" section.  User would type in the normal 4 digit code and in Comfigurator code you would ALSO create and encrypted version. 

(3) Both the encrypted version and clear text version would be uploaded to Comfort with the configuration.

(4) Users could continue to logon via the 4 digit code for existing functionality.

(5) From an applications perspective we also setup with the same certificate and could use the encrypted one only \"IF\" it exists (I say IF because I realise here that if users changes their code via the keypad then there wouldnt be an encrypted version) if you supply a locked DLL or something) that apps (and ours Big Grin) can use.

That was my thought process. Would have thought the demands on teh UCM here would be quite light.

Regards

Julian

 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)