{% extends "layout.html" %} {% set active_page = "energy_usage_outputs" %} {% set help_page = ["https://kizniche.github.io/Mycodo/Energy-Usage/", _('Energy Usage')] %} {% block title %} - {{_('Energy Usage')}} ({{_('Outputs')}}){% endblock %} {% block head %} {% if current_user.theme in dark_themes %} {% endif %} {% endblock %} {% block body %}
{{_('ID')}} | {{_('CH')}} | {{_('Name')}} | {{_('Past Day')}} | {{_('Past Week')}} | {{_('Past Month')}} | {{_('Past Month')}} ({{_('From')}} {{misc.output_usage_dayofmonth}}{{date_suffix}}) |
{{_('Past Year')}} | |
{{each_output.id}} | {{each_channel.channel}} | {{each_output.name}} {%- if 'name' in custom_options_values_output_channels[each_output.unique_id][each_channel.channel] and custom_options_values_output_channels[each_output.unique_id][each_channel.channel]['name'] -%} {{': ' + custom_options_values_output_channels[each_output.unique_id][each_channel.channel]['name']}} {%- elif 'name' in dict_outputs[each_output.output_type]['channels_dict'][each_channel.channel] and dict_outputs[each_output.output_type]['channels_dict'][each_channel.channel]['name'] -%} {{': ' + dict_outputs[each_output.output_type]['channels_dict'][each_channel.channel]['name']}} {%- endif -%} | {{_('Duration')}} ({{_('hours')}}) | {{value[each_channel.unique_id]['1d']['hours_on']|round(2)}} | {{value[each_channel.unique_id]['1w']['hours_on']|round(2)}} | {{value[each_channel.unique_id]['1m']['hours_on']|round(2)}} | {{value[each_channel.unique_id]['1m_date']['hours_on']|round(2)}} | {{value[each_channel.unique_id]['1y']['hours_on']|round(2)}} |
kWh (@{{misc.output_usage_volts}} V) | {{value[each_channel.unique_id]['1d']['kwh']|round(3)}} | {{value[each_channel.unique_id]['1w']['kwh']|round(3)}} | {{value[each_channel.unique_id]['1m']['kwh']|round(3)}} | {{value[each_channel.unique_id]['1m_date']['kwh']|round(3)}} | {{value[each_channel.unique_id]['1y']['kwh']|round(3)}} | |||
Cost ({{misc.output_usage_currency}}, {{misc.output_usage_cost}}/kWh) | {{value[each_channel.unique_id]['1d']['cost']|round(2)}} | {{value[each_channel.unique_id]['1w']['cost']|round(2)}} | {{value[each_channel.unique_id]['1m']['cost']|round(2)}} | {{value[each_channel.unique_id]['1m_date']['cost']|round(2)}} | {{value[each_channel.unique_id]['1y']['cost']|round(2)}} | |||
{{_('Total')}} | {{_('Duration')}} ({{_('hours')}}) | {{output_stats['total_duration']['1d']|round(2)}} | {{output_stats['total_duration']['1w']|round(2)}} | {{output_stats['total_duration']['1m']|round(2)}} | {{output_stats['total_duration']['1m_date']|round(2)}} | {{output_stats['total_duration']['1y']|round(2)}} | ||
kWh (@{{misc.output_usage_volts}} V) | {{output_stats['total_kwh']['1d']|round(3)}} | {{output_stats['total_kwh']['1w']|round(3)}} | {{output_stats['total_kwh']['1m']|round(3)}} | {{output_stats['total_kwh']['1m_date']|round(3)}} | {{output_stats['total_kwh']['1y']|round(3)}} | |||
{{_('Cost')}} ({{misc.output_usage_currency}}, at {{misc.output_usage_currency}}{{misc.output_usage_cost}}/kWh) | {{output_stats['total_cost']['1d']|round(2)}} | {{output_stats['total_cost']['1w']|round(2)}} | {{output_stats['total_cost']['1m']|round(2)}} | {{output_stats['total_cost']['1m_date']|round(2)}} | {{output_stats['total_cost']['1y']|round(2)}} |