]> git.zerfleddert.de Git - upsgraph/blobdiff - ifmdl-temperature.conf
add example for tr7432
[upsgraph] / ifmdl-temperature.conf
index 3f9dd94a6145cf9b3fa60db97011c13803b81f0c..4030bc73ab6f387b4f52ec36eb6093f8cd355499 100644 (file)
@@ -9,14 +9,22 @@ $hosts = [
                'name' => "al13-og",
                'rrdfile' => "/var/spool/upsgraph/temp.al13-og.rrd",
 
-               'fields' => [ 'TD2501' ],
+               'fields' => [ 'TD2501', 'Klima' ],
 
                'vars' => {
                        'TD2501' => {
-                               'name' => 'TD2501',
-                               'url' => 'http://10.133.0.9/iolinkmaster/port[1]/iolinkdevice/pdin/getdata',
+                               '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