projects:1-wire:software
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
| projects:1-wire:software [2012/12/06 19:52] – benh | projects:1-wire:software [2013/12/20 18:25] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| ====== 1-Wire Software ====== | ====== 1-Wire Software ====== | ||
| - | [[http:// | + | [[http:// |
| + | {{: | ||
| - download sources <code bash> | - download sources <code bash> | ||
| - untar archive <code bash>tar xzvf digitemp-3.6.0.tar.gz</ | - untar archive <code bash>tar xzvf digitemp-3.6.0.tar.gz</ | ||
| Zeile 7: | Zeile 8: | ||
| - copy binary <code bash>cp ./ | - copy binary <code bash>cp ./ | ||
| - create softlink <code bash>ln -s / | - create softlink <code bash>ln -s / | ||
| - | - search for 1-wire sensors (walk the tree) <code bash> | + | - search for 1-wire sensors (walk the tree) <code bash> |
| - | <note>root@habakuk: | + | DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane |
| - | DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane | + | GNU Public License v2.0 - http:// |
| - | GNU Public License v2.0 - http:// | + | Turning off all DS2409 Couplers |
| - | Turning off all DS2409 Couplers | + | .. |
| - | .. | + | Devices on the Main LAN |
| - | Devices on the Main LAN | + | 10444341020800A3 : DS1820/ |
| - | 10444341020800A3 : DS1820/ | + | 28F4E539040000FD : DS18B20 Temperature Sensor</code> |
| - | 28F4E539040000FD : DS18B20 Temperature Sensor</note> | + | - write config file to .digitemprc <code bash> |
| + | 10444341020800A3 : DS1820/ | ||
| + | 28F4E539040000FD : DS18B20 Temperature Sensor | ||
| + | ROM #0 : 10444341020800A3 | ||
| + | ROM #1 : 28F4E539040000FD</ | ||
| + | - edit config file <code bash>vi .digitemprc</ | ||
| + | TTY / | ||
| + | READ_TIME 1000 | ||
| + | FAIL_TIME 5 | ||
| + | LOG_TYPE 1 | ||
| + | #LOG_FORMAT "%b %d %H:%M:%S Sensor %s C: %.2C F: %.2F" | ||
| + | LOG_FORMAT " | ||
| + | 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%%"</ | ||
| + | - request temperature from sensors <code bash> | ||
| + | 2012-12-07 00:48:51 Sensor_0 (10444341020800A3) 20.31 | ||
| + | 2012-12-07 00:48:52 Sensor_1 (28F4E539040000FD) 20.94</ | ||
| + | |||
| + | | ||
projects/1-wire/software.1354819935.txt.gz · Zuletzt geändert: (Externe Bearbeitung)
