Skip to content
Stefan Andres edited this page Nov 22, 2015 · 8 revisions

Architecture

Socket Handler

Handles the connection to client. It handles all requests from the client and format all anwsers.

It publish on port 31113 (can be changed in config-file) 2 interfaces:

  • UDP Broadcast interface
  • TCP/IP communication interface

UDP Broadcast

For finding the optolink-adapter on the LAN.
The broadcast message must be @@@@VIROTRONIC@@@@/.
The anwser of the this messages is @@@@VIROTRONIC@@@@/<adapter-name>.

TCP/IP Interface

The interface implement a RAW Data communication. It is a commandline at the reciever side, a xml data structure on the sender side. After starting the application the Interface listen to connection. The Interface is for single use (only one client can connect).

Protocol Handler

Transforms the requested command into commands for the heating system. It suports the KW and 300 protokol of the heating system (define in config file).

Node: I habe test the KW protokol rudimentary, only. It works but I not realy happy about performance.

Optolink Interface

The technical adaption to the heating system. It use the serial interface (RXTX). For the adaption of the serial interface to the heading system you need a special optolink hardware.

Config

The config component managed basic configuration items (port, adapter-name, serial device, timeout) and the transformation of the heading system data model to the openHAB model.

XML-file

Defined the transformation of the heating system data model to the openHAB model.