{% extends 'base.html.twig' %} {% block title %}HAT Sensor-Gruppen - Dashboard{% endblock %} {% block content %}

Sensor-Gruppen

Pro Datalogger individuell konfigurierbar (Temperatur + Druck in einer Gruppe).

Neue Gruppe
{% if groups|length > 0 %}
{% for group in groups %} {% set dl = attribute(group, 'datalogger') is defined ? group.datalogger : null %} {% set sensorNames = '' %} {% for sensor in group.sensors %} {% set sensorNames = sensorNames ~ ' ' ~ (sensor.hatName ?? '') %} {% endfor %} {% endfor %}
Datalogger Gruppe Sensoren Flaschen Status Aktionen
{% if dl %}
{{ dl.name }}
{% if dl.location %}
{{ dl.location }}
{% endif %} {% else %} nicht zugeordnet {% endif %}
{{ group.name }}
{% if group.description %}
{{ group.description }}
{% endif %}
{{ group.sensors|length }} {{ group.tankCount|default(10) }} {% if group.active %} aktiv {% else %} inaktiv {% endif %}
Bearbeiten
Sensoren
{% if group.sensors|length > 0 %}
    {% for sensor in group.sensors %}
  • {{ sensor.hatName }} {% if sensor.stack is not null %}Stack {{ sensor.stack }}{% endif %} {% if sensor.channel is not null %}{% if sensor.stack is not null %} · {% endif %}Channel {{ sensor.channel }}{% endif %}
  • {% endfor %}
{% else %}
Keine Sensoren konfiguriert.
{% endif %}
Anzeige
Durchschnitt anzeigen
Einzelwerte anzeigen
{% else %}
Noch keine Gruppen vorhanden
Wähle oben einen Datalogger aus und erstelle die erste Gruppe.
{% endif %}
{% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}