add heating setting
authorChristian Weiske <cweiske@cweiske.de>
Sun, 28 Dec 2014 06:36:48 +0000 (07:36 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Sun, 28 Dec 2014 06:36:48 +0000 (07:36 +0100)
heatpump-dimplex-wpm_

index a9a0d6c..d981115 100755 (executable)
@@ -107,6 +107,18 @@ if [ "$1" = "config" ]; then
     echo 'reqwater.label Anforderung Warmwasser'
     echo 'reqwater.draw LINE1'
 
+    #settings: heating level
+    echo 'multigraph heatpump_dimplex_wpm_heating_level'
+    echo 'graph_title Heizungseinstellung'
+    echo 'graph_args --base 1000 --lower-limit 0 --upper-limit 38'
+    echo 'graph_vlabel Einstellung'
+    echo 'graph_info Shows the heating setting'
+    echo 'graph_scale no'
+    echo 'graph_category settings'
+
+    echo 'circuit1.label Heizkreis 1'
+    echo 'circuit1.draw LINE1'
+
     exit 0
 fi
 
@@ -153,3 +165,7 @@ echo 'multigraph heatpump_dimplex_wpm_states'
 echo reqheating.value `echo "$data" | grep DIGITAL/136 | cut -d" " -f2`
 water=`echo "$data" | grep DIGITAL/140 | cut -d" " -f2`
 echo reqwater.value `echo $(($water * 2))`
+
+#Settings: Heating level
+echo 'multigraph heatpump_dimplex_wpm_heating_level'
+echo circuit1.value `echo "$data" | grep 'INTEGER/1 ' | cut -d" " -f2`