Ethernet Access Point

When an EG is configured as a permanent Ethernet access point, it allows your browser or the EnvisionTouch self-configuring mobile app to communicate with the control system over the Wi-Fi/LAN/Internet. A browser is only able to communicate with one EG at a time, so control is limited to the logical areas set in each EG. However, if a common logical address range is set in each EG then these areas can all be controlled even if they span different EG’s.

To set up the EG as an Ethernet access point, you must first run the sb icon bridge wizard Bridge Configuration Wizard to enable the DyNet Ethernet Access Point routing. Refer to Wireless Commissioning > Adding an IP Address.

Basic authentication is provided for web server, Telnet, and FTP connections by adding usernames and passwords in SB.

Add EG users:
  1. In SB, select the EG and open the Device Properties tab.

  2. Enable Web server and/or Telnet (PDEG/PDEB only) applications and related properties.

    For security reasons, FTP support has been deprecated in the EG firmware. If visible in SB, you should leave this option disabled.
  3. Open the Users tab and click Add to create new users (maximum: 5 per EG).

  4. Under User Properties, enter the Name/Password and set the Enable property to True.

  5. Under General Permissions, set Web server and/or Telnet to Enabled as needed.

  • Usernames and passwords have a 40 character limit and are case sensitive.

  • If usernames and passwords are forgotten and you do not have the job file, they can be retrieved from the EG using sb icon load from device Load from Device. They can be backed up or replaced, but cannot be viewed in SB.

Wi-Fi access

Gateway web pages and mobile apps accessing the connected lighting control system auto-configure by reading the configuration data (project.xml file) stored in the EG. This saves configuration time and ensures control accuracy.

Once you have completed the logical configuration by entering your area, channel and preset names, you can upload your Project.xml file to the device.

Click sb icon save to device Save to Device after making any configuration changes.

SB has an option to upload a project.xml file by right-clicking the EG and selecting Gateway Actions > sb icon upload configuration Upload Configuration > Upload Logical Configuration.

To control the system, connect your browser or the EnvisionTouch self-configuring mobile app to the network via Wi-Fi and enter the IP address of the EG. The controls in the app auto-configure based on the project.xml file in the EG. The EG supports up to 30 concurrent sessions for mobile apps.

The EG must have an IP address to upload the file. Refer to Wireless Commissioning about adding an IP address. Also, ensure that the EG is on the same subnet as your mobile device. Wireless routers/access points usually give out IP addresses within a certain range, e.g.: 192.168.10.1 to 192.168.10.100.
To establish a secure connection when using an app, you may need install the certificate for the relevant operating system on your mobile devices. Refer to Signify Certificate Installation.

Uploading files

To upload other XML project files to the EG, right-click and select any of the following:

  • sb icon upload configuration Gateway Actions > Upload Configuration >

    • Upload Logical Configuration

    • Upload Device List

    • Upload Job Properties

    • Upload All

To upload a custom web interface, right-click the EG and select Gateway Actions > sb icon upload custom web pages Upload Custom Web Pages…. You may decide to delete the existing web pages via the checkbox in the Web Page Upload dialog box. Reset the device to apply the new configuration.

sb device web page upload pddeg s
  • Files on the PDEG must use the 8.3 filename format.

  • Files can be transferred from a project folder on PDDEG-S or on PDEG with firmware 3.53 or later, (PDEG doesn’t support compressed files)

  • FTP cannot be used to update files on PDDEG-S, PDTS, and PDEG (firmware 3.58 or later)

  • You can also save your Project.xml file by selecting File > Export > Logical Data….

  • When transferring a custom web interface, custom settings, or updating the project.xml, be aware that the index.htm file (or another starting web page) must exist before proceeding. Do not use a compressed file format.

  • To upload files, SB must be connected to the device over Ethernet. Other settings can be modified when SB is connected to either Ethernet or RS-485.

There are two main directories on the device:

  • Directory A

  • Directory B eg files directory a b

    • /WWW

      • /GZIP contains all pre-compressed user interface files for EG. N.B. any uncompressed files referenced from this folder will return browser errors.

      • /IMAGES contains all images (JPG/GIF/PNG) used within the user interface files.

      • /USER a folder containing user defined custom web pages, if any.

      • /INDEX.HTM existing default homepage for the EG web interface.

      • /PROJECT.XML project specific configuration file created on the EG. This file is not present within the installation files.

      • /VERSION.TXT EG user interface build version.

HTTPS Secure Access

HTTPS provides a secure connection between your browser and an Ethernet gateway.

HTTPS adds two things to HTTP: secrecy and trust. Secrecy is established with an SSL/TLS TCP connection that encrypts the browser’s data communications.

The most common solution for establishing trust, is based on certificates signed by third-party certificate authorities. Typically, a chain-of-trust is established for a server by preinstalling a signed web-server certificate, supplied by a certificate authority (CA) trusted by the client.

Configuring HTTPS

System Builder has the capability to manage certificates, sign certificates, send certificate signing requests and configure users with different access permissions.

