Tableaux ECS : carte Aujourd'hui, prevision VRM, bloc jour faible ; HANDOFF

This commit is contained in:
Tallagrand Thierry
2026-10-07 07:27:25 +02:00
parent 36c2fb713a
commit ad48de1c75
3 changed files with 106 additions and 8 deletions

View File

@@ -117,15 +117,29 @@ views:
name: AC-IN dispo
icon: mdi:power-plug
- type: custom:mushroom-entity-card
entity: sensor.energy_production_today_remaining
name: Prod restante jour
# 07/10/2026 : la prevision lue par le conseiller est celle du bilan
# (VRM par defaut), plus Forecast.Solar directement.
- type: custom:mushroom-template-card
primary: Prod restante jour
secondary: >-
{% set vt = states('input_text.evcs_balance_vrm_today').split(',') %}
{% set ns = namespace(r=0) %}
{% if is_state('input_select.evcs_balance_forecast_source', 'vrm') and vt | length == 24 %}
{% for i in range(now().hour, 24) %}{% set v = vt[i] | float(0) %}{% set ns.r = ns.r + (v * (1 - now().minute / 60) if i == now().hour else v) %}{% endfor %}
{{ ns.r | round(1) }} kWh (VRM)
{% else %}{{ states('sensor.energy_production_today_remaining') }} kWh (Forecast.Solar){% endif %}
icon: mdi:weather-sunny
icon_color: amber
- type: custom:mushroom-entity-card
entity: sensor.energy_production_tomorrow
name: Prod demain
- type: custom:mushroom-template-card
primary: Prod demain
secondary: >-
{% set vd = states('input_text.evcs_balance_vrm_tomorrow').split(',') %}
{% if is_state('input_select.evcs_balance_forecast_source', 'vrm') and vd | length == 24 %}
{{ vd | map('float', 0) | sum | round(1) }} kWh (VRM)
{% else %}{{ states('sensor.energy_production_tomorrow') }} kWh (Forecast.Solar){% endif %}
icon: mdi:weather-partly-cloudy
icon_color: amber
- type: custom:mushroom-title-card
title: Chauffe-eau observé
@@ -292,6 +306,23 @@ views:
- entity: input_number.victron_ac_loads_max_safe_w
name: Charge AC max safe
# Jour faible : eau chaude en HC de nuit (07/10/2026).
- type: entities
title: Jour faible — eau chaude en heures creuses
entities:
- entity: input_boolean.evcs_balance_ecs_nuit
name: Jour faible (décision du bilan)
- entity: input_text.evcs_balance_ecs_nuit_jour
name: Décision du jour
- entity: input_boolean.victron_water_heater_off_jour_faible
name: Coupé par la règle jour faible
- entity: input_boolean.victron_evcs_night_grid_session_committed
name: Session réseau HC engagée
- entity: sensor.evcs_chauffe_eau_jour_kwh
name: Chauffe-eau depuis 07:24
- entity: sensor.evcs_chauffe_eau_24h_kwh
name: Chauffe-eau sur 24 h
- type: custom:mushroom-title-card
title: Historique
subtitle: Visualisation rapide 24h
@@ -321,4 +352,10 @@ views:
name: Forced OFF
- entity: input_boolean.victron_evcs_priority_active
name: EVCS prioritaire
- entity: input_boolean.evcs_balance_ecs_nuit
name: Jour faible
- entity: input_boolean.victron_water_heater_off_jour_faible
name: Coupé jour faible
- entity: switch.edf_general_ok_switch
name: EDF