X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=temp2.gnuplot;h=d63a66a195b50f62fe9b744c9ad5deb688331c9a;hb=f0bdd9b7b1cf34a628ac7706c441f5a0fbdf3bb4;hp=35d86ea90eceecd266514b0b814a86777c60877b;hpb=aefb1184454dfda522a67190c4b5d8686761ba57;p=vaillant-thermostat diff --git a/temp2.gnuplot b/temp2.gnuplot index 35d86ea..d63a66a 100644 --- a/temp2.gnuplot +++ b/temp2.gnuplot @@ -52,6 +52,7 @@ if ( ! exists("tz_secs") ) { set ytics nomirror unset y2tics +set y2range [0:50] plot \ "/dev/shm/DHT22-temperature" using ($1+tz_secs):($2 > min_t && $2 < max_t ? $2 : '') with dots title "DHT22 unutra" \ @@ -60,7 +61,7 @@ plot \ ,"/dev/shm/rtl_433-kuhinja-temperature" using ($1+tz_secs):($2) with dots title "kuhinja" \ ,"/dev/shm/DS18B20-temperature" using ($1+tz_secs):($2 > min_t && $2 < max_t ? $2 : '') with dots title "DS18B20 unutra" \ ,"/dev/shm/rtl_433-soba-temperature" using ($1+tz_secs):($2) with dots title "soba" lt rgb "#808000" \ -,"/dev/shm/boiler.d" using ($1+tz_secs):($2 > 0 ? 1 : 0) axes x2y2 title "boiler on/off" with lines lt rgb "#000000" +,"/dev/shm/boiler.d" using ($1+tz_secs):($2 > 0 ? 48 : 2) axes x1y2 with dots title "boiler on/off" lt rgb "#000000" if ( exists("lines") && lines == 1 ) { @@ -86,7 +87,8 @@ plot \ "/dev/shm/DHT22-humidity" using ($1+tz_secs):($2 > min_h && $2 < max_h ? $2 : '') with dots title "DHT22 unutra" \ ,"/dev/shm/rtl_433-vani-humidity" using ($1+tz_secs):($2) with lines title "vani" \ ,"/dev/shm/rtl_433-kupaona-humidity" using ($1+tz_secs):($2) with lines title "kupaona" \ -,"/dev/shm/rtl_433-kuhinja-humidity" using ($1+tz_secs):($2) with lines title "kuhunja" +,"/dev/shm/rtl_433-kuhinja-humidity" using ($1+tz_secs):($2) with lines title "kuhunja" \ +,"/dev/shm/boiler.d" using ($1+tz_secs):($2 > 0 ? 48 : 2) axes x1y2 with dots title "boiler on/off" lt rgb "#000000" if ( exists("lines") && lines == 1 ) { plot \