HA Bilan energetique / Production : les quatre entrees du RS 450/200
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011uJ47NxgfpGnuuMr3f2n7Z
This commit is contained in:
@@ -480,6 +480,15 @@ views:
|
||||
|---|---|---:|
|
||||
| MPPT 250/70 — sud-est | 10 | {{ d.airtria_mppt1 if d.airtria_mppt1 is not none else 'muet' }} |
|
||||
| RS 450/200 — sud + ouest | 39 | {{ d.mppt_450_200 if d.mppt_450_200 is not none else 'muet' }} |
|
||||
{%- set noms = {1: 'sud, string 1', 2: 'sud, string 2', 3: 'sud, string 3', 4: 'ouest'} %}
|
||||
{%- set pan = {1: 10, 2: 10, 3: 10, 4: 9} %}
|
||||
{%- for i in [1, 2, 3, 4] %}
|
||||
{%- set e = 'sensor.mppt_450_200_hq2449yr9pt_tracker_solar_' ~ i ~ '_yield_today' %}
|
||||
{%- set v = states(e) %}
|
||||
{#- meme regle que le capteur total : une valeur d'hier pas encore remise a zero compte 0 #}
|
||||
{%- set hier = v | float(0) > 0 and states[e] is not none and states[e].last_changed < today_at('00:00') %}
|
||||
| ↳ {{ noms[i] }} | {{ pan[i] }} | {{ 0 if hier else (v if v not in ['unknown', 'unavailable'] else 'muet') }} |
|
||||
{%- endfor %}
|
||||
| 150/35 — suiveur | 3 | {{ d.v1 if d.v1 is not none else 'muet' }} |
|
||||
{% if state_attr(p, 'pas_encore_remis_a_zero') %}
|
||||
|
||||
@@ -527,7 +536,43 @@ views:
|
||||
type: line
|
||||
color: '#9e9e9e'
|
||||
|
||||
- type: custom:apexcharts-card
|
||||
header:
|
||||
show: true
|
||||
title: RS 450/200 — les quatre entrées
|
||||
show_states: false
|
||||
graph_span: 1d
|
||||
span:
|
||||
start: day
|
||||
apex_config:
|
||||
chart:
|
||||
height: 260
|
||||
legend:
|
||||
position: top
|
||||
yaxis:
|
||||
- title: {text: kWh}
|
||||
decimals: 1
|
||||
min: 0
|
||||
# Les trois strings sud (10 panneaux, 35 degres) doivent rester
|
||||
# superposees : une courbe qui decroche signale un defaut de string
|
||||
# (ombre, connecteur, panneau). L'ouest (9 panneaux) produit l'apres-midi.
|
||||
series:
|
||||
- entity: sensor.mppt_450_200_hq2449yr9pt_tracker_solar_1_yield_today
|
||||
name: Sud string 1
|
||||
color: '#2d8cf0'
|
||||
- entity: sensor.mppt_450_200_hq2449yr9pt_tracker_solar_2_yield_today
|
||||
name: Sud string 2
|
||||
color: '#19be6b'
|
||||
- entity: sensor.mppt_450_200_hq2449yr9pt_tracker_solar_3_yield_today
|
||||
name: Sud string 3
|
||||
color: '#9a66e4'
|
||||
- entity: sensor.mppt_450_200_hq2449yr9pt_tracker_solar_4_yield_today
|
||||
name: Ouest
|
||||
color: '#f05a02'
|
||||
|
||||
- type: markdown
|
||||
content: >
|
||||
Les quatre entrées du RS 450/200 sont un **détail** de son total : ne
|
||||
jamais les additionner au total du jour (double comptage).
|
||||
L'historique sur plusieurs jours est dans **Grafana**, tableau
|
||||
« Le solaire », panneau « Production du jour par chargeur ».
|
||||
|
||||
Reference in New Issue
Block a user