8 heatpump-dimplex-wpm - Munin plugin to display Diplex heatpump data
10 Tested with Dimplex NWPM, BIOS 4.1, BOOT 4.03, SOFTWARE: WPM_H_H54
14 You need to configure the hostname in the plugin name.
16 Symlink heatpump-dimplex-wpm_ as "heatpump-dimplex-wpm_192.168.20.71".
24 Christian Weiske <cweiske@cweiske.de>
29 http://www.gnu.org/licenses/agpl.html
37 . ${MUNIN_LIBDIR:=/usr/share/munin}/plugins/plugin.sh
39 host=`echo ${0##*/}|sed 's/^.*_//g'`
42 if [ "$1" = "config" ]; then
44 echo 'multigraph heatpump_dimplex_wpm_outtemp'
45 echo 'graph_title Außentemperatur'
46 echo 'graph_args --base 1000'
47 echo 'graph_vlabel °C'
48 echo 'graph_info Zeigt die gemessene Außentemperatur an'
50 echo 'graph_category sensors'
52 echo 'outtemp.label Außentemperatur'
55 echo 'multigraph heatpump_dimplex_wpm_heating'
56 echo 'graph_title Heizungstemperaturen'
57 echo 'graph_args --base 1000'
58 echo 'graph_vlabel °C'
59 echo 'graph_info Zeigt Heizungstemperatur-Betriebsdaten an'
61 echo 'graph_category sensors'
63 echo 'returntargettemp.label Rücklaufsolltemperatur'
64 echo 'returntemp.label Rücklauftemperatur'
65 echo 'influxtemp.label Vorlauftemperatur'
68 echo 'multigraph heatpump_dimplex_wpm_water'
69 echo 'graph_title Warmwasser'
70 echo 'graph_args --base 1000'
71 echo 'graph_vlabel °C'
72 echo 'graph_info Zeigt Warmwasser-Betriebsdaten an'
74 echo 'graph_category sensors'
76 echo 'watertargettemp.label Solltemperatur'
77 echo 'watertemp.label Warmwassertemperatur'
81 echo 'multigraph heatpump_dimplex_wpm_states'
82 echo 'graph_title Stati'
83 echo 'graph_args --base 1000'
84 echo 'graph_vlabel An/Aus'
85 echo 'graph_info Zeigt binäre Daten an'
87 echo 'graph_category sensors'
89 echo 'reqheating.label Anforderung Heizung'
90 echo 'reqwater.label Anforderung Warmwasser'
95 data=`curl -s "http://$host/usr-cgi/xml.cgi?A|1|125|D|1|150|I|1|100" | xsltproc paths.xsl -`
98 echo 'multigraph heatpump_dimplex_wpm_outtemp'
99 echo outtemp.value `echo "$data" | grep ANALOG/27 | cut -d" " -f2`
101 #Heating temperatures
102 echo 'multigraph heatpump_dimplex_wpm_heating'
103 echo returntargettemp.value `echo "$data" | grep ANALOG/28 | cut -d" " -f2`
104 echo returntemp.value `echo "$data" | grep ANALOG/29 | cut -d" " -f2`
105 echo influxtemp.value `echo "$data" | grep ANALOG/31 | cut -d" " -f2`
108 echo 'multigraph heatpump_dimplex_wpm_water'
109 echo watertargettemp.value `echo "$data" | grep ANALOG/40 | cut -d" " -f2`
110 echo watertemp.value `echo "$data" | grep ANALOG/30 | cut -d" " -f2`
113 echo 'multigraph heatpump_dimplex_wpm_states'
114 echo reqheating.value `echo "$data" | grep DIGITAL/136 | cut -d" " -f2`
115 water=`echo "$data" | grep DIGITAL/140 | cut -d" " -f2`
116 echo reqwater.value `echo $(($water * 2))`