{% extends 'base.html.twig' %} {% import 'components/datalogger_tabs.html.twig' as tabs %} {% block title %}BMS / Charger - {{ datalogger.name }}{% endblock %} {% block content %}
{{ victron.error }}
{% elseif victron.victron is defined %} {% set v = victron.victron %}{{ v.battery_soc_estimation|json_encode(2) }}
Keine Victron-Daten vorhanden.
{% endif %}{{ bms.error }}
{% endif %} {% if bb.battery_snapshot_fallback is defined and bb.battery_snapshot_fallback %}Batterieinformationen stammen aus dem letzten erfolgreichen BMS-Snapshot{% if bb.battery_snapshot_stored_at is defined and bb.battery_snapshot_stored_at %} ({{ bb.battery_snapshot_stored_at|date('d.m.Y H:i:s') }}){% endif %}.
{% endif %}| Name / MAC | SOC % | Spannung | Weitere |
|---|---|---|---|
| {{ bat.name ?? bat.mac ?? '-' }} | {{ bat.battery_level ?? bat.soc_pct ?? bat.soc ?? '-' }} | {{ bat.voltage_v ?? bat.voltage ?? '-' }} |
{{ bat.connected ?? false ? 'Connected' : 'Disconnected' }}
{{ bat.problem ?? false ? 'Problem' : 'OK' }}
{% if bat.error is defined and bat.error %}
{% if bat.cell_voltages is defined and bat.cell_voltages is iterable and bat.cell_voltages|length > 0 %}
{% set sortedCellVoltages = bat.cell_voltages|sort %}
Hinweis: {{ bat.error }}{% if bat.stale is defined and bat.stale %} (stale){% endif %} {% endif %}
{% if bat.snapshot_fallback is defined and bat.snapshot_fallback %}Quelle: letzter erfolgreicher Snapshot {% endif %}
{% if bat.current_a is defined %}Strom: {{ bat.current_a }} A {% endif %}
{% if bat.power_w is defined %}Leistung: {{ bat.power_w }} W {% endif %}
{% if bat.temperature_c is defined %}Temp: {{ bat.temperature_c }} °C {% endif %}
{% if bat.link_quality_pct is defined %}Link: {{ bat.link_quality_pct }}% {% endif %}
{% if bat.cycles is defined %}Zyklen: {{ bat.cycles }} {% endif %}
{% if bat.cell_count is defined %}Zellen: {{ bat.cell_count }} {% endif %}
{% if bat.delta_voltage is defined %}Delta V: {{ bat.delta_voltage }} V {% endif %}
Zellspannung: min {{ (sortedCellVoltages|first)|number_format(3, '.', '') }} V / max {{ (sortedCellVoltages|last)|number_format(3, '.', '') }} V
{% endif %}
{% if bat.temp_values is defined and bat.temp_values is iterable and bat.temp_values|length > 0 %}
Temp-Sensoren: {{ bat.temp_values|join(' / ') }} °C
{% endif %}
Rohdaten{{ bat|json_encode(2) }}
|
{{ discoveredDeviceLabels|join(', ') }}
{% endif %} {% else %}Keine BMS-Daten vorhanden.
{% endif %}