Added a bool timeout to logs. This indicated whether or not the request timed out. Preparing data for the frontend graph is put into it's own function. When data is more than 6 s apart it is considered a break in connectivity and a None point is added.

This commit is contained in:
2025-09-05 11:57:34 +02:00
parent e1b0ab4dc5
commit 139be129ee
5 changed files with 80 additions and 7 deletions

View File

@@ -18,8 +18,7 @@
<script>
const chartDates = {{ dates| tojson | safe }}.map(dt => new Date(dt));
const chartDates = ({{ dates | safe }}).map(dt => new Date(dt));
const data = {
labels: chartDates,
datasets: [{