We will use the TH-03 to monitor temperatures in our server rooms, and for this purpose, it is extremely important to know, whether there actually is a temperature measurement going on.
As it is now, the th03lnx program only writes the temperatures to the shared memory, but it doesn't provide any information about the age of these measurements. This means, that the temperatures in the shared memory can be very old measurements, which are no longer valid.
There is a field named "active", but it seems to be stuck on 1 if you kill the th03lnx program.
I would strongly suggest to put a Linux timestamp into the shared memory every time the temperatures are updated - this would solve this problem, and should be quite easy to make.
I am more than willing to be a beta tester on this one
- Takes a parameter (0, 1 or 2), that specifies what temperature we want to read
- Exits with an error code and an error message if temperature is zero.
- Otherwise, it reads the temperature and writes it to stdout
- At last it zeroes the temperature.
Our network monitoring application (http://www.sysorb.com/) then queries the temperature once each minute. This is enough to ensure that the temperature is rewritten by th03lnx before the next measurement, and if th03lnx should fail to write new temperature measurements into share memory, then sysorb will issue an alert. Works perfectly...
I have successfully connected a TH03 unit using the th03lnx driver and have been able to obtain the 'tracking' information together with the temperature readout. The crunch comes when I cancel the driver and try to use the make file for the next stage of the set up. When I use the make th03shm.c command i get a reply saying that the commands cannot be found for lines 1 through 16. I also get a syntax error for line 36.
Does anyone have any suggestions as to what I might be doing wrong?