Light Engine Server

Quick acess links:

Introduction

Light Engine is controlled by the Web GUI, we only need to know the IP address in order to access it - no software installation needed. For example if the IP address of the Light Engine is 192.168.1.17 we just need to open any Web browser and type the URL:

http://192.168.1.17

After power up Light Engine needs about 20 seconds to start responding to commands. Before powering down use SHUTDOWN command, or "Shutdown" button in the Web GUI. This is needed for the internal control computer to shut down in a regular. It is not recommended to power down without first exectuing SHUTDOWN command.

How to obtain IP address of the Light Engine?

Light Engine gets IP address dynamically via DHCP and we don't know what it is the first time we connect it to the Local Area Network. One way to discover the IP address is to open LAN router interface and look for "Beaglebone" in the DHCP map. This may be difficult or not possible for some users.

Recommended procedure is to connect the Light Engine to COM port and then query it for its IP address, with the command:

GET IP 

However, for this to work we need to know which COM (RS232) port the Light Engine is connected to. We can talk to the Light Engine via any terminal application that can connect to COM port. We need to set the baud rate is 115200.

We can also use test application UDPTester to send serial commands and discover the IP.

UDPTester

UDPTester is a Windows application for testing Light Engine. It can also be used to talk to the Light Engine via serial port and discover its IP address.

For sending UDP commands, enter IP address and port number (8095 by default).

For sending serial commands, enter COM port and baud rate (115200 by default).

Command syntax is the same in both cases.

Download test application: UDPTester
(Windows only)

Controlling Light Engine via COM port (RS232) interface

COM port interface is an alternative to using UDP of Web-browser commands. In that case we need to use a "terminal" application.

Mac OSX

For information about COM ports on Mac and suggested terminal applications see here.

Windows

On Windows there is a variety of commercial terminal applications. Suggested free ones are:

PuTTY

Command Reference

We can send commands to LE via RS-232 and UDP. Command syntax is the same in both cases.

UDP Programming: C++ Example

To control the Light Engine programmatically we need to send UDP commands directly to UDP socket. By default Light Engine Server listens on port 8095. UDP commands can be sent from any programming language, such as Java, C#, Python, etc. The most efficient way is by using C or C++ with low-level system calls for manipulating sockets.