tsld - Temperature Sensor Logging Daemon

What is it?

tsld is a daemon which reads temperature data from a temperature logger using Dallas DS1820 sensors and a PIC12C509. The hardware was designed by James Cameron, described on James' site here:


What can it do?

tsld can log the output of the sensors to a directory (one file per day), to a flat file (rotated with logrotate) or to an RRD database. It can log to both a directory or file and to an RRD database at the same time.

How is it licenced?

tsld is licenced under the GNU General Public Licence (GPL).

Where do I get it?

The latest version is available in source form here:

tsld-0.4.tar.gz (GPG signature)

A source RPM is available here:


A binary RPM for Redhat 7.3 is available here:


Both RPMs are signed with my PGP key (available here or on a public keyserver).

How do I install it?

Do one of the following:

How do I run it?

Connect your temperature sensor to /dev/ttyS0 and run:

tsld -l /var/spool/tsld -r /var/run/tsld.pid

If you're using a different serial port, e.g. /dev/ttyS1, add -s /dev/ttyS1 to the command line. You can also run tsld as a different user or group with the -u and -g switches. See the man page or README file for more information.

NOTE: tsld will refuse to run as root. You must use -u and -g if you start tsld automatically at system startup.


A brief introduction can be found in the README file is here. For further detail, see the man page (unformatted) in the source or binary distributions.