Server
The YALI server connects to a LCN-PK module using a serial interface. Using this interface all LCN messages can be monitored and own message can be sent to the LCN bus.
The server collects statistics and stores the actual state of all module outputs (all lights in the building). This state is obtained by monitoring commands that change the state of outputs. If no state changing command has been recorded for a longer period of time (for example some minutes) a report of the actual state is automatically requested by the server.
The server can be commanded to change the state of outputs itself. In this case a LCN command is generated and sent to the LCN bus. A acknowlegde is requested from the target LCN module. If the acknowledge is not received, the command is automatically repeated up to three times.
The server can be configured to write log files with all relevant LCN transactions.
On the other side the server provides a TCP/IP server connection, that allows a large (configurable) number of clients to connect. The TCP/IP protocol is kept simple and hides most LCN specific details.
The server provides all the information about the LCN network for the client.
Client
The YALI client connects to the server by TCP/IP. The advantage of TCP/IP is, that the well established Internet / Intranet infrastructure can be used to carry the LCN commands.
The client is stateless, which means, that at startup the client has no information about the LCN network. First step after connecting a server is to obtain all network specific data. (The list of commandable outputs, associated names and their current state)