{% extends "base.html" %} {% block title %}Reports - SwitchBot Temps{% endblock %} {% block content %}

Reports

Build a temperature report

Choose a date range, export CSV, or send a PDF report.

Download CSV

Email PDF report

Creates a PDF using the selected range and device filter, then sends it via SMTP2GO.

{% for row in rows %} {% else %} {% endfor %}
Device Samples Low temp High temp Avg temp Low RH High RH Avg RH
{{ row.device_name }} {{ row.samples }} {{ row.low_temp if row.low_temp is not none else "n/a" }}°C {{ row.high_temp if row.high_temp is not none else "n/a" }}°C {{ row.avg_temp if row.avg_temp is not none else "n/a" }}°C {{ row.low_humidity if row.low_humidity is not none else "n/a" }}% {{ row.high_humidity if row.high_humidity is not none else "n/a" }}% {{ row.avg_humidity if row.avg_humidity is not none else "n/a" }}%
No readings found for this range.
{% endblock %}