background image

A More Complex Example

Figure 4.11 - A More Complex Example Page

The devices controlled in the example above are 5 banks of fluorescent lights, 3

air conditioners, and a water boiler for drinking water, 4 motion detectors, and

3 doors to each of the rooms. The current Security Mode and the alarm state

are shown below the main image. The gray window at the bottom displays the

alarm and restore messages from Comfort. 
The lights shown in the example are controlled by the TWS01 Lighting Control

module which has a main-rated relay to switch the light and a current sensor to

sense the state of the light connected to a two way manual switch. The radio

and water heater are controlled by X10 modules. The design in the example is

shown below:

<HTML>

<HEAD>

<TITLE>Comfort Web Server</TITLE>

</HEAD>

<BODY background=#FFFFFF>

<H3>

Loading in progress.<BR>

Please wait patiently.

Comfort Webserver Module CWM02

52

Содержание CWM02

Страница 1: ...Broadband Internet with Router 10 Broadband Internet via PC Gateway 9 Connections 9 Section 2 Connecting the cwm 6 Java Virtual Machine JVM 6 UCM ID Switch 5 ICs 5 LED Indicators 5 Button 5 Jumper Set...

Страница 2: ...window is cleared after entering code 60 Login windows does not appear 60 Common Problems 60 Section 6 Troubleshooting 59 Comfort Programming 59 Section 5 Programming comfort 56 Image Library 56 Displ...

Страница 3: ...r The activation of motion detectors as well as opening and closing of doors and windows is shown on the screen as they occur The state of connected appliances and lights is also represented Clicking...

Страница 4: ...operating system software and web pages Approximately 600 MB is used by the operating system 400 MB available for web page design and graphics y Internal RAM 256 MB y Sample graphic image files and de...

Страница 5: ...tch settings Button y Reset button This button reinitializes the connection from CWM to Comfort It does not change any parameters in the CWM LED Indicators y D1 Green RDY should be on at all times whe...

Страница 6: ...mware 5 164 and UCM05 firmware 5 178 select SCAN for UCMs Enter your user code in the login box The Scan results are shown below typical The CWM should be shown in the UCMs list If the Comfort or UCM...

Страница 7: ...JVM is used the user may not be able to control the CWM elements by clicking on the icons An incompatible JVM version is one of the main causes of failure to connect or login for CWM If the loading o...

Страница 8: ...Figure 1 5 Java VM Screen on IE Comfort Webserver Module CWM02 8...

Страница 9: ...to the black white wire of DC adapter 4 The Green RDY led on the CWM should light up and remain on The LEDs 485TX red and 485RX green should blink rapidly showing that RS485 communications has been es...

Страница 10: ...C must run a software router like Winroute Pro The software router must be set up to allow port forwarding to the CWM and network camera s which are to be accessed from the Internet The gateway must a...

Страница 11: ...ust be set up for port mapping or forwarding for the CWM and network cameras which are to be accessed from the Internet All the network devices are connected to a switch or hub In order to provide the...

Страница 12: ...the CWM is powered on before the Network is connected its network drivers will not be loaded and the network connection will NOT work Configuration The CWM is set by default to the IP address 10 0 0...

Страница 13: ...MAC address and IP Address of the CWMs on the local network The button Change IP Address allows the selected CWM IP address to be changed from the default 10 0 0 16 Change the IP address so that it is...

Страница 14: ...ed by pressing F0 on the keypad The next screen shown below will ask for the user name and password to access the screen Figure 3 4 Authentication Screen in CWM Both the default User Name and Password...

Страница 15: ...mfigurator software tool Comfort I firmware Outside 4 200 and above and CWM 5 052 and above are required to support this feature NOTE Port 80 must NOT be used for pass through port as it may cause the...

Страница 16: ...s Click on Next to continue Figure 3 8 Save Configuration Page After setting the gateway IP click on Finish to save the configuration Should any other amendments be required use the Back button to go...

Страница 17: ...mic IP addresses To access CWM from a remote browser on the Internet the IP address of the system must be known For fixed IP addresses just type in the IP address or URL and optionally port number if...

Страница 18: ...ogy com dynip username php where username is the user name which is entered in the Dynamic IP setup page The browser will be redirected to the actual IP address of the CWM Note that the Cytech web sit...

Страница 19: ...e to specify an FTP address to which the CWM can upload the IP address This also allows a URL address e g www userpage come home html set up by user to host the IP address redirection without relying...

