add heating setting
[munin-heatpump.git] / heatpump-dimplex-wpm_
index fff7fe716b21d46d4fc50581d701a7659e555a51..d981115ef17f14802693c22d807dc27b4c6ddbd9 100755 (executable)
@@ -52,14 +52,14 @@ if [ "$1" = "config" ]; then
 
     #Outdoor temperature
     echo 'multigraph heatpump_dimplex_wpm_outtemp'
-    echo 'graph_title Außentemperatur'
+    echo 'graph_title Aussentemperatur'
     echo 'graph_args --base 1000'
     echo 'graph_vlabel °C'
     echo 'graph_info Zeigt die gemessene Außentemperatur an'
     echo 'graph_scale no'
     echo 'graph_category sensors'
 
-    echo 'outtemp.label Außentemperatur'
+    echo 'outtemp.label Aussentemperatur'
     echo 'outtemp.draw LINE1'
 
     #Heating temperatures
@@ -71,9 +71,9 @@ if [ "$1" = "config" ]; then
     echo 'graph_scale no'
     echo 'graph_category sensors'
 
-    echo 'returntargettemp.label Rücklaufsolltemperatur'
-    echo 'returntargettemp.draw LINE1'
-    echo 'returntemp.label Rücklauftemperatur'
+    echo 'returntargettemp.label Ruecklaufsolltemperatur'
+    echo 'returntargettemp.draw LINE2'
+    echo 'returntemp.label Ruecklauftemperatur'
     echo 'returntemp.draw LINE1'
     echo 'influxtemp.label Vorlauftemperatur'
     echo 'influxtemp.draw LINE1'
@@ -88,7 +88,7 @@ if [ "$1" = "config" ]; then
     echo 'graph_category sensors'
 
     echo 'watertargettemp.label Solltemperatur'
-    echo 'watertargettemp.draw LINE1'
+    echo 'watertargettemp.draw LINE2'
     echo 'watertemp.label Warmwassertemperatur'
     echo 'watertemp.draw LINE1'
 
@@ -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`