Okay, then you can find the new lines representing the most recently received data from the spark in the
/home/brewpi/data session folders as described in my above post. Alternately, it also logs the received data in the log files (
/home/brewpi/logs) but they will also have lines showing errors and other information which would require a more complicated script to just extract the most recent temperature reading. I would just use the .csv file as it seems like the simplest to use regular expressions to extract from.
/home/brewpi/data/Treaty%20Port%20Porter%2017-1-06# tail -n 1 Treaty%20Port%20Porter%2017-1-06.csv
Jan 10 2018 11:13:22;18.0;18.0;null;18.0;18.0;null;3;6.81;21.06;21.06
The first column is the date and time, second is the beer temp, third is beer setpoint, fifth is the chamber temp, sixth is the chamber setpoint, the last three are the logging temps (if used). I’m not sure what the nulls are or where it records heatting/cooling/idle state.
Hope this helps.