Readme file rewritten.
This commit is contained in:
@@ -3,10 +3,6 @@ ebus Daemon (ebusd) - README
|
|||||||
|
|
||||||
ebus (energy bus) is a serial communication protocoll used in heating systems.
|
ebus (energy bus) is a serial communication protocoll used in heating systems.
|
||||||
|
|
||||||
ebusd acts like a proxy. On the one hand it is listing on a TCP port 8888 for
|
|
||||||
incoming telnet connections. On the other hand it sends and receive ebus message
|
|
||||||
via ebus-usb adapter to or from the ebus.
|
|
||||||
|
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
=========
|
=========
|
||||||
@@ -48,56 +44,7 @@ $ make
|
|||||||
Daemon Configuration:
|
Daemon Configuration:
|
||||||
=====================
|
=====================
|
||||||
|
|
||||||
The daemon will search ist configuration file ebusd.conf primary at /etc/ebusd.
|
See ./ebusd -h
|
||||||
This can be override by given commandline option -C. For detailed help of daemon
|
|
||||||
configuration try ./ebusd -h or take a look at ebusd.conf file.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Command Configuration:
|
|
||||||
======================
|
|
||||||
|
|
||||||
In short some description to the neccassarry structure of the csv files.
|
|
||||||
|
|
||||||
* [ 3] type - type of command (get, set, cyc)
|
|
||||||
* [ 5] class - comand class (ci, ...)
|
|
||||||
* [ 30] cmd - command (password, ...)
|
|
||||||
* [ 256] com - description of the command
|
|
||||||
* [ int] s_type - ebus message type (BC = 1, MM = 2 or MS = 3)
|
|
||||||
* [ 2] s_zz - hex address from slave (15)
|
|
||||||
* [ 4] s_cmd - primary and secendory ebus command (e.g. B509)
|
|
||||||
* [ int] s_len - length of data bytes
|
|
||||||
* [ 32] s_msg - data bytes of message
|
|
||||||
* [ int] d_elem - number of elements from different data types
|
|
||||||
|
|
||||||
For each different data type must defined the follow struture
|
|
||||||
|
|
||||||
* [ 20] d_sub - subcommand (pin1, ...)
|
|
||||||
* [ 2] d_part - part of message for data bytes (MD, SA, SD, MA)
|
|
||||||
* [ 10] d_pos - position at data bytes (1, 2, 3, ...)
|
|
||||||
* [ 3] d_type - data type (asc, bcd, ...))
|
|
||||||
* [float] d_fac - facter to scale data (1.0, 0.02, ...)
|
|
||||||
* [ 6] d_unit - unit of data (°C, ...)
|
|
||||||
* [ 30] d_valid - possible entrys (01, 02, 03, ...)
|
|
||||||
* [ 256] d_com - description of sub command
|
|
||||||
|
|
||||||
|
|
||||||
Different data types [decode|encode]:
|
|
||||||
|
|
||||||
* [de] x - asc - ascii
|
|
||||||
* [de] 1 - bcd - bcd
|
|
||||||
* [de] 1 - d1b - data1b
|
|
||||||
* [de] 1 - d1c - data1c
|
|
||||||
* [de] 2 - d2b - data2b
|
|
||||||
* [de] 2 - d2c - data2c
|
|
||||||
* [d ] 3 - bda - date (bcd format)
|
|
||||||
* [de] 3 - hda - date (hex format)
|
|
||||||
* [d ] 3 - bti - time (bcd format)
|
|
||||||
* [de] 3 - hti - time (hex format)
|
|
||||||
* [d ] 1 - bdy - day (bcd format)
|
|
||||||
* [de] 1 - hdy - day (hex format)
|
|
||||||
* [d ] x - hex - print data only with 2-nibble hex format
|
|
||||||
* [d ] 4 - ulg - unsigned long
|
|
||||||
|
|
||||||
|
|
||||||
The author can be contacted at roland.jax@liwest.at.
|
The author can be contacted at roland.jax@liwest.at.
|
||||||
|
|||||||
Reference in New Issue
Block a user