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

Reports

Build a temperature report

Choose a date range and export the summary as CSV.

Download CSV
{% 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 %}