{% extends "layout.html" %} {% block title %}OptiWarm - Boiler: {{ boiler.name }}{% endblock %} {% block content %}

{{ boiler.name }} (boiler)

Edit Back to Boilers
Basic Information
Name: {{ boiler.name }}
Boiler Type: {{ boiler.boilertypeid.name }}
Location: {% if boiler.locationid %} {{ boiler.locationid.name }} {% else %} - {% endif %}
Zone: {% if boiler.zoneid %} {{ boiler.zoneid.name }} {% else %} - {% endif %}
Status: {% if boiler.is_active %} Active {% elif boiler.is_available %} Available {% elif boiler.is_maitenance %} Maintenance {% else %} Inactive {% endif %}
Description: {{ boiler.description or "-" }}
Operating Parameters
Temperature Range: {{ boiler.effective_temperature_min }}°C - {{ boiler.effective_temperature_max }}°C
Start Delay (🌡️zone): {% if boiler.low_threshold_sensor_delay is not none %} {{ boiler.low_threshold_sensor_delay }} minutes {% elif boiler.boilertypeid.low_threshold_sensor_delay is not none %} {{ boiler.boilertypeid.low_threshold_sensor_delay }} minutes (from boiler type) {% else %} - {% endif %}
Stop delay (🌡️zone): {% if boiler.hi_threshold_sensor_delay is not none %} {{ boiler.hi_threshold_sensor_delay }} minutes {% elif boiler.boilertypeid.hi_threshold_sensor_delay is not none %} {{ boiler.boilertypeid.hi_threshold_sensor_delay }} minutes (from boiler type) {% else %} - {% endif %}
Rated Power: {% if boiler.rated_power is not none %} {{ boiler.rated_power }} kW {% elif boiler.boilertypeid.rated_power is not none %} {{ boiler.boilertypeid.rated_power }} kW (from boiler type) {% else %} - {% endif %}
Nominal Fuel Consumption: {% if boiler.nominal_fuel_consumption is not none %} {{ boiler.nominal_fuel_consumption }} {{ boiler.boilertypeid.fueltypeid.unit_name }}/h {% elif boiler.boilertypeid.nominal_fuel_consumption is not none %} {{ boiler.boilertypeid.nominal_fuel_consumption }} {{ boiler.boilertypeid.fueltypeid.unit_name }}/h (from boiler type) {% else %} - {% endif %}
Start Interval: {% if boiler.deltatime_start is not none %} {{ boiler.deltatime_start }} minutes {% else %} {{ boiler.boilertypeid.dt_start }} minutes (from boiler type) {% endif %}
Stop Interval: {% if boiler.deltatime_stop is not none %} {{ boiler.deltatime_stop }} minutes {% else %} {{ boiler.boilertypeid.dt_stop }} minutes (from boiler type) {% endif %}
MQTT Configuration
Publish Temperature: {% if boiler.mqtt_pub_cur_temperature %} {{ boiler.mqtt_pub_cur_temperature }} {% else %} - {% endif %}
Publish State: {% if boiler.mqtt_pub_state %} {{ boiler.mqtt_pub_state }} {% else %} - {% endif %}
Subscribe Temperature: {% if boiler.mqtt_sub_temperature %} {{ boiler.mqtt_sub_temperature }} {% else %} - {% endif %}
Subscribe State: {% if boiler.mqtt_sub_state %} {{ boiler.mqtt_sub_state }} {% else %} - {% endif %}
Consumption State: {% if boiler.mqtt_sub_consumed %} {{ boiler.mqtt_sub_consumed }} {% else %} - {% endif %}
Cost and Consumption Data
Add Cost Data
{% if cost_data %}
{% for entry in cost_data %} {% endfor %}
Temperature (°C) Period (hours) Consumption Consumption/hour Actions
{{ entry.temperature }} {{ entry.period }} {{ entry.consumption }} {{ boiler.boilertypeid.fueltypeid.unit_name }} {{ "%.2f"|format(entry.consumption_per_hour) }} {{ boiler.boilertypeid.fueltypeid.unit_name }}/h
{% else %}
No cost data available for this boiler. Add cost data to calculate consumption costs.
{% endif %}
Maintenance Records
Add Maintenance Record
{% if maintenance_records %}
{% for record in maintenance_records %} {% endfor %}
Description From To Status Actions
{{ record.description }} {{ record.from_date.strftime('%Y-%m-%d %H:%M') if record.from_date else 'Not set' }} {{ record.to_date.strftime('%Y-%m-%d %H:%M') if record.to_date else 'Not set' }} {% if record.enabled and record.from_date and record.to_date and record.from_date < now and now < record.to_date %} Active {% elif record.enabled and record.from_date and record.from_date > now %} Scheduled {% elif not record.enabled %} Disabled {% else %} Inactive {% endif %}
{% else %}
No maintenance records found for this boiler. Add a maintenance record to track service history.
{% endif %}
Operation History
{% if history %}
{% for entry in history %} {% endfor %}
From To Duration Start Info Stop Info Cost
{{ entry.time_from.strftime('%Y-%m-%d %H:%M') }} {% if entry.time_to %} {{ entry.time_to.strftime('%Y-%m-%d %H:%M') }} {% else %} Ongoing {% endif %} {{ "%.2f"|format(entry.duration_hours) }} hours {{ entry.info_on or "-" }} {{ entry.info_off or "-" }} {{ entry.total_cost_period }}
{% else %}
No operation history available for this boiler.
{% endif %}
{% endblock %}