Initial commit

This commit is contained in:
daviddoji 2021-04-17 18:33:56 +02:00
commit 6097028fee
4 changed files with 14580 additions and 0 deletions

1
README.md Normal file
View File

@ -0,0 +1 @@
Scrips to retrieve (update_temps.sh) and to plot data (plot_temp_record.p) in Gnuplot from my Rpi.

21
plot_temp_record.p Normal file
View File

@ -0,0 +1,21 @@
# Set x-axis as time
set xdata time
# Set separator
set datafile separator "\t"
# Set format of time
set timefmt "%d/%m/%Y\t%H:%M"
# Start from 19/04/2020 @ 15:00
set xrange ["19/04/2020\t15:00":]
# Set axis titles
set ylabel "Temperature ['C]
set xlabel "Date"
# Plot the data
plot "temp_record" u 1:3 w lines title "GPU", "temp_record" u 1:4 w lines title "CPU"
# Hit enter to kill the plot
pause -1

14557
temp_record Normal file

File diff suppressed because it is too large Load Diff

1
update_temps.sh Executable file
View File

@ -0,0 +1 @@
rsync -avhP pi@raspitorrent:/home/pi/temp_record .