{% extends "layout.html" %} {% block title %}OptiWarm - Zone: {{ zone.name }}{% endblock %} {% block content %}
| Name: | {{ zone.name }} |
|---|---|
| Location: | {{ zone.locationid.name }} |
| Description: | {{ zone.description or "-" }} |
| Place Type: | {{ zone.placetypeid.name }} |
| Nominal Volume: | {% if zone.nominal_valume %} {{ zone.nominal_valume }} M³ {% else %} - {% endif %} |
| Status: | {% if zone.active %} Active {% else %} Inactive {% endif %} |
| Phone: | {{ zone.phone or "-" }} |
| CMDB ID: | {{ zone.cmdb_id or "-" }} |
| Linked Boilers: |
{% if zone.boilers %}
|
| Sensor Mode: | {% if zone.sensor_average %} Use average temperature value {% else %} Use closest temperature {% endif %} |
|---|---|
| Current Temperature: | {% set temp = zone.get_current_temperature() %} {% if temp is not none %} {{ "%.1f"|format(temp[0]) }}°C {% else %} No data {% endif %} |
| Temperature Requirement: |
{% if current_temp_requirement %}
{{ "%.1f"|format(current_temp_requirement.min_temp) }}°C - {{ "%.1f"|format(current_temp_requirement.max_temp) }}°C
{% else %}
No active rule
{{ current_temp_requirement.rule_type }} {% if current_temp_requirement.source == 'event' %} (Event: {{ current_temp_requirement.event_date }}) {% elif current_temp_requirement.days %} ({{ current_temp_requirement.days }}) {% endif %} {{ current_temp_requirement.time_range }} Priority: {{ current_temp_requirement.rule_priority }} No warming rule applies at this time {% endif %} |
| Responsible Boiler: |
{% if responsible_boiler_info %}
{{ responsible_boiler_info.boiler.name }}
{% if responsible_boiler_info.is_working %}
Working
{% else %}
Idle
{% endif %}
{% else %}
No responsible boiler
{% if responsible_boiler_info.source == 'zone' %} Assigned to zone {% else %} From location (no zone-specific boiler) {% endif %} {% if responsible_boiler_info.plan %} Planned since: {{ responsible_boiler_info.plan.time_from.strftime('%Y-%m-%d %H:%M') }} {% if responsible_boiler_info.plan.info %} {{ responsible_boiler_info.plan.info }} {% endif %} {% endif %} {% if responsible_boiler_info.working_since %} Working since: {{ responsible_boiler_info.working_since.strftime('%Y-%m-%d %H:%M') }} {% endif %} No boiler plan found for this zone {% endif %} |
| Notification: | {{ zone.notification or "-" }} |
| {{ rule_data.name }} | {{ rule_data.count }} rule{{ 's' if rule_data.count != 1 else '' }} |
|---|
| Outside Temperature | Inside Temperature (From) | Inside Temperature (To) | Period (hours) | Heat Loss Rate | Actions |
|---|---|---|---|---|---|
| {{ "%.1f"|format(insulation.temperature_out) }}°C | {{ "%.1f"|format(insulation.temperature_in_from) }}°C | {{ "%.1f"|format(insulation.temperature_in_to) }}°C | {{ insulation.period }} | {{ "%.2f"|format(insulation.temperature_loss_rate) }}°C/h |