| Posted: Saturday Mar 7th, 2009 09:49 pm |
|
41st Post |
juwi_uk
Advanced Member

back to top
|
I've done a bit more work today and 1.0.5.0 now does background and foreground colours so you can make some very gaudy floorplans!

J
Attachment: Capture.JPG (Downloaded 110 times) Last edited on Saturday Mar 7th, 2009 09:49 pm by juwi_uk
|
| Posted: Monday Mar 9th, 2009 09:48 am |
|
42nd Post |
juwi_uk
Advanced Member

back to top
|
Hi
This is how the label properties box looks in the 1.0.70 version that's in development.
Most of the settings change the attribute of the label, font, size, colour, alignment etc)
"Text" is pricipally for static labels on the page. When Comfort Type is anything other than "*STATIC*) the application will take the basic counter value (20 say in my Smartfit example) and then add whatever you have in the prefix/postfix fields (in my example attached the label say "Temp: 20 'C"; where "Temp:" and "'C" are the prefix and postfix respectively)
Do you think this covers all of the bases?
Regards
Julian
p.s anyone know where there are any good freeware clipart of things like trees, bushes etc that would be suitable for inclusion in a set of bundled objects?
Also note by the way that I'm running on Vista Utlimate 64bit with Aero; hence the transparent borders!!
Attachment: Capture.JPG (Downloaded 100 times) Last edited on Monday Mar 9th, 2009 09:49 am by juwi_uk
|
| Posted: Tuesday Mar 10th, 2009 11:23 am |
|
43rd Post |
juwi_uk
Advanced Member

back to top
|
Hi,
There's a new 1.0.7.0 version if anyone wants to play. You can get it from my FTP areas as per the link I posted earlier in the thread.
Julian
Changes are:
Bug Fixes
- Could not de-select an object by clicking on the workspace (panel).
- Add label and deletes didn’t set save flag (prompt) to “dirty”.
- Workspace wasn’t cleared correctly for Label Objects in Editor Load routine.
- Label Bold and Italic code logic was incorrectly handled in Editor Load routine.
- Menu option for Comfort Properties didn’t work for labels (right-click menu did!).
New Features
- Implemented Internal ID names for Objects. Name on the Object Attributes for is now for user to type a meaningful (optional) reference name (which is used in XML Config file). Duplicates are allowed.
- Improved Colour Picker for Label Object Attributes.
- Cancel button removed from Object Attributes form. To cancel, Exit form and then delete the object. Cleaner to do it this way in code.
- Improved object selection and de-selection.
- Implemented label text alignment (all 9 options) and label box auto size.
- Implemented label prefix and postfix for Comfort Type “Counter”.
- Removed the need for “Instance #” attribute; now done programmatically.
|
| Posted: Tuesday Mar 10th, 2009 02:55 pm |
|
44th Post |
mrtae
Comfort Installers
| Joined: | Wednesday Jul 12th, 2006 |
| Location: | |
| Posts: | 41 |
| Status: |
Offline
|
back to top
|
Hi
FYI...The file in your FTP directory not zip...else have to download 1 by 1 file.
thanks..
|
| Posted: Tuesday Mar 10th, 2009 03:51 pm |
|
45th Post |
juwi_uk
Advanced Member

back to top
|
Oops, sorry.
Try now.
I emailed the files to you seperately this morning (GMT) so should be in your inbox.
Regards
Julian
|
| Posted: Tuesday Mar 10th, 2009 11:37 pm |
|
46th Post |
juwi_uk
Advanced Member

back to top
|
Hi,
1.0.8.0 is underway and 2 new features added already:
(1) Sensors (SCS Temperatures) are now supported.
(2) Support Celsius to Farenheit conversion and vice versa when "Comfort Type" is either "Counter" or "Sensor" and is flagged as a Temperature value. See the screenshot below; you set the "Native" temperature scale and the "Required" (what you want it set too). See screenshot below on where you set.
Let me know if you want and I'll freeze the build and post a link, otherwiase I'll crack on adding more features.
Regards
Julian
Attachment: Capture.JPG (Downloaded 90 times) Last edited on Tuesday Mar 10th, 2009 11:54 pm by juwi_uk
|
| Posted: Friday Mar 13th, 2009 10:28 pm |
|
47th Post |
juwi_uk
Advanced Member

back to top
|
Hi,
I've created 1.0.8.0 version, available at the FTP address earlier in this thread if anyone wants to download.
Changes are:
Regards
Julian
Bug Fixes
- Floorplan did not clear correctly on opening a new Floorplan. Improved the ClearFloorplan routine.
New Features
- Add Support for Sensors (SCS Temperatures).
- Implement Celsius to Fahrenheit conversion and vice-versa for Comfort Types Counter and Sensor
- Moved configuration files from Connections Tab to menu item “Configuration > Settings > Configuration File Settings”. Added new feature to select Floorplan configuration to run. All changes are saved to User Settings and available at next application start.
- Restructured the toolbar and right-click menus to make them consistent.
- Added “Move To Back” and “Move To Front” actions.
- Changed the Main Client and Editor forms so that they are now scalable and will deal better with different monitor resolutions. A minimum of 1024 x 768 is recommended. The editor will now open a workspace at the same size and the Main Client window (which is resizable).
|
| Posted: Saturday Mar 14th, 2009 09:03 am |
|
48th Post |
ident
Administrator

| Joined: | Wednesday Aug 9th, 2006 |
| Location: | Singapore |
| Posts: | 1416 |
| Status: |
Offline
|
back to top
|
When connnecting to our office using an IP address, the connect button did not manage to connect via (dynalmic) IP address and Port manually entered
The UCM Login gave an exception
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at ComfortClient.ComfortClientMain.SendComfortLogon(String ComfortLogon, String LogString)
at ComfortClient.ComfortClientMain.Logon_Request()
at ComfortClient.ComfortClientMain.Logon_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ComfortClient
Assembly Version: 1.0.8.0
Win32 Version: 1.0.8.0
CodeBase: file:///C:/work/download/Programs/Cytech/ComfortClientPreview/ComfortClient.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
TdmUserInterface
Assembly Version: 2.4.0.276
Win32 Version: 2.4.0.276
CodeBase: file:///C:/Program%20Files/Wave%20Systems%20Corp/Trusted%20Drive%20Manager/TdmUserInterface.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
|
| Posted: Saturday Mar 14th, 2009 10:21 am |
|
49th Post |
juwi_uk
Advanced Member

back to top
|
Hi
Did previous versions work OK?
As far as I'm aware I've not changed any of this code for a couple of releases except this time moving the file settings to another form.
It'll try to connect based on the IP and port # read from the Comfigurator file you have entered. Is there a scenario where your CCLX doesnt have an IP adress or port in the config; ie you connect serially or something as I might not have trapped this.
However if you check the box next to the port # and manually type an !P address (or domain name) and port; does this work?
A screenshot might help too.
Julian
|
| Posted: Saturday Mar 14th, 2009 10:31 am |
|
50th Post |
juwi_uk
Advanced Member

back to top
|
Actually, another thought.
"When connnecting to our office using an IP address, the connect button did not manage to connect via (dynalmic) IP address and Port manually entered
If you mean you are using DHCP with a short lease and the client is not connecting because it's trying the old expired IP address (because the comfigurator file IP address is expired too) then check the manual entry checkbox and use the name of the device instead in the IP address field.
Let me know.
Regards
Julian
Last edited on Saturday Mar 14th, 2009 10:59 am by juwi_uk
|
| Posted: Saturday Mar 14th, 2009 11:16 am |
|
51st Post |
ident
Administrator

| Joined: | Wednesday Aug 9th, 2006 |
| Location: | Singapore |
| Posts: | 1416 |
| Status: |
Offline
|
back to top
|
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
Attachment: ComfortClient.2009.3.14.log (Downloaded 3 times)
|
| Posted: Saturday Mar 14th, 2009 11:47 am |
|
52nd Post |
juwi_uk
Advanced Member

back to top
|
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
Last edited on Saturday Mar 14th, 2009 11:47 am by juwi_uk
|
| Posted: Saturday Mar 14th, 2009 11:58 am |
|
53rd Post |
ident
Administrator

| Joined: | Wednesday Aug 9th, 2006 |
| Location: | Singapore |
| Posts: | 1416 |
| Status: |
Offline
|
back to top
|
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
Attachment: ComfortClient.2009.3.14.log (Downloaded 0 times)
|
| Posted: Saturday Mar 14th, 2009 12:29 pm |
|
54th Post |
juwi_uk
Advanced Member

back to top
|
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
|
| Posted: Saturday Mar 14th, 2009 04:46 pm |
|
55th Post |
ident
Administrator

| Joined: | Wednesday Aug 9th, 2006 |
| Location: | Singapore |
| Posts: | 1416 |
| Status: |
Offline
|
back to top
|
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
|
| Posted: Saturday Mar 14th, 2009 06:23 pm |
|
56th Post |
juwi_uk
Advanced Member

back to top
|
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
Last edited on Saturday Mar 14th, 2009 07:22 pm by juwi_uk
|
| Posted: Sunday Mar 15th, 2009 03:14 am |
|
57th Post |
ident
Administrator

| Joined: | Wednesday Aug 9th, 2006 |
| Location: | Singapore |
| Posts: | 1416 |
| Status: |
Offline
|
back to top
|
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:- Managed to read the event log. Being able to save to file would be useful
- Home control status feedback as in wizcomfort
- Being able to activate a selected response assigned to an icon in the image
- status of zones which can be located in the image
This could be an alternative to Wizcomfort, well done
|
| Posted: Sunday Mar 15th, 2009 09:53 am |
|
58th Post |
juwi_uk
Advanced Member

back to top
|
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
(C) 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!! 
Julian
Last edited on Sunday Mar 15th, 2009 10:03 am by juwi_uk
|
| Posted: Sunday Mar 15th, 2009 10:50 am |
|
59th Post |
slychiu
Administrator

| Joined: | Saturday Apr 29th, 2006 |
| Location: | Singapore |
| Posts: | 2134 |
| Status: |
Offline
|
back to top
|
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 knowAttachment: wizimage.jpg (Downloaded 79 times)
|
| Posted: Sunday Mar 15th, 2009 11:06 am |
|
60th Post |
juwi_uk
Advanced Member

back to top
|
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 ) can use.
That was my thought process. Would have thought the demands on teh UCM here would be quite light.
Regards
Julian
Last edited on Sunday Mar 15th, 2009 11:06 am by juwi_uk
|
| Current time is 01:18 pm | Page: 1 2 3 4 |
|