Building Automation eHouse – Communication between the software package and panels – Broadcast controllers status, UDP broadcast

Home Automation , Building Management

eHouse – more ways to distribute the drivers status to the control panel.

Another way to inform the control panel the state of microprocessor controllers from eHouse.exe or Ethernet controllers directly, is using UDP broadcast – simultaneously to multiple devices in an Ethernet network .

The application of each panel does not check periodically the status of files on your server PC system eHouse but listens messages addressed to all devices at once on the software eHouse .

This is a particularly valuable method for the visualization of information on panels and display the status of drivers , outputs and the measurements in situations where:

  • going to install a large number of panels , which led to a large load on the eHouse system server Control Automation , and LAN via TCP/IP
  • install panels running on other operating systems than Windows XP , Vista , Windows 7 and 8 , where there is no support for Microsoft
  • The control panels working on applications written in programming languages , where it is easier to program the receiving broadcast UDP over Ethernet
  • We want to send the same message to all devices at once without overloading the link repeatedly duplicating the same information or data server which
  • The server does not have to maintain multiple connections at the same time (one for each client) , and charged the client application is its connection
  • The server does not depend on the established connection errors , link , a client simply sends the information to the LAN and no interest if someone is on the line or not , or how many customers receive data

eHouse Home Automation Software can spread the information in two ways:

  • Text: information is sent in text file format as a file status for panels and windows directory created eHouseLogAnalizer ‘logs/status/’ extension “.status”
  • binary: the same as the format of the status of the Home Automation Controllers eHouse application . exe

The first method used in the library eHouseLogAnalizer , that can communicate with the system eHouse both the Windows file system , and receive a text broadcast in the same format .

The second method can be used in other types of panels (Android , Java , Windows Mobile) and contains all the controllers compressed frame with a length of 2-3 hundred bytes per controller. However, it requires decoding data on client side.

Activation Broadcast – UDP broadcast file is made “broadcast_text.cfg” for broadcast text , and “broadcast_binary.cfg” file to the root directory of the binary software eHouse.

It should be the first line change the 0 to 1 to enable the broadcast.

example file:

1 // activation broadcast

192.168.0.255 // network address for broadcast also depends on the subnet mask of your computer

6788 // Port broadcast

0 // localport – not change

1 // level of reporting – not change

1 // Do not change

After the changes, the file is re-boot software eHouse.exe