Data format:
[YYYYMMDDHHmmSS]TSSSSNBNBIDIDTHTL....IDIDTHTL

Where
YYYY = Year
MM   = Month
DD   = Day in month
HH   = Hour
mm   = minute
SS   = Seconds

T = Temperature readings follow
SSSS = 4 characters seconds elapsed since last boot of processor (hexadecimal)
NBNB = 4 characters number of sensors (hexadecimal)
IDID = 4 characters sensor identifier (hexadecimal)
TH   = 2 characters high temperature value (sign) (hexadecimal)
       if FF it is negative temperature value, if 0 positive temperature
TL   = 2 characters low temperature byte  (hexadecimal)
       bit 7-1 = temperature as integer
           0   = half degree accuracy


Temperature is 16 bit signed 2's complement number.

[YYYYMMDDHHmmSS]# some text here
 
# = what follows is a comment line

Empty line should be ignored

Example:
[20091116151413]# logfile opened (rotated=0)/tmp/tempmon.log
[20091116152638]T4E5200020001002C0002002C
[20091116152648]T4E5C00020001002C0002002C
[20091116152658]T4E6600020001002C0002002C
[20091116152708]T4E7000020001002C0002002C
[20091116152718]T4E7A00020001002C0002002C
[20091116152729]T4E8400020001003800020037
[20091116152739]T4E8E00020001003C0002003B
[20091116152749]T4E9800020001003E0002003D
[20091116152759]T4EA200020001003800020037
[20091116152809]T4EAC00020001003400020033
[20091116152819]T4EB600020001003200020031
[20091116153052]# logfile closed (rotated=0)/tmp/tempmon.log


Program must run as root to allow it listen to the network

The program listen to port 2004 for TCP/IP connections and data requests.
To get data one must request it by sending a *,
one can stop receiving data by sending a !.