There are three web server certificate options for establishing HTTPS access to the gateway:

System Builder Certificate (Recommended)

For most applications it is preferable to create and upload a System Builder signed certificate on the gateway and install the matching root certificate for each client’s browser or app that will access the server.

Self-Signed Certificate

Request the gateway to generate a self-signed certificate. This allows a secure connection using HTTPS however, the browser will show a non-trusted warning.

Certificate Authority Signed Certificate

If you have a domain, you may select a Certificate Authority signed certificate. System Builder will instruct the EG to create a Certificate Signing Request (CSR) from the private key built in to the EG. The CSR can then be sent to a third-party CA. It is the responsibility of the CA to determine if you are trustworthy. They can respond to the certificate signing request by signing your server certificate and sending you the result. You then upload the signed certificate onto your EG. The signed certificate usually does not need to be installed for each client as third-party CA’s are already known to most browsers, however there may be ongoing costs with this option.

  • You must have a user configured with Web server, CGI, Certificate read and write enabled. For more information on user permissions, refer to Property Editors - Users.

  • EG firmware version v3.44 and above supports secure connections via HTTPS. Web pages can be accessed via HTTPS however mobile apps currently only support HTTP.

  • The Device Site Certificate for TLS connections option is used to establish a TLS TCP connection between the PDDEG-S and other Ethernet enabled devices, such as the DDRC-GRMS-E and the DDBC320-DALI.

  • The 802.1X certificates option is used when clients only want devices they know about on the network. If the device does not present the correct credentials (certificate) then that ethernet port is disconnected and the device is not allowed to send traffic.

Create System Builder Certificate:
  1. Connect SB to the EG over Ethernet.

  2. Right-click the EG and select Gateway Actions > sb icon manage certificate Manage Certificate…

  3. Enter the gateway details and location information.

  4. Click Select Certificate Type > System Builder Certificate.

  5. Click the Create and Upload button. After 1-2 minutes, System Builder creates a signed certificate file on the EG. Restart the EG to apply the certificate.

    sb cert mgr sb cert
  6. Click the Save Root Certificate to File button to save the (.cer) file to your PC.

  7. Right-click the security certificate (.cer) file on your PC and select Install Certificate to open the Certificate Import Wizard.

  8. In the wizard, click the Next button, then select Place all certificates in the following store and set the Certificate store to the Trusted Root Certification Authorities folder.

    sb cert import wizard trca
  9. Click the Next button and Finish button to complete the import wizard. The wizard displays a security warning.

  10. Click the Yes button to install the certificate. The wizard shows a message that the import was successful.

  11. In Device Properties > Ethernet Applications > Secure connection (HTTP/HTTPS) select HTTPS from the dropdown list.

    sb device properties eg https
  12. Click Save to device or press F12 to upload your changes to the EG.

Create Self-Signed Certificate:
  1. Connect SB to the EG over Ethernet.

  2. Right-click the EG and select Gateway Actions > sb icon manage certificate Manage Certificate…

  3. Enter the EG details and location information.

  4. Click Select Certificate Type - Self-signed Certificate.

  5. Click the Create Certificate button. After 1-2 minutes, System Builder creates a self-signed certificate file on the EG. Restart the EG to apply the certificate.

    sb cert mgr self signed
  6. In Device Properties > Ethernet Applications > Secure connection (HTTP/HTTPS) select HTTPS from the dropdown list.

  7. Click Save to device or press F12 to upload your changes to the EG.

Create Certificate Authority (CA) Certificate:
  1. Connect SB to the EG over Ethernet.

  2. Right-click the EG and select Gateway Actions > sb icon manage certificate Manage Certificate.

  3. Enter the gateway details and location information.

  4. Click Select Certificate Type - Certificate Authority (CA) certificate.

  5. Click the Request from Gateway button. After 1-2 minutes, System Builder creates a certificate signing request file on the EG.

  6. Click the Save Request to File button to save the (.csr) file to your PC and send the CSR file to a CA for signing.

    sb cert mgr ca
  7. After the CA returns the signed certificate, click the Select and Upload button, select the certificate file (.pem) and click Open. System Builder uploads the file to the EG. Restart the EG to apply the certificate.

  8. In Device Properties > Ethernet Applications > Secure connection (HTTP/HTTPS), select HTTPS from the dropdown list.

  9. Click Save to device or press F12 to upload your changes to the EG.

Establishing a HTTPS Connection

To confirm your signed certificate, open the EG homepage in your browser by entering https:// followed by the EG’s IP address. When a browser connects to the gateway’s web server, it will prompt you to enter your username and password (as set up in SB in the EG’s Users property editor).

win eg login

The browser will verify that your server certificate has been signed by a trusted CA, and establish a secure connection with the EG web server.

win browser eg cert

To see whether a website is safe to visit, you can check the site’s security information by looking at the security status to the left of the URL bar. The browser will alert you if you cannot visit the site safely or privately with a visual indicator such as a red address bar and/or an error message warning that the server certificate is not trusted. Secure HTTPS connections are indicated with a closed padlock icon.