elradix

Daikin Altherma SCOP Card

Jan 9th, 2026 (edited)
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 24.68 KB | None | 0 0
  1. square: false
  2. type: grid
  3. cards:
  4.   - type: grid
  5.     square: false
  6.     columns: 3
  7.     cards:
  8.       - type: custom:modern-circular-gauge
  9.         name: Global
  10.         entity: sensor.altherma_dcop_daily
  11.         unit: COP
  12.         min: 0
  13.         max: 7
  14.         needle: false
  15.         icon: |-
  16.           {% if is_state('binary_sensor.daikin_boiler_dhw', 'on') %}
  17.             mdi:water-boiler
  18.           {% elif is_state('binary_sensor.daikin_heating', 'on') %}
  19.             mdi:radiator
  20.           {% else %}
  21.             mdi:fire
  22.           {% endif %}
  23.         show_icon: true
  24.         adaptive_icon_color: true
  25.         header_position: bottom
  26.         smooth_segments: true
  27.         segments:
  28.           - from: 0
  29.             color: "#e74c3c"
  30.           - from: 2.5
  31.             color: "#f39c12"
  32.           - from: 3.5
  33.             color: "#2ecc71"
  34.           - from: 5
  35.             color: "#27ae60"
  36.         secondary:
  37.           entity: sensor.altherma_scop_energy_daily_elec
  38.           unit: kWh
  39.           show_gauge: inner
  40.           decimals: 0
  41.           max: 30
  42.           color: "#3498db"
  43.           show_state: true
  44.           offset: -20
  45.           state_size: small
  46.           show_in_graph: false
  47.         tertiary:
  48.           text: >-
  49.             Heat: {{ states('sensor.altherma_scop_energy_daily_therm') |
  50.            float(0) | round(0) }} kWh
  51.           color: "#ff9900"
  52.           size: 80%
  53.         gauge_type: standard
  54.         start_from_zero: true
  55.         gauge_background_style:
  56.           opacity: 0.1
  57.         show_graph: true
  58.         graph_hours_to_show: 24
  59.         adaptive_graph_range: true
  60.         adaptive_state_color: true
  61.       - type: custom:modern-circular-gauge
  62.         entity: sensor.altherma_heating_dcop
  63.         name: >-
  64.           Heating {{ '(RUNNING)' if is_state('binary_sensor.daikin_heating',
  65.           'on') else '' }}
  66.         unit: DCOP
  67.         min: 0
  68.         max: 8
  69.         needle: false
  70.         smooth_segments: true
  71.         icon: >-
  72.           {% if is_state('binary_sensor.daikin_heating', 'on') %} mdi:fire {%
  73.           else %} mdi:radiator {% endif %}
  74.         adaptive_icon_color: true
  75.         segments:
  76.           - from: 0
  77.             color: "#e74c3c"
  78.           - from: 2.5
  79.             color: "#f39c12"
  80.           - from: 3.5
  81.             color: "#2ecc71"
  82.           - from: 5
  83.             color: "#27ae60"
  84.         secondary:
  85.           entity: sensor.altherma_daily_elec_heating
  86.           unit: kWh
  87.           show_gauge: inner
  88.           decimals: 1
  89.           max: 30
  90.           color: "#3498db"
  91.           show_state: true
  92.           offset: -20
  93.           state_size: small
  94.         tertiary:
  95.           text: >-
  96.             {% if is_state('binary_sensor.daikin_heating', 'on') %} 🔥 ACTIVE |
  97.            {% endif %} M: {{ states('sensor.altherma_heating_mcop') }} |  Y: {{
  98.             states('sensor.altherma_heating_scop') }}
  99.           color: "#ff9900"
  100.           size: 70%
  101.         gauge_type: standard
  102.         show_graph: false
  103.         adaptive_state_color: true
  104.       - type: custom:modern-circular-gauge
  105.         entity: sensor.altherma_dhw_dcop
  106.         name: >-
  107.           Hot Water {{ '(RUNNING)' if
  108.           is_state('binary_sensor.daikin_boiler_dhw', 'on') else '' }}
  109.         unit: DCOP
  110.         min: 0
  111.         max: 5
  112.         needle: false
  113.         smooth_segments: true
  114.         icon: >-
  115.           {% if is_state('binary_sensor.daikin_boiler_dhw', 'on') %} mdi:fire {%
  116.           else %} mdi:water-boiler {% endif %}
  117.         adaptive_icon_color: true
  118.         segments:
  119.           - from: 0
  120.             color: "#e74c3c"
  121.           - from: 1.8
  122.             color: "#f39c12"
  123.           - from: 2.5
  124.             color: "#2ecc71"
  125.           - from: 3.5
  126.             color: "#27ae60"
  127.         secondary:
  128.           entity: sensor.altherma_daily_elec_dhw
  129.           unit: kWh
  130.           show_gauge: inner
  131.           decimals: 1
  132.           max: 10
  133.           color: "#3498db"
  134.           show_state: true
  135.           offset: -20
  136.           state_size: small
  137.         tertiary:
  138.           text: >-
  139.             {% if is_state('binary_sensor.daikin_boiler_dhw', 'on') %} 🔥 ACTIVE
  140.             | {% endif %} M: {{ states('sensor.altherma_dhw_mcop') }} |  Y: {{
  141.             states('sensor.altherma_dhw_scop') }}
  142.           color: "#3498db"
  143.           size: 70%
  144.         gauge_type: standard
  145.         show_graph: false
  146.         adaptive_state_color: true
  147.       - type: custom:modern-circular-gauge
  148.         name: Monthly CoP
  149.         entity: sensor.altherma_mcop_monthly
  150.         unit: COP
  151.         min: 0
  152.         max: 7
  153.         needle: true
  154.         smooth_segments: true
  155.         icon: |-
  156.           {% if is_state('binary_sensor.daikin_boiler_dhw', 'on') %}
  157.             mdi:water-boiler
  158.           {% elif is_state('binary_sensor.daikin_heating', 'on') %}
  159.             mdi:radiator
  160.           {% else %}
  161.             mdi:fire
  162.           {% endif %}
  163.         adaptive_icon_color: true
  164.         segments:
  165.           - from: 0
  166.             color: "#e74c3c"
  167.           - from: 2.5
  168.             color: "#f39c12"
  169.           - from: 3.5
  170.             color: "#2ecc71"
  171.           - from: 5
  172.             color: "#27ae60"
  173.         secondary:
  174.           entity: sensor.altherma_scop_energy_monthly_elec
  175.           unit: kWh
  176.           decimals: 0
  177.           show_gauge: inner
  178.           max: 700
  179.           color: "#3498db"
  180.           show_state: true
  181.           offset: -20
  182.           show_in_graph: false
  183.         tertiary:
  184.           text: >-
  185.             Heat: {{ states('sensor.altherma_scop_energy_monthly_therm') |
  186.            float(0) | round(0) }} kWh
  187.           color: "#ff9900"
  188.           size: 80%
  189.         gauge_type: standard
  190.         start_from_zero: true
  191.         gauge_background_style:
  192.           opacity: 0.1
  193.         show_graph: true
  194.         graph_hours_to_show: 720
  195.         adaptive_state_color: true
  196.       - type: custom:modern-circular-gauge
  197.         name: SCOP
  198.         entity: sensor.altherma_scop_yearly
  199.         unit: SCOP
  200.         min: 0
  201.         max: 7
  202.         needle: true
  203.         smooth_segments: true
  204.         icon: |-
  205.           {% if is_state('binary_sensor.daikin_boiler_dhw', 'on') %}
  206.             mdi:water-boiler
  207.           {% elif is_state('binary_sensor.daikin_heating', 'on') %}
  208.             mdi:radiator
  209.           {% else %}
  210.             mdi:fire
  211.           {% endif %}
  212.         adaptive_icon_color: true
  213.         segments:
  214.           - from: 0
  215.             color: "#e74c3c"
  216.           - from: 2.5
  217.             color: "#f39c12"
  218.           - from: 3.5
  219.             color: "#2ecc71"
  220.           - from: 5
  221.             color: "#27ae60"
  222.         secondary:
  223.           entity: sensor.altherma_scop_energy_yearly_elec
  224.           unit: kWh
  225.           show_gauge: inner
  226.           decimals: 0
  227.           max: 3500
  228.           color: "#3498db"
  229.           show_state: true
  230.           offset: -20
  231.         tertiary:
  232.           text: >-
  233.             Grade: {{ state_attr('sensor.altherma_scop_yearly',
  234.             'efficiency_grade') }}
  235.           color: "#9b59b6"
  236.           size: 80%
  237.         gauge_type: standard
  238.         start_from_zero: true
  239.         gauge_background_style:
  240.           opacity: 0.1
  241.         adaptive_state_color: true
  242.   - type: vertical-stack
  243.     cards:
  244.       - type: grid
  245.         columns: 2
  246.         square: false
  247.         cards:
  248.           - type: custom:entity-progress-card
  249.             entity: sensor.espaltherma_flowsensor
  250.             name: Flow Dynamics
  251.             icon: mdi:water-pump
  252.             target: 20
  253.             min: 0
  254.             bar_size: large
  255.             bar_color: >-
  256.               {% if is_state('sensor.daikin_defrost_operation', 'ON') %} #d32f2f
  257.               {% else %} #2196f3 {% endif %}
  258.             badge_icon: >-
  259.               {% if is_state('sensor.daikin_defrost_operation', 'ON') %}
  260.               mdi:snowflake-melt {% else %} mdi:check-circle {% endif %}
  261.             badge_color: >-
  262.               {% if is_state('sensor.daikin_defrost_operation', 'ON') %} red {%
  263.               else %} green {% endif %}
  264.             name_info: "ΔT: {{ (states('sensor.daikin_aanvoer')"
  265.           - type: custom:entity-progress-card
  266.             entity: sensor.daikin_aanvoer_water
  267.             name: Aanvoer-
  268.             icon: mdi:thermometer
  269.             target: 50
  270.             min: 20
  271.             bar_size: large
  272.             custom_theme:
  273.               - min: 0
  274.                 max: 30
  275.                 color: "#2196f3"
  276.               - min: 30
  277.                 max: 45
  278.                 color: "#ff9800"
  279.               - min: 45
  280.                 max: 60
  281.                 color: "#d32f2f"
  282.             badge_icon: mdi:home-thermometer
  283.             badge_color: orange
  284.             name_info: "Retour: {{ states('sensor.daikin_retour_water') }}°C"
  285.           - type: custom:entity-progress-card
  286.             entity: sensor.altherma_scop_energy_daily_elec
  287.             name: Verbruik (Dag)
  288.             icon: mdi:flash
  289.             target: 30
  290.             bar_size: large
  291.             custom_theme:
  292.               - min: 0
  293.                 max: 10
  294.                 color: "#4caf50"
  295.               - min: 10
  296.                 max: 20
  297.                 color: "#ff9800"
  298.               - min: 20
  299.                 max: 50
  300.                 color: "#d32f2f"
  301.             badge_icon: mdi:currency-eur
  302.             badge_color: grey
  303.             name_info: >-
  304.               DCOP: {{ (states('sensor.altherma_scop_energy_daily_therm') |
  305.              float(0) / states('sensor.altherma_scop_energy_daily_elec') |
  306.               float(0.01)) | round(2) }}
  307.           - type: custom:entity-progress-card
  308.             entity: sensor.altherma_scop_energy_daily_therm
  309.             name: Thermisch /
  310.             icon: mdi:heat-wave
  311.             target: 100
  312.             bar_size: large
  313.             bar_color: "#ff9800"
  314.             badge_icon: mdi:chart-line
  315.             badge_color: orange
  316.             name_info: "SCOP: {{ states('sensor.altherma_scop_yearly') }}"
  317.   - type: custom:apexcharts-card
  318.     experimental:
  319.       color_threshold: true
  320.       brush: true
  321.     graph_span: 24h
  322.     span:
  323.       start: day
  324.     apex_config:
  325.       grid:
  326.         show: false
  327.       xaxis:
  328.         labels:
  329.           style:
  330.             fontSize: 15px
  331.       dataLabels:
  332.         enabled: true
  333.       legend:
  334.         show: true
  335.       chart:
  336.         height: 280px
  337.     header:
  338.       show: true
  339.       title: Hourly CoP
  340.       show_states: true
  341.       colorize_states: true
  342.     yaxis:
  343.       - id: cop
  344.         opposite: true
  345.         show: false
  346.         min: 4
  347.         decimals: 2
  348.         apex_config:
  349.           tickAmount: 50
  350.           labels:
  351.             formatter: |
  352.              EVAL:function(value) {
  353.                 return value.toFixed(1).toString() + " CoP";
  354.               }  
  355.       - id: temp
  356.         opposite: false
  357.         show: false
  358.         min: auto
  359.         decimals: 2
  360.         apex_config:
  361.           tickAmount: 10
  362.           labels:
  363.             formatter: |
  364.              EVAL:function(value) {
  365.                 return value.toFixed(1).toString() + " °C";
  366.               }  
  367.     series:
  368.       - entity: sensor.altherma_dcop_daily
  369.         name: DCOP
  370.         type: column
  371.         float_precision: 2
  372.         show:
  373.           in_brush: false
  374.           datalabels: true
  375.         yaxis_id: cop
  376.         group_by:
  377.           func: last
  378.           duration: 1h
  379.       - entity: sensor.ws_temperature
  380.         yaxis_id: temp
  381.         name: Outsid Temp
  382.         fill_raw: last
  383.         show:
  384.           in_brush: false
  385.           datalabels: false
  386.           extremas: true
  387.         group_by:
  388.           func: median
  389.           duration: 1h
  390.       - entity: sensor.defrost
  391.         name: Defrost
  392.         type: column
  393.         show:
  394.           in_brush: false
  395.           datalabels: true
  396.           in_chart: false
  397.         yaxis_id: cop
  398.         group_by:
  399.           func: avg
  400.           duration: 1h
  401.           start_with_last: false
  402.   - square: true
  403.     type: grid
  404.     cards:
  405.       - type: custom:sankey-chart
  406.         layout: auto
  407.         height: 150
  408.         unit_prefix: k
  409.         round: 1
  410.         convert_units_to: kWh
  411.         co2_intensity_entity: sensor.co2_signal_co2_intensity
  412.         min_box_size: 3
  413.         min_box_distance: 5
  414.         min_state: 0
  415.         show_states: true
  416.         show_units: true
  417.         sections:
  418.           - entities:
  419.               - type: entity
  420.                 children:
  421.                  - sensor.altherma_scop_energy_daily_therm
  422.                 entity_id: sensor.altherma_scop_energy_daily_elec
  423.                 name: Electricity
  424.                 color: "#00bfff"
  425.               - type: entity
  426.                 children:
  427.                  - sensor.altherma_scop_energy_daily_therm
  428.                 entity_id: sensor.altherma_free_energy_daily
  429.                 name: Free Energy
  430.                 color: "#2ecc71"
  431.           - entities:
  432.               - type: entity
  433.                 children: []
  434.                 entity_id: sensor.altherma_scop_energy_daily_therm
  435.                 name: Thermal Output
  436.                 color: "#ff9900"
  437.         gas_co2_intensity: 2351.6459999999997
  438.         show_names: true
  439.         title: "Daily "
  440.       - type: custom:sankey-chart
  441.         layout: auto
  442.         height: 150
  443.         unit_prefix: auto
  444.         round: 2
  445.         convert_units_to: kWh
  446.         co2_intensity_entity: sensor.co2_signal_co2_intensity
  447.         min_box_size: 3
  448.         min_box_distance: 5
  449.         min_state: 0
  450.         show_states: true
  451.         show_units: true
  452.         sections:
  453.           - entities:
  454.               - type: entity
  455.                 children:
  456.                  - sensor.altherma_scop_energy_monthly_therm
  457.                 entity_id: sensor.altherma_scop_energy_monthly_elec
  458.                 name: Electricity
  459.                 color: "#00bfff"
  460.               - type: entity
  461.                 children:
  462.                  - sensor.altherma_scop_energy_monthly_therm
  463.                 entity_id: sensor.altherma_free_energy_monthly
  464.                 name: Free Energy
  465.                 color: "#2ecc71"
  466.           - entities:
  467.               - type: entity
  468.                 children: []
  469.                 entity_id: sensor.altherma_scop_energy_monthly_therm
  470.                 name: Thermal Output
  471.                 color: "#ff9900"
  472.         gas_co2_intensity: 2351.6459999999997
  473.         show_names: true
  474.         title: "Monthly "
  475.       - type: custom:sankey-chart
  476.         layout: auto
  477.         height: 150
  478.         unit_prefix: auto
  479.         round: 2
  480.         convert_units_to: kWh
  481.         co2_intensity_entity: sensor.co2_signal_co2_intensity
  482.         min_box_size: 3
  483.         min_box_distance: 5
  484.         min_state: 0
  485.         show_states: true
  486.         show_units: true
  487.         sections:
  488.           - entities:
  489.               - type: entity
  490.                 children:
  491.                  - sensor.altherma_scop_energy_yearly_therm
  492.                 entity_id: sensor.altherma_scop_energy_yearly_elec
  493.                 name: Electricity
  494.                 color: "#00bfff"
  495.               - type: entity
  496.                 children:
  497.                  - sensor.altherma_scop_energy_yearly_therm
  498.                 entity_id: sensor.altherma_free_energy_yearly
  499.                 name: Free Energy
  500.                 color: "#2ecc71"
  501.           - entities:
  502.               - type: entity
  503.                 children: []
  504.                 entity_id: sensor.altherma_scop_energy_yearly_therm
  505.                 name: Thermal Output
  506.                 color: "#ff9900"
  507.         gas_co2_intensity: 2351.6459999999997
  508.         show_names: true
  509.         title: "Yearly "
  510.         wide: true
  511.     columns: 3
  512.   - type: custom:mini-graph-card
  513.     name: SCOP Performance
  514.     icon: mdi:heat-pump-outline
  515.     hours_to_show: 72
  516.     points_per_hour: 1
  517.     animate: true
  518.     line_width: 3
  519.     smoothing: true
  520.     font_size: 100
  521.     height: 150
  522.     entities:
  523.       - entity: sensor.altherma_scop_yearly
  524.         name: Efficiency
  525.         show_state: true
  526.         show_points: false
  527.         color: "#a4b0be"
  528.     color_thresholds:
  529.       - value: 5.2
  530.         color: "#a55eea"
  531.       - value: 4.8
  532.         color: "#26de81"
  533.       - value: 4.4
  534.         color: "#2bcbba"
  535.       - value: 4
  536.         color: "#45aaf2"
  537.       - value: 3.5
  538.         color: "#fed330"
  539.       - value: 3
  540.         color: "#fd9644"
  541.       - value: 2.5
  542.         color: "#fc5c65"
  543.       - value: 0
  544.         color: "#eb3b5a"
  545.     show:
  546.       labels: true
  547.       labels_secondary: true
  548.       extrema: true
  549.       average: true
  550.       fill: fade
  551.       icon_adaptive_color: true
  552.     card_mod:
  553.       style: |
  554.        ha-card {
  555.           /* Glassmorphism Background */
  556.           background: linear-gradient(135deg, rgba(var(--rgb-card-background-color), 0.7), rgba(var(--rgb-card-background-color), 0.4));
  557.           backdrop-filter: blur(10px);
  558.           border: 1px solid rgba(255, 255, 255, 0.08);
  559.           border-radius: 16px;
  560.           box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  561.           transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  562.           overflow: hidden;
  563.         }
  564.  
  565.         /* Hover Animation: Card lifts up slightly */
  566.         ha-card:hover {
  567.           transform: translateY(-3px);
  568.           box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  569.           border-color: rgba(255, 255, 255, 0.2);
  570.         }
  571.  
  572.         /* HEADER: Title & Icon Positioning */
  573.         .header {
  574.           padding-bottom: 0px !important;
  575.         }
  576.  
  577.         .header .name {
  578.           font-weight: 600;
  579.           letter-spacing: 0.5px;
  580.           text-transform: uppercase;
  581.           font-size: 13px;
  582.           opacity: 0.6;
  583.         }
  584.  
  585.         /* ICON: Subtle drop shadow for depth */
  586.         .header .icon {
  587.           opacity: 1;
  588.           filter: drop-shadow(0 0 4px rgba(0,0,0,0.2));
  589.         }
  590.  
  591.         /* VALUE: Large, Thin & Gradient Text */
  592.         .states .state .state__value {
  593.           font-size: 3.2rem !important;
  594.           font-family: 'Roboto', sans-serif;
  595.           font-weight: 300;
  596.           letter-spacing: -1px;
  597.           margin-top: -10px;
  598.          
  599.           /* Gradient Text Effect (Fades slightly at bottom) */
  600.           background: -webkit-linear-gradient(top, var(--primary-text-color), rgba(var(--rgb-primary-text-color), 0.6));
  601.           -webkit-background-clip: text;
  602.           -webkit-text-fill-color: transparent;
  603.         }
  604.  
  605.         /* UNIT: Tiny text alignment */
  606.         .states .state .state__uom {
  607.           font-size: 0.8rem;
  608.           font-weight: 600;
  609.           color: var(--secondary-text-color);
  610.           align-self: flex-end;
  611.           margin-bottom: 12px;
  612.           margin-left: 2px;
  613.         }
  614.  
  615.         /* GRAPH: Layout Tweaks */
  616.         .graph {
  617.           margin-top: 5px;
  618.         }
  619.  
  620.         /* LABELS: Styling the min/max/avg numbers */
  621.         .graph__labels {
  622.           font-size: 10px;
  623.           font-weight: 500;
  624.           opacity: 0.6;
  625.         }
  626.  
  627.         /* FORCE COLORS: Make max always green, min always red for clarity */
  628.         .graph__labels .label--max {
  629.           color: #26de81 !important;
  630.           font-weight: 700;
  631.         }
  632.         .graph__labels .label--min {
  633.           color: #fc5c65 !important;
  634.           font-weight: 700;
  635.         }
  636.           background: rgba(var(--rgb-card-background-color), 0.6);
  637.           border: 1px solid rgba(255, 255, 255, 0.1);
  638.           border-radius: 12px;
  639.           padding-bottom: 10px;
  640.         }
  641.  
  642.         /* Style the Title */
  643.         .header .name {
  644.           font-weight: 500;
  645.           opacity: 0.8;
  646.           font-size: 14px;
  647.         }
  648.  
  649.         /* Style the Icon */
  650.         .header .icon {
  651.           color: var(--primary-text-color);
  652.           opacity: 0.7;
  653.         }
  654.  
  655.         /* Style the Main State Value (Big Number) */
  656.         .states .state .state__value {
  657.           font-size: 2.4rem !important;
  658.           font-weight: 700;
  659.           /* Adds a slight text shadow for depth */
  660.           text-shadow: 0px 2px 4px rgba(0,0,0,0.2);
  661.         }
  662.  
  663.         /* Style the Unit of Measurement (if any) */
  664.         .states .state .state__uom {
  665.           font-size: 0.9rem;
  666.           font-weight: 400;
  667.           opacity: 0.6;
  668.           align-self: flex-end;
  669.           margin-bottom: 8px;
  670.         }
  671.  
  672.         /* Adjust the graph area padding */
  673.         .graph {
  674.           padding-top: 15px !important;
  675.         }
  676.   - type: entities
  677.     title: Daikin Altherma SCOP Monitor
  678.     entities:
  679.       - entity: sensor.altherma_dcop_daily
  680.         type: custom:multiple-entity-row
  681.         name: Today
  682.         icon: mdi:calendar-today
  683.         state_header: DCOP
  684.         entities:
  685.           - entity: sensor.altherma_scop_energy_daily_elec
  686.             name: In
  687.             unit: kWh
  688.             format: precision1
  689.           - entity: sensor.altherma_scop_energy_daily_therm
  690.             name: Out
  691.             unit: kWh
  692.             format: precision1
  693.       - entity: sensor.altherma_mcop_monthly
  694.         type: custom:multiple-entity-row
  695.         name: This Month
  696.         icon: mdi:calendar-month
  697.         state_header: MCOP
  698.         entities:
  699.           - entity: sensor.altherma_scop_energy_monthly_elec
  700.             name: In
  701.             unit: kWh
  702.             format: precision0
  703.           - entity: sensor.altherma_scop_energy_monthly_therm
  704.             name: Out
  705.             unit: kWh
  706.             format: precision0
  707.       - entity: sensor.altherma_scop_yearly
  708.         type: custom:multiple-entity-row
  709.         name: This Year SCoP
  710.         icon: mdi:chart-bell-curve-cumulative
  711.         state_header: SCOP
  712.         entities:
  713.           - entity: sensor.altherma_scop_energy_yearly_elec
  714.             name: In
  715.             unit: kWh
  716.             format: precision0
  717.           - entity: sensor.altherma_scop_energy_yearly_therm
  718.             name: Out
  719.             unit: kWh
  720.             format: precision0
  721.     theme: synthwave
  722.   - type: custom:apexcharts-card
  723.     header:
  724.       show: true
  725.       title: Rendement CoP vs DCoP
  726.       show_states: true
  727.       colorize_states: true
  728.     graph_span: 4h
  729.     show:
  730.       last_updated: true
  731.     span:
  732.       end: hour
  733.     all_series_config:
  734.       stroke_width: 4
  735.       curve: smooth
  736.     series:
  737.       - entity: sensor.altherma_dcop_daily
  738.         name: Dag COP
  739.         yaxis_id: cop
  740.         stroke_width: 5
  741.         color: red
  742.         type: line
  743.         fill_raw: last
  744.       - entity: sensor.altherma_scop_thermal_output_power
  745.         name: CoP Live
  746.         yaxis_id: cop
  747.         curve: monotoneCubic
  748.         group_by:
  749.           func: avg
  750.           duration: 15m
  751.         color: "#ff9900"
  752.         type: area
  753.         fill_raw: last
  754.         opacity: 0.2
  755.         transform: >-
  756.           return (x /
  757.           hass.states['sensor.altherma_scop_electrical_input_power'].state);
  758.         unit: " COP"
  759.         show:
  760.           in_header: true
  761.       - entity: sensor.bt_carport_temperature
  762.         name: Buitentemperatuur
  763.         yaxis_id: temp
  764.         color: "#00bfff"
  765.         type: line
  766.         fill_raw: last
  767.         stroke_width: 2
  768.         show:
  769.           legend_value: true
  770.           in_chart: true
  771.         group_by:
  772.           func: avg
  773.           duration: 1h
  774.     yaxis:
  775.       - id: cop
  776.         min: auto
  777.         max: auto
  778.         decimals: 1
  779.         opposite: true
  780.         apex_config:
  781.           title:
  782.             text: COP / Rendement
  783.       - id: temp
  784.         opposite: false
  785.         show: true
  786.         apex_config:
  787.           title:
  788.             text: Temp (°C)
  789.   - square: false
  790.     type: grid
  791.     cards:
  792.       - square: false
  793.         type: grid
  794.         cards:
  795.           - type: gauge
  796.             entity: sensor.altherma_scop_yearly
  797.             name: Seasonal Efficiency (SCOP)
  798.             min: 1
  799.             max: 6
  800.             needle: true
  801.             segments:
  802.               - from: 1
  803.                 color: "#db4437"
  804.                 label: Poor
  805.               - from: 2.5
  806.                 color: "#f4b400"
  807.                 label: Fair
  808.               - from: 3.5
  809.                 color: "#4285f4"
  810.                 label: Good
  811.               - from: 4.5
  812.                 color: "#0f9d58"
  813.                 label: A+++
  814.           - type: custom:mini-graph-card
  815.             name: Efficiency
  816.             icon: mdi:thermometer-chevron-up
  817.             hours_to_show: 24
  818.             points_per_hour: 2
  819.             entities:
  820.               - entity: sensor.altherma_scop_yearly
  821.                 name: SCOP
  822.                 color: "#44bd32"
  823.                 show_fill: true
  824.             show:
  825.               labels: true
  826.               labels_secondary: true
  827.         columns: 2
  828.       - chart_type: line
  829.         period: day
  830.         type: statistics-graph
  831.         title: Seasonal Efficiency Trend (6 Months)
  832.         days_to_show: 180
  833.         stat_types:
  834.          - mean
  835.           - max
  836.           - min
  837.         entities:
  838.           - entity: sensor.altherma_scop_yearly
  839.             name: Seasonal Efficiency
  840.     columns: 1
  841. title: CoP & SCOP 2025
  842. columns: 1
  843.  
Advertisement
Add Comment
Please, Sign In to add comment