{% extends "pages/base.html" %} {% load i18n static %} {% block title %}{{ charger.display_name|default:charger.name|default:charger.charger_id }} - {% trans "Status" %}{% endblock %} {% block content %}
{% if show_connector_tabs and connector_links %}
{% endif %}

{{ charger.display_name|default:charger.name|default:charger.charger_id }}

{{ state }}
{% trans "Serial Number" %} {{ charger.charger_id }}
{% if past_session %} {% endif %}
{% if charger_error_code %}

{% trans "Error code" %}: {{ charger_error_code }}

{% endif %} {% if charger.last_status_timestamp %}

{% trans "Last status update" %}: {{ charger.last_status_timestamp|date:"SHORT_DATETIME_FORMAT" }}

{% endif %} {% if charger.last_status_vendor_info %} {% if charger.last_status_vendor_info.vendorId %}

{% trans "Vendor" %}: {{ charger.last_status_vendor_info.vendorId }}

{% endif %} {% if charger.last_status_vendor_info.info %}

{% trans "Info" %}: {{ charger.last_status_vendor_info.info }}

{% endif %} {% endif %}

{% trans "Total Energy" %}: {{ charger.total_kw|floatformat:2 }} kW

{% if charger.diagnostics_status or charger.diagnostics_timestamp or charger.diagnostics_location %}

{% trans "Diagnostics" %}

{% if charger.diagnostics_status %}

{% trans "Status" %}: {{ charger.diagnostics_status }}

{% endif %} {% if charger.diagnostics_timestamp %}

{% trans "Reported" %}: {{ charger.diagnostics_timestamp|date:"SHORT_DATETIME_FORMAT" }}

{% endif %} {% if charger.diagnostics_location %}

{% trans "Location" %}: {{ charger.diagnostics_location }}

{% endif %}
{% endif %} {% if charging_limit %}

{% trans "Charging Limit" %}

{% if charging_limit.source %}

{% trans "Source" %}: {{ charging_limit.source }}

{% endif %} {% if charging_limit.is_grid_critical is not None %}

{% trans "Grid critical" %}: {{ charging_limit.is_grid_critical|yesno:_("Yes,No") }}

{% endif %} {% if charging_limit.schedules %}
    {% for summary in charging_limit.schedules %}
  • {{ summary }}
  • {% endfor %}
{% elif charging_limit.evse_id %}

{% blocktrans with evse=charging_limit.evse_id %}Applies to EVSE {{ evse }}{% endblocktrans %}

{% endif %} {% if charging_limit.timestamp %}

{% trans "Reported" %}: {{ charging_limit.timestamp|date:"SHORT_DATETIME_FORMAT" }}

{% endif %}
{% endif %} {% if charger.temperature is not None %}

{% trans "Temperature" %}: {{ charger.temperature }} {{ charger.temperature_unit }}

{% endif %} {% if tx %}

{% if past_session %}{% trans "Session" %}{% else %}{% trans "Current Transaction" %}{% endif %}

  • {% trans "Transaction ID" %}: {{ tx.id }}
  • {% trans "Meter Start" %}: {{ tx.meter_start }}
  • {% if date_view == "received" %}
  • {% trans "Start Time" %}: {{ tx.received_start_time|default:tx.start_time }}
  • {% else %}
  • {% trans "Start Time" %}: {{ tx.start_time }}
  • {% endif %} {% if tx_rfid_details %}
  • {% if tx_rfid_details.display_label %} {{ tx_rfid_details.display_label }}: {% else %} {% trans "RFID" %}: {% endif %} {% if tx_rfid_details.url %} {{ tx_rfid_details.value }} {% else %} {{ tx_rfid_details.value }} {% endif %}
  • {% endif %}
  • {% trans "Session Energy" %}: {{ tx.kw|floatformat:2 }} kW
{% elif not past_session %}

{% trans "No active transaction" %}

{% endif %}
{% if show_chart %} {{ chart_data|json_script:"chart-data" }} {% else %} {% if usage_timeline %}

{% trans "Usage (last 7 days)" %}

{% if usage_timeline_window %}
{{ usage_timeline_window.0 }} – {{ usage_timeline_window.1 }}
{% endif %}
{% trans "Offline" %} {% trans "Untracked" %} {% trans "Available" %} {% trans "Charging" %}
{% for entry in usage_timeline %}
{{ entry.label }}
{% for segment in entry.segments %} {% endfor %}
{% endfor %}
{% if usage_timeline_window %}
{{ usage_timeline_window.0 }} {{ usage_timeline_window.1 }}
{% endif %}
{% else %} {% endif %} {% endif %}
{% if show_connector_overview_cards %}

{% trans "Connectors" %}

{% for item in connector_overview %}
{{ item.label }} {{ item.status }}
{% if item.last_error_code or item.last_status_timestamp or item.last_status_vendor_info %}
{% if item.last_error_code %}

{% trans "Error code" %}: {{ item.last_error_code }}

{% endif %} {% if item.last_status_timestamp %}

{% trans "Last status update" %}: {{ item.last_status_timestamp|date:"SHORT_DATETIME_FORMAT" }}

{% endif %} {% if item.last_status_vendor_info %} {% if item.last_status_vendor_info.vendorId %}

{% trans "Vendor" %}: {{ item.last_status_vendor_info.vendorId }}

{% endif %} {% if item.last_status_vendor_info.info %}

{% trans "Info" %}: {{ item.last_status_vendor_info.info }}

{% endif %} {% endif %}
{% endif %} {% if item.tx %}

{% trans "Energy" %}: {{ item.tx.kw|floatformat:2 }} kW

{% if date_view == "received" %} {% with display_start=item.tx.received_start_time|default:item.tx.start_time %}

{% trans "Started" %}: {{ display_start|date:"SHORT_DATETIME_FORMAT" }}

{% endwith %} {% else %}

{% trans "Started" %}: {{ item.tx.start_time|date:"SHORT_DATETIME_FORMAT" }}

{% endif %} {% else %}

{% trans "No active transaction" %}

{% endif %}
{% endfor %}
{% endif %}

{% trans "Sessions" %}

{% if date_toggle_links %}
{% for link in date_toggle_links %} {{ link.label }} {% endfor %}
{% endif %}
{% if charger.connector_id is None %} {% endif %} {% for tx in transactions %} {% if charger.connector_id is None %} {% endif %} {% if date_view == "received" %} {% else %} {% endif %} {% empty %} {% endfor %}
{% trans "Connector" %}{% trans "ID" %} {% trans "Start" %}{% if date_view == "received" %}{% trans "Received time" %}{% else %}{% trans "Charger time" %}{% endif %} {% trans "Stop" %}{% if date_view == "received" %}{% trans "Received time" %}{% else %}{% trans "Charger time" %}{% endif %} {% trans "Energy (kW)" %}
{{ tx.charger.connector_label|default:tx.charger.connector_letter|default:tx.charger.connector_id }}{{ tx.id }}{{ tx.received_start_time|default:tx.start_time }} {{ tx.received_stop_time|default:tx.stop_time|default:"-" }}{{ tx.start_time }} {{ tx.stop_time|default:"-" }}{{ tx.kw|floatformat:2 }}
{% trans "No sessions found." %}
{% if page_obj.has_previous %} {% trans "Previous 10" %} {% else %} {% endif %} {% if page_obj.has_next %} {% trans "Next 10" %} {% else %} {% endif %}
{% if show_chart %} {% else %} {% endif %} {% if can_remote_start %} {% endif %} {% endblock %}