smart-house Web-Server Manual Version 1.03 CARLO GAVAZZI HANDEL A/S, Over Hadstenvej 42, DK-8370 Hadsten, Danmark Tlf. 89 60 61 00, Fax 86 98 15 30, Reg.nr. 65 206 Internet: http://www.carlogavazzi.com/ac/dk E-mail: handel@gavazzi.dk (Ret til ændringer forbeholdes) 25.10.2001 Carlo Gavazzi Handel A/S. All rights reserved. 1 af 15
Contents Contents...2 Introduction...3 System requirements...4 Operating system...4 PC hardware...4 Internet browser...4 Internet connection...4 Installation...5 Hardware...5 Software...5 Online registration...6 smart-house server...7 Configuration...7 Server setup...7 E-mail setup...8 Server status...8 Configuration of your smart-house...9 Use on local network or internet...14 Carlo Gavazzi Handel A/S. All rights reserved. 2 af 15
Introduction The smart-house software has been designed to enable access to the Dupline network through the Internet or the local network. The smart-house software makes it possible for the user to see the actual status of all addresses on the Dupline network, to draw a floor plan of his house, place icons for lamps, coffee machines, etc., and to link these icons to Dupline, in order, for instance, to be able to switch the light in the living room on and off via the Internet. The smart-house software contains the following programs: Server Communicates with the Dupline Master Generator and makes data available via a built-in web-server on the Internet or the local network. Configurator Import of Dupline configuration, drawing of floor plane and placing of icons. Viewer Visualization of floor plan either via an Internet browser or as a normal program. PC med smart-house software installeret Seriel forbindelse Dupline Master Generator The smart-house Server program is the heart of the system. This program enables access to the system through the local network (LAN) or through the Internet. The smart-house Server must run on a PC with a serial connection to the Dupline Master Generator. The smart-house Server must be started in order to provide access to the system. In the smart-house Configurator program, the Dupline configuration is imported, the floor plan of the house is drawn, and icons are placed and linked to physical Dupline addresses. In the smart-house Viewer program, the drawing(s) made in the smart-house Configurator can be visualized either by means of the smart-house Viewer program or through an Internet browser. Carlo Gavazzi Handel A/S. All rights reserved. 3 af 15
System requirements Operating system The smart-house software can run under the following Windows versions: Windows 95 Windows 98 Windows ME Windows NT 4 Windows 2000 Always make sure to install the latest updates for your Windows operating system, in order to prevent problems in the use of both Windows and the smart-house software. PC hardware Minimum: Pentium III 200 MHz 64 MB RAM 50 MB free hard disk Graphics resolution of 800x600 pixels, 256 colours Anbefalet: Pentium III 700 MHz 128 MB RAM 50 MB free hard disk Graphics resolution of 1024x768 pixels, many colours Also required is a free COM port, which must be connected to the Dupline Master Generator, as well as a mouse connected to the PC. Internet browser Internet delen af smart-house softwaren kan afvikles under følgende Internet browsere: Netscape version 6 or higher Microsoft Internet Explorer version 4.0 eller higher To be able to use Netscape, it is necessary to install support software for Java during the installation of Netscape. Internet connection Once the smart-house has been registered, it can also be used without connection to the Internet. The requirements listed below are therefore rather recommendations to follow if the smart-house system is to be used through the Internet. Minimum: ISDN 64 kbit Recommended: ADSL 256 kbit or faster Carlo Gavazzi Handel A/S. All rights reserved. 4 af 15
Installation Hardware Before installing the smart-house software, it is a good idea to connect the Dupline Master Generator to the PC by means of the manufacturer-supplied cable, as shown under Introduction. You should note to which COM port you connect the Dupline Master Generator, because you will need this information when you configure the Server. Software Insert the CD-ROM containing the smart-house software. The installation program for the smart-house software starts up automatically, unless Auto insert notification has been deactivated in your Windows installation. If the installation program does not start automatically, you must start Windows Explorer and click on your CD- ROM drive. When the contents of the CD-ROM are shown, you must click on the install.exe file, which will start the installation. Since the installation program works in the same way as any other installation program under Windows, the actual installation process is not described further in this manual. In the Windows Start menu under Programs / smart-house, the following menu items are set up: In addition to menu items for start-up of the actual smart-house software, there is a menu item for automatic update of the smart-house software as well as a menu item for uninstallment. Updates are currently uploaded onto the Internet. It is a good idea to occasionally activate the Check for Updates menu item in order to be sure that you are always using the latest version of the smart-house software. Before checking for updates, it is very important to close all smart-house programs. When the installation has been completed, the smart-house Server must be registered online and configured. This process is described on the following pages. Carlo Gavazzi Handel A/S. All rights reserved. 5 af 15
Online registrstion To make the smart-house software work, the smart-house Server must first be registered online. Start the smarthouse Server by selecting the menu item Server in the Windows Start menu under Programs / smart-house. When the Server has been started up, the below dialog box appears for online registration of the Server. Enter name, address, e-mail address and serial number. Your personal serial number is printed on the back of the CD cover. When you have entered the above information, press the Register button to register and activate your personal smart-house Server. If you tick off Send me smart-house news, you will receive an e-mail as soon as an update for the smart-house software is ready. Be aware that you must be connected to the Internet in order to be able to register the smart-house Server. A normal dial-up modem connection is sufficient for this purpose. If the on-line registration is not completed, the program will run in an evaluation version, in which only a limited number of I/O nodes can be defined. After successful registration, the smart-house software is ready for use. Be sure to keep the CD with the serial number in a safe place, since you will need the serial number again, e.g. if you reinstall your PC. Carlo Gavazzi Handel A/S. All rights reserved. 6 af 15
smart-house Server Configuration Before you can start using the Configurator and Viewer programs, the Server must be configured. This is done by starting up the Server and defining the setup by means of the options which are available at the front panel of the Server. The Server front panel as well as the individual setup options are shown and described below. Server setup System password Enter a password of minimum 5 characters. This password must be used in the Configurator and Viewer programs in order to log onto the Server software. Web-server (HTTP) port A web-server normally runs on port 80. If you do not have other web-servers running on the same PC, you do not need to change this setup. Like the password, the port number must be entered in the Configurator / Viewer programs. It is thus possible to run the smart-house server together with another web-server on the same PC. You can, for example, use port 8080, if you already have another web-server running. Master Generator COM port Here you must select the COM port to which you have connected the Dupline Master Generator by means of the manufacturer-supplied serial cable. Start server when Windows starts If you tick off this checkbox, the smart-house server program starts automatically when Windows is started in connection with start-up of the PC. Start web-server automatically If this checkbox is ticked off, the web-server starts up automatically, when the smart-house Server program is started. Carlo Gavazzi Handel A/S. All rights reserved. 7 af 15
Allow remote configuration If this checkbox is ticked off, the system can be configured via the Configurator from a different PC than the one on which you have installed the Server. Be aware that all who know your password and the IP address of your Server on the Internet can configure your system, if you have selected this option. Email setup Email server (SMTP) To enable the server software to send e-mails, you must select the e-mail server which the server software must use. The e-mail server depends on your Internet provider. With, for instance, a TDC ADSL subscription, you must typically select post.tele.dk as your e-mail server. If the e-mail server of your Internet provider is not included in the list, you can enter it manually. You can find the name of the e-mail server of your Internet provider in the papers you received when starting your subscription to the Internet. E-mail address Here you can enter the e-mail address(es) to send to. If there are several e-mail addresses, they are separated either by a comma or a semicolon E-mail sending enabled When this checkbox is ticked off, Sending e-mails is active. Which e-mails will be sent is defined in the Configurator program described later in this manual. Test setup When you have completed your e-mail setup, you can test the setup by selecting this option. Server status At the bottom of the Server front panel there are two fields: Server user status Master Generator status In the Server user status field, you can always see how many users have logged onto your smart-house Server. In the Master Generator status field, you can see if the communication between Server and the Dupline Master Generator runs smoothly. The field will show one of the following texts: Idle The Server has not been started, or no Dupline configuration file has been imported via the Configurator program. Communication ok Communication between the Server and the Dupline Master Generator is ok. Communication error Error in the communication between Server and Dupline Master Generator. If this message is shown, you just check if your serial cable is connected correctly to the Dupline Master Generator and whether the COM port you have selected on the Server front panel is the port to which the cable is connected on your PC. Carlo Gavazzi Handel A/S. All rights reserved. 8 af 15
Konfiguration of your smart-house In order to configure your smart-house, you must start up the Configurator program. When the Configurator has been started, the below screen image appears: Before you proceed, you must start up the Server program as well as the web-server. This is done by starting the Server program under the menu item Programs / smart-house / Server in the Windows Start menu. When the Server has been started up, you must ensure that the actual web-server has also been started. If the web-server has not been started yet, you must click on the Start button on the Server front panel. The front panel of the Configurator has three entry fields: Server address IP address, domain name or name of the PC on which the server is running. When you run the Configurator on the same PC as the Server, you can use server address http://localhost. Server port The web-server (HTTP) port you have entered during setup of the Server. Password The password you have entered during setup of the Server. When you have made the above entries, you must click on the Connect button in order to connect the Configurator to the Server. Carlo Gavazzi Handel A/S. All rights reserved. 9 af 15
When connection has been established to the Server, the below screen image will appear: The first thing to do now is to import the Dupline configuration. This is done be selecting the menu item Configuration / Import Dupline configuration. When you select this menu item, a dialog box appears, in which you must identify the file containing the configuration of your Dupline network. The configuration file for your Dupline network is the file you have stored by using Carlo Gavazzi s Dupline configuration tool. When you have imported the Dupline configuration, the below screen image appears: This column shows actual in-/output status This function allows you to shift between Onand Off-status of the in- Here you select the values to be sent to a WAP telephone. In the drop-down menu you select whether an e-mail must be sent, when, for instance, an input changes from Off- to On-status In the I/O overview you can see all addresses available on your Dupline network. The overview is divided into digital (upper) and analink (lower) I/O s and gives a quick overview of which I/O s are on and off as well as of the actual values, etc. The channel descriptions can be changed within the table. Carlo Gavazzi Handel A/S. All rights reserved. 10 af 15
By activating the Shortcut function, the selected function is shown in a bar below the table, and by clicking on the function it is possible to change the parameters for the function here without having to change over to the drawing (see below). The Shortcut function (described above) is used, for instance, for central functions (e.g. Switch All Light Off). If the Confirm function is activated, you are given the opportunity to confirm your choice when you change status. The configurator is also the tool in which you make a drawing of your house (under the menu Drawing). When the menu item Add new drawing is selected, the below screen image appears: Carlo Gavazzi Handel A/S. All rights reserved. 11 af 15
Here you draw the house with doors and windows and places symbols for lamps, contacts, alarms and analog outputs (e.g. temperature measuring devices), etc. If you let the mouse hover over a menu item, a description of the function of that menu item will appear. The functions also include conventional text processing tools, e.g. text tool, marker tool and delete tool. The symbols for lamps, contacts, alarms and analog outputs (e.g. temperature measuring devices), etc. are placed by clicking on the relevant icon in the left-hand side, keeping the right mouse button down and dragging the icon to the desired position in the drawing. Double-clicking on an icon in the drawing makes it possible to change the parameters of the related function. With these two symbols, you can shift between off-line mode for editing the drawing and on-line mode for testing the I/O configuration Tools for drawing walls, doors, windows. Various icons dragged to the drawing from the menu to the left Carlo Gavazzi Handel A/S. All rights reserved. 12 af 15
Double-clicking on an icon which has been dragged to the drawing will cause a dialog box with drop-down menus to appear, in which it is possible to link the icons to the physical addresses in the smart-house network. Below, the dialog boxes for Coffee machine and Temperature in living-room are shown. You shift to On-line mode (shown below) to test the I/O configuration. Carlo Gavazzi Handel A/S. All rights reserved. 13 af 15
Use on local network or Internet In order to be able to use the smart-house software through a local network or the Internet, the PC on which the smart-house Server is installed must be connected to a network. The below figure gives an overview of where to use the individual programs: Internettet / LAN Server Viewer Configurator Ethernet Ethernet Viewer Configurator Internet browser Seriel forbindelse Dupline Master Generator In most cases, the Configurator and Viewer programs will be run on the same PC on which the Server is installed. But there is nothing to prevent the Configurator and Viewer programs from being installed on a different PC, in order, for instance, to be able to make changes in drawings from another PC than the one on which the Server is installed. Be aware that the smart-house Server may only be installed on a single PC, in accordance with the licence agreement. Installation on a different PC is possible because it is defined in the Configurator and Viewer programs which Server to connect to. In other words, no matter where in world you are, you will always be able to connect to a given Server, provided that this Server has a network connection. In a local network, the Server address is the name of the PC which was entered during installation of the Windows operating system. If you do not know the name of the PC on which the Server is installed, you can see it in the title bar of the Server, as shown below : On the Internet, the address of the Server is the IP number you have been given by your Internet provider or your domain name (e.g. http://www.mydomain.dk). The IP number must be entered in the following way in the address field of the Server: http://194.239.148.187 Carlo Gavazzi Handel A/S. All rights reserved. 14 af 15
In addition to accessing the Server from the Configurator and Viewer programs, it is also possible to access it via an Internet browser. To do so, you must start up your Internet browser and enter the Server address into the address field of the Internet browser, as shown below: If you have set up your Server to use a different HTTP port than 80, you must remember to change this in the Server port entry field in the Configurator and Viewer programs. Likewise, your Internet browser also needs to know that the Server listens on a different port than port 80. The below example shows the address to be entered if the Server has been set up to listen on port 8080. Example of a complete smart-house installation, seen from a standard Internet browser. Carlo Gavazzi Handel A/S. All rights reserved. 15 af 15