add example for tr7432 master
authorMichael Gernoth <michael@gernoth.net>
Mon, 4 Feb 2019 16:12:39 +0000 (17:12 +0100)
committerMichael Gernoth <michael@gernoth.net>
Mon, 4 Feb 2019 16:12:39 +0000 (17:12 +0100)
ifmdl-temperature.conf

index 3c0ef63..4030bc7 100644 (file)
@@ -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,
+                       },
                }
        },
 ];
Impressum, Datenschutz