Страница 20: ...line updating mechanism has been set up To upgrade the CWM please ensure that it is online Then simply click on the link in https IPaddress PortNumber admin htm and the CWM should be updated according...

Страница 21: ...t may be connected to the Local Area Network on the same subnet via a hub Open internet browser Internet Explorer 8 or Netscape 7 Opera 7 or other Java enabled browser on the computer which is used to...

Страница 22: ...ry as the purpose of a certificate is to authenticate the identity of a server which may be used for payment transactions In this case you are accessing a server which belongs to you or the user you e...

Страница 23: ...example below with the sample index htm file Figure 3 17 Default CWM page When the page loads the state of the outputs 1 to 8 and inputs 1 to 8 will be updated displaying the images for the object dep...

Страница 24: ...e dcfgd dcfgd dcfgd Home icon Comfort will be disarmed to Security off when the user code is entered and the Security Mode icon will change to Home The Alarm State icon shows Good Trouble Alert or Ala...

Страница 25: ...ing to the CWM on the local network i e signing in with Comfort s sign in code etc Accessing the CWM via other DNS Services For those who are accessing the CWM by other means besides using Cytech s dy...

Страница 26: ...igure 4 1 CWM Applet Designer Page Description 1 Main Menu 2 Tool Bar 3 Element Toolbox 4 Applet Tree 5 Property Box 6 View Tab 7 Status List Main Menu To import existing HTML applet File Import HTML...

Страница 27: ...s inputs The state of the device either off or on is represented by alternate images The device state can be provided by a Zone Input or Output number Element X10 To represent the status of X10 module...

Страница 28: ...ans of counters In C bus and EIB systems the counters store the current state of Group Addresses Cntr This is very similar to Counter parameter except that clicking on the image can activate on and of...

Страница 29: ...et Heading tag e g H3 Please wait H3 APPLET The applet root Before Elements Font tag e g FONT COLOR FFFFFF FONT Windows Folder contains Windows element Up to 8 windows Window1 to Window8 Elements Elem...

Страница 30: ...ther tags may be added this After Applet section Property Box It is an object s properties which comprise all information pertaining to that object like element number window number coordinates etc th...

Страница 31: ...is not necessary to connect Comfort to the CWM to program the CWM web page y Go to File New or click New icon on the toolbar Figure 4 3 Step 1 of Creating a New Applet y Click Next to begin and the f...

Страница 32: ...Folder is where the newly created index htm file and images folder are stored Check Use Comfigurator File and browse for the relevant ccl cclx file y Click Next to Continue Figure 4 5 Step 3 of Creat...

Страница 33: ...the image and set up their parameters under their respective property box See Element Toolbox or Programming Elements for detailed explanation on the Elements It is highly recommended to do the design...

Страница 34: ...right click on the screen and select login as Then login as username admin with the correct password The default password is admin unless amended See Changing Password Following that the following scr...

Страница 35: ...that it has been configured to work with a CWM of address 10 0 0 21 The User ID and passwords need to be set as well Correctly entering the username and password user should then be able to connect to...

Страница 36: ...e i e the normal operation of the CWM will stop User will not be able to control or monitor Comfort via CWM until the pass through connection is closed by disabling Engineer Code using Program Menu 3...

Страница 37: ...monitor the state of variable like Zone Output X10 the Security Mode and Alarm state and can display the changed state using a specified image For each alarm input or appliance monitored or controlle...

Страница 38: ...e sequence numbering for each element will invalidate the rest of the sequence The element of each type need not be contiguous i e they may be followed by other elements but the sequence number of the...

Страница 39: ...number response_on on image response_off off image x y window Explanation The element name Element is used to represent devices like lights and appliances which are controlled by Comfort as well as de...

Страница 40: ...ht and Response 18 turns off the light The image is at coordinates 350 20 in Window number 1 The zone element allows control of any device using Responses which can be programmed for infrared control...

Страница 41: ...ousecode is the housecode A to P of the x10 module to be controlled and monitored Unitcode is the unit code 1 to 16 of the x10 module to be controlled and monitored response_on is the Comfort Response...

Страница 42: ...off image Coordinates are referenced from the top left corner of the window and the size extends from the top left corner of the image to the right and downwards off image is the image file for secur...

Страница 43: ...ac image is the image file for vacation mode Window is the window number which this parameter belongs to Only one of the images is displayed in the same location depending on the current mode so the i...

Страница 44: ...web server may be used i e one that has an Ethernet port with a built in web server like Axis and Samsung Webthru These products have models which act as camera servers which allow several normal CCTV...

