Reject implausible readings, close DB connections on retry, and return chart data in chronological order. Co-authored-by: Cursor <cursoragent@cursor.com>
The PHP file that will retrieve the data from the database. Currently hardcoded to the last 360 entries. This will be altered at some point.