Datalogger Status
{# Wichtige Status-Informationen als Highlights #}
{% if status.uptime is defined or status.timestamp is defined or status.version is defined %}
{% if status.uptime is defined %}
{% endif %}
{% if status.timestamp is defined %}
{% endif %}
{% if status.version is defined %}
{% endif %}
{% endif %}
{# Detaillierte Status-Informationen #}
Uptime
{% if status.uptime is iterable %}
{{ status.uptime|json_encode }}
{% else %}
{{ status.uptime }}
{% endif %}
Letzte Aktualisierung
{% if status.timestamp matches '/^\\d+$/' %}
{{ status.timestamp|date('d.m.Y H:i:s') }}
{% elseif status.timestamp matches '/^\\d{4}-\\d{2}-\\d{2}T/' %}
{{ status.timestamp|date('d.m.Y H:i:s') }}
{% else %}
{{ status.timestamp }}
{% endif %}
Version
{% if status.version is iterable %}
{{ status.version|json_encode }}
{% else %}
{{ status.version }}
{% endif %}
Detaillierte Informationen
{{ jsonDisplay.displayJson(status, null) }}
HAT Durchschnittswerte
{% if avgTemperature is not null %}
{% endif %}
{% if avgPressure is not null %}
{% endif %}
{{ avgTemperature|number_format(2) }}°C
Ø Temperatur (HAT5)
{{ avgPressure|number_format(2) }} bar
Ø Druck (HAT1)
Health Check
{% if health.error is defined %}
Fehler: {{ health.error }}
{% else %}
{{ jsonDisplay.displayJson(health, null) }}
{% endif %}
System Ressourcen
{% if system.error is defined %}
Fehler: {{ system.error }}
{% else %}
{% if system.cpu_temp is defined and system.cpu_temp is not iterable %}
{% endif %}
{% if system.cpu_usage is defined and system.cpu_usage is not iterable %}
{% endif %}
{% if system.memory_usage is defined and system.memory_usage is not iterable and system.memory_total is defined and system.memory_total is not iterable %}
{% endif %}
{% endif %}
{{ system.cpu_temp }}°C
CPU Temperatur
{{ system.cpu_usage }}%
CPU Auslastung
{{ ((system.memory_usage / system.memory_total) * 100)|round(1) }}%
RAM Auslastung
{{ (system.memory_usage / 1024 / 1024)|round(1) }} MB / {{ (system.memory_total / 1024 / 1024)|round(1) }} MB
Version
{{ jsonDisplay.displayJson(version, null) }}