filter out humidify < 10 from rtl433
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 17 Aug 2017 10:38:00 +0000 (12:38 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 17 Aug 2017 10:38:00 +0000 (12:38 +0200)
temp2.gnuplot

index 1e666b6..6c5b738 100644 (file)
@@ -48,6 +48,6 @@ min_h = h_mean - h_spread
 max_h = h_mean + h_spread
 
 plot "/dev/shm/DHT22-humidity" using ($1+7200):($2 > min_h && $2 < max_h ? $2 : '') with dots title "DHT22 % hum" \
-,"/dev/shm/rtl_433-humidity" using ($1+7200):($2) with dots title "RTL433 % hum" 
+,"/dev/shm/rtl_433-humidity" using ($1+7200):($2 > 10 ? $2 : '') with dots title "RTL433 % hum" 
 
 unset multiplot