digitemp

Langue: en

Version: 57318 (mandriva - 22/10/07)

Section: 1 (Commandes utilisateur)

NAME

digitemp - program to read from temperature sensors.

SYNOPSIS

digitemp [options]

DESCRIPTION

DigiTemp uses the Dallas 1-wire bus to read temperatures from digital sensors attached to a serial port adapter. It handles initializing the bus, searching for attached devices, reading devices and custom log strings. It suports the following temperature devices: DS1820, DS18S20, DS18B20, DS1822

It also handles the DS2406 1-wire hub switches, and DS2422 and DS2423 counters.

DigiTemp uses either the DS9097 passive serial port adapter, or the DS2480B based DS9097U adapter (recommended).

OPTIONS

At least 1 action must be given, along with some optional arguments. Actions are one (and only on) of the -w -t -a -w options
-h, -?
Show summary of options.
-v
Show verbose output.
-i
Initialize .digitemprc file, search the bus for all supported devices.
-w
Walk the full device tree and display the serial number and type of all devices detected on the bus.
-s /dev/ttyS0
Set serial port to use. Make sure you have permission to access this port.
-l /var/log/temperature
Send output to logfile, the output format is defined by the .B -o command
-c digitemp.conf
Set digitemp configuration file. The default is .digitemprc in the current directory.
-r 1000
Read delay in ms. This sets the amount of time to wait between sending the temperature conversion command and reading the result. The DS18S20 takes about 750mS to do the temperature conversion. Default is 1000mS (1 sec).
-t #
Read sensor number #, the # depends on the order of the sensors in the