{% load static %} {% load custom_tags_and_filters %} {% block extrahead %} {# Chart.js #} {% endblock %}

Sensor data settings

{% csrf_token %}
time(s)
{% if errors.sensor_read_retries %} {{ errors.sensor_read_retries.error }} {% else %} The number of times to retry reading data from sensors before raising an error. Set to 0 to never retry. {% endif %}
{% if errors.sensor_alert_emails %} {{ errors.sensor_alert_emails.error }} {% else %} The email(s) to notify when a sensor alert is raised or reset. A comma-separated list can be used. {% endif %}

Chart date formats

These formats are used in charts to display the date/time on the x-axis. See moment.js format for more details.
{% with date_format_list="millisecond second minute hour day week month quarter year" %} {% for date_format in date_format_list.split %}
{% with date_format_variable="sensor_format_"|concat:date_format %}
{% endwith %}
{% endfor %} {% endwith %}
{% button type="save" value="Save settings" %}
{# add a "fake" chart to get the adapter's formats and use them as placeholders for the inputs #}