From: Michael Gernoth Date: Mon, 4 Feb 2019 16:12:39 +0000 (+0100) Subject: add example for tr7432 X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/upsgraph/commitdiff_plain/HEAD?ds=inline add example for tr7432 --- diff --git a/ifmdl-temperature.conf b/ifmdl-temperature.conf index 3c0ef63..4030bc7 100644 --- a/ifmdl-temperature.conf +++ b/ifmdl-temperature.conf @@ -9,16 +9,23 @@ $hosts = [ 'name' => "al13-og", 'rrdfile' => "/var/spool/upsgraph/temp.al13-og.rrd", - 'fields' => [ 'TD2501' ], + 'fields' => [ 'TD2501', 'Klima' ], 'vars' => { 'TD2501' => { - 'name' => 'TD2501', + 'name' => 'P1-TD2501 - Raumtemperatur Serverraum OG', 'adr' => 'iolinkmaster/port[1]/iolinkdevice/pdin/getdata', 'proto' => 'iotcore', 'factor' => 1/10, 'mask' => 0xffff, }, + 'Klima' => { + 'name' => 'P2-TR7432 - Auslasstemperatur Klimaanlage OG', + 'adr' => 'iolinkmaster/port[2]/iolinkdevice/pdin/getdata', + 'proto' => 'iotcore', + 'factor' => 1/40, + 'mask' => 0xfffc, + }, } }, ];