LUX2.gplot 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. ############################
  2. # Display the measured temp and the actuator.
  3. # Corresponding FileLog definition:
  4. # define <filelogname> FileLog /var/log/fhem/fht-%Y.log <fhtname>
  5. set terminal png transparent size <SIZE> crop
  6. set output '<OUT>.png'
  7. set xdata time
  8. set timefmt "%Y-%m-%d_%H:%M:%S"
  9. set xlabel " "
  10. set ytics nomirror
  11. set y2tics
  12. #set ytics
  13. set title '<L1>'
  14. set grid xtics y2tics
  15. set y2label "Temperature in C"
  16. set ylabel "Temperature in C"
  17. #FileLog 4:flowTemperature:0:
  18. #FileLog 4:returnTemperatureTarget:0:
  19. #FileLog 4:returnTemperature:0:
  20. #FileLog 4:ambientTemperature:0:
  21. #FileLog 4:averageAmbientTemperature:0:
  22. plot \
  23. "< awk '/flowTemperature/{print $1, $4}' <IN>"\
  24. using 1:2 axes x1y1 title 'Vorlauftemperatur' with lines,\
  25. "< awk '/returnTemperatureTarget/{print $1, $4}' <IN>"\
  26. using 1:2 axes x1y1 title 'Rücklauftemperatur SOLL' with lines,\
  27. "< awk '/returnTemperature/ {print $1, $4+0}' <IN>"\
  28. using 1:2 axes x1y1 title 'Rücklauftemperatur' with lines,\
  29. "< awk '/ambientTemperature/ {print $1, $4+0}' <IN>"\
  30. using 1:2 axes x1y1 title 'Außentemperatur' with lines lw2,\
  31. "< awk '/averageAmbient/ {print $1, $4+0}' <IN>"\
  32. using 1:2 axes x1y1 title 'durchschnittliche Außentemperatur' with lines lw2\