-
Notifications
You must be signed in to change notification settings - Fork 3
/
viessmann
44 lines (38 loc) · 1.27 KB
/
viessmann
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/sh
# Host to connect
VC_HOST=localhost
# Port as defined with ser2net
VC_PORT=3002
if [ "$1" = "autoconf" ]; then
echo yes;
exit 0;
fi
if [ "$1" = "config" ]; then
cat << __EOM
graph_title heating temperatures
graph_args --lower-limit -20 --upper-limit 100
graph_category Viessmann
graph_vlabel Temp C
graph_scale no
graph_info This graph shows some of the temps
getOutsideTemp.label Outside Temp
getOutsideTemp.info Outside temperature in degrees C.
getWaterTemp.label Hot Water
getWaterTemp.info hot water temperature in degrees C
getBoilerTemp.label Boiler Temp
getBoilerTemp.info boiler temperature in degrees C.
getTemp17B.label Return water 17B
getTemp17B.info 17B water temperature
getHotWaterTemp1.label Hot Water Temperature 1
getHotWaterTemp1.info HotWater Temperature Sensor 1
getHotWaterTemp2.label Hot Water Temperature 2
getHotWaterTemp2.info HotWater Temperature Sensor 2
getRoomTempSP.label Room Temperature Setpoint
getRoomTempSP.info Room Temperature Setpoint
getDHWTempSP.label Hot Water Temperature Setpoint
getDHWTempSP.info Hot Water Temperature Setpoint
__EOM
exit 0;
fi
/usr/local/bin/vclient -m --host $VC_HOST --port $VC_PORT getTemp17A getOutsideTemp getWaterTemp getBoilerTemp getTemp17B getHotWaterTemp1 getHotWaterTemp2 getRoomTempSP getDHWTempSP
exit 0