From: Tomasz Torcz Date: Wed, 23 Jul 2014 18:17:04 +0000 (+0200) Subject: onewire: add other temperature-providing sensor families X-Git-Tag: collectd-5.5.0~266^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5ea2525b20bb135d732c334c73f84f3242da5aac;p=collectd.git onewire: add other temperature-providing sensor families --- diff --git a/src/onewire.c b/src/onewire.c index 09a6bf09..1b7aee65 100644 --- a/src/onewire.c +++ b/src/onewire.c @@ -44,7 +44,7 @@ typedef struct ow_family_features_s ow_family_features_t; /* see http://owfs.sourceforge.net/ow_table.html for a list of families */ static ow_family_features_t ow_family_features[] = { - { + { /* DS18S20 Precision Thermometer and DS1920 ibutton */ /* family = */ "10.", { { @@ -54,6 +54,50 @@ static ow_family_features_t ow_family_features[] = } }, /* features_num = */ 1 + }, + { /* DS1822 Econo Thermometer */ + /* family = */ "22.", + { + { + /* filename = */ "temperature", + /* type = */ "temperature", + /* type_instance = */ "" + } + }, + /* features_num = */ 1 + }, + { /* DS18B20 Programmable Resolution Thermometer */ + /* family = */ "28.", + { + { + /* filename = */ "temperature", + /* type = */ "temperature", + /* type_instance = */ "" + } + }, + /* features_num = */ 1 + }, + { /* DS2436 Volts/Temp */ + /* family = */ "1B.", + { + { + /* filename = */ "temperature", + /* type = */ "temperature", + /* type_instance = */ "" + } + }, + /* features_num = */ 1 + }, + { /* DS2438 Volts/Temp */ + /* family = */ "26.", + { + { + /* filename = */ "temperature", + /* type = */ "temperature", + /* type_instance = */ "" + } + }, + /* features_num = */ 1 } }; static int ow_family_features_num = STATIC_ARRAY_SIZE (ow_family_features);