From 4e1140594ca723ee781797076b10dd787d498a4c Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Mon, 4 Feb 2019 17:12:39 +0100 Subject: [PATCH 1/1] add example for tr7432 --- ifmdl-temperature.conf | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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, + }, } }, ]; -- 2.39.5