fix influx query so we can retrive data
[vaillant-thermostat] / temp.gnuplot
1 set terminal pngcairo mono size 600,800
2
3 set xdata time
4 set timefmt "%s"
5
6 set pointsize 0.2
7
8 set output '/dev/shm/temp.png'
9
10 set multiplot
11 set size 1, 0.5
12
13 set origin 0.0, 0.5
14
15 plot "/dev/shm/temp.tsv" using 1:2 with points title "DS18B20 deg. C","/dev/shm/temp.tsv" using 1:($3 > 1 && $3 < 45 ? $3 : '') with dots title "DHT22 deg. C"
16
17 set origin 0.0, 0.0
18
19 plot "/dev/shm/temp.tsv" using 1:($4 > 3 ? $4 : '') with dots title "DHT22 % hum"
20
21 unset multiplot