1 set terminal pngcairo mono size 600,800
10 set output '/dev/shm/temp2.png'
17 if ( ! exists("t_mean")) {
25 print "using default mean and spread"
28 min_t = t_mean - t_spread
29 max_t = t_mean + t_spread
31 plot "/dev/shm/DS18B20-temperature" using ($1+7200):($2 > min_t && $2 < max_t ? $2 : '') with dots title "DS18B20 deg. C" \
32 ,"/dev/shm/DHT22-temperature" using ($1+7200):($2 > min_t && $2 < max_t ? $2 : '') with dots title "DHT22 deg. C" \
33 ,"/dev/shm/rtl_433-temperature" using ($1+7200):($2 > min_t && $2 < max_t ? $2 : '') with dots title "RTL 433 deg. C"
38 min_h = h_mean - h_spread
39 max_h = h_mean + h_spread
41 plot "/dev/shm/DHT22-humidity" using ($1+7200):($2 > min_h && $2 < max_h ? $2 : '') with dots title "DHT22 % hum"