DigiTemp v3.5.0 by Brian C. Lane
Download
wget http://www.digitemp.com/software/linux/digitemp-3.6.0.tar.gz
tar xzvf digitemp-3.6.0.tar.gz
cd digitemp-3.6.0/
make ds9097
cp ./digitemp_DS9097 /usr/local/bin/
ln -s /usr/local/bin/digitemp_DS9097 /usr/local/bin/digitemp
digitemp -w -s /dev/ttyS0
sample output:
DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane
GNU Public License v2.0 - http://www.digitemp.com
Turning off all DS2409 Couplers
..
Devices on the Main LAN
10444341020800A3 : DS1820/DS18S20/DS1920 Temperature Sensor
28F4E539040000FD : DS18B20 Temperature Sensor
digitemp -q -i -s /dev/ttyS0
sample output:
10444341020800A3 : DS1820/DS18S20/DS1920 Temperature Sensor
28F4E539040000FD : DS18B20 Temperature Sensor
ROM #0 : 10444341020800A3
ROM #1 : 28F4E539040000FD
vi .digitemprc
TTY /dev/ttyS0 READ_TIME 1000 FAIL_TIME 5 LOG_TYPE 1 #LOG_FORMAT "%b %d %H:%M:%S Sensor %s C: %.2C F: %.2F" LOG_FORMAT "%Y-%m-%d %H:%M:%S Sensor_%s (%R) %.2C" CNT_FORMAT "%b %d %H:%M:%S Sensor %s #%n %C" HUM_FORMAT "%b %d %H:%M:%S Sensor %s C: %.2C F: %.2F H: %h%%"
digitemp -q -a
sample output:
2012-12-07 00:48:51 Sensor_0 (10444341020800A3) 20.31
2012-12-07 00:48:52 Sensor_1 (28F4E539040000FD) 20.94