Страница 45: ...RA Divisor is the value that is divided into the counter value to obtain the value for comparison The value for this parameter is expressed in decimal If the range of values desired is 0 to 100 then t...

Страница 46: ...additional threshold value of 10 is omitted it will display 190 instead of 100 when the maximum value of 255 is received PARAM NAME Counter3 VALUE 70 20 50 25 5 R comfort 0 gif 2 55 comfort 1 gif 5 1...

Страница 47: ...cases Q is used start image is the image file which is displayed during upon starting of Java or the lowest value image value1 is the threshold value above which value1 image will be displayed In oth...

Страница 48: ...ameter belongs to Action action is the list of actions to be executed Each CWM Response is made up of a maximum of 6 Actions More than 1 CWM Response can be executed in the same line by using 255 as a...

Страница 49: ...g of the zone depends on the zone being programmed to the appropriate zone type If a zone is not programmed i e left as Zone Type 0 it will not be monitored This will work with any Comfort program eve...

Страница 50: ...5 1 PARAM NAME Element7 VALUE zone 7 0 comfort led_blu gif 0 comfort led gif 420 55 1 PARAM NAME Element8 VALUE zone 8 0 comfort led_blu gif 0 comfort led gif 470 55 1 PARAM NAME Element9 VALUE output...

Страница 51: ...fort idle gif comfort trouble gif comfort alert gif comfort alarm gif 1 PARAM NAME Arm1 VALUE 120 290 comfort disarm jpg 170 290 comfort away jpg 220 290 comfort night jpg 270 290 comfort day jpg 320...

Страница 52: ...w at the bottom displays the alarm and restore messages from Comfort The lights shown in the example are controlled by the TWS01 Lighting Control module which has a main rated relay to switch the ligh...

Страница 53: ...RAM NAME element9 VALUE zone 3 19 comfort airc_n1 gif 20 comfort airc_n0 gif 78 372 1 PARAM NAME element10 VALUE zone 6 11 comfort lightfl_h1 gif 12 comfort lightfl_h0 gif 60 30 1 PARAM NAME element11...

Страница 54: ...s sampleindex htm Look for the file sampleoffice htm and rename it to index htm Close the browser window and access the IP address of CWM again The Input and Output assignment are shown below A Local...

Страница 55: ...Light 3 10 Office Light 1 9 Office Light 2 8 Outside Light 7 Store Light 6 Unused 5 Unused 4 Outside Aircon IR 3 Office Aircon 2 IR 2 Office Aircon 1 IR 1 Description Output Comfort Webserver Module C...

Страница 56: ...Remember that each image is inserted with the top left corner at the set coordinates Image Library To help in developing the CWM graphics elements a library of gif icons are supplied with the CWM HTML...

Страница 57: ...r_c0 gif 30x30 Door_b1 gif 30x30 Door_b0 gif 30x30 Door_a1 gif 30x30 Door_a0 gif 30x30 Curtain_b1 gif 30x30 Curtain_b0 gif 30x30 Curtain_a1 gif 30x30 Curtain_a0 gif 30x30 Aircon_a1 gif 30x30 Aircon_a0...

Страница 58: ...60x30 Window_b1 gif 30x30 Window_b0 gif 30x30 Window_a1 gif 30x30 Window_a0 gif 30x30 Tv_a1 gif 30x30 Tv_a0 gif 30x30 Pir_a1 gif 30x30 Pir_a0 gif 30x30 Light_bright gif 30x30 Light_dim gif 30x30 Light...

Страница 59: ...he Comfort Engineer Manuals worksheet Programming with Action codes and Programming with Comfigurator for programming information As mentioned the Java Applets send commands to Comfort using Responses...

Страница 60: ...t set to the correct ID or Comfort Location 1672 Modules and Settings Screen in Comfigurator not set to the correct number of UCMs or the CWM is not switched on or the network cable may have been conn...

Страница 61: ...efault configuration However the index html file and other user files will still remain intact Password lost If at any time the password may have changed accidentally To reset the password for the CWM...

Страница 62: ...to allow Pass through operation to be independent of the CWM web page Login will be required during the TCP Pass through operation e g for upload and download 2 RS232 Commands for corresponding UCM ve...

Страница 63: ...it to Printable Area Select Properties Finishing Tab Document Options Print on Both Sides Booklet Layout Left Side Binding Other printers may have different settings to achieve the same result Documen...

Отзывы: