Files
EVCS/dashboards/ECS_DEBUG_REGLAGES_PREMIUM.yaml

362 lines
16 KiB
YAML
Executable File

title: ECS Debug Réglages Premium
views:
- title: ECS Debug Premium
path: ecs-debug-premium
icon: mdi:bug
cards:
- type: vertical-stack
cards:
- type: custom:mushroom-title-card
title: ECS Réglages & Debug
subtitle: Advisor + Observer + Protection + EVCS
- type: custom:vertical-stack-in-card
cards:
- type: custom:mushroom-chips-card
chips:
- type: entity
entity: input_select.victron_water_heater_recommended_mode
name: Conseil
- type: entity
entity: input_text.victron_water_heater_observed_regime
name: Observé
- type: entity
entity: input_boolean.victron_evcs_priority_active
name: EVCS
icon_color: >-
{% if is_state('input_boolean.victron_evcs_priority_active','on') %}
red
{% else %}
grey
{% endif %}
- type: entity
entity: input_boolean.victron_water_heater_forced_off_by_advisor
name: Forced OFF
icon_color: >-
{% if is_state('input_boolean.victron_water_heater_forced_off_by_advisor','on') %}
red
{% else %}
grey
{% endif %}
- type: entity
entity: switch.tt_chauffe_eau_pleumeur_switch
name: Alim
- type: entity
entity: input_boolean.victron_water_heater_advisor_enabled
name: Advisor
- type: custom:vertical-stack-in-card
cards:
- type: custom:mushroom-template-card
entity: input_text.victron_water_heater_advice_state
primary: >-
ECS {{ states('input_select.victron_water_heater_recommended_mode')|upper }}
/ {{ states('input_select.victron_water_heater_advice_color')|upper }}
secondary: >-
État: {{ states('input_text.victron_water_heater_advice_state') }}
{% if states('input_text.victron_water_heater_pending_user_action') not in ['','unknown','unavailable'] %}
• Action: {{ states('input_text.victron_water_heater_pending_user_action') }}
{% endif %}
icon: mdi:water-boiler-alert
icon_color: >-
{% set c = states('input_select.victron_water_heater_advice_color') %}
{% if c == 'green' %}
green
{% elif c == 'orange' %}
orange
{% else %}
red
{% endif %}
multiline_secondary: true
- type: custom:mushroom-title-card
title: Capteurs bruts
subtitle: Contexte énergétique réel
- type: grid
columns: 2
square: false
cards:
- type: custom:mushroom-entity-card
entity: sensor.victron_battery_soc
name: SOC batterie
icon: mdi:battery
- type: custom:mushroom-entity-card
entity: sensor.victron_battery_current
name: Courant batterie
icon: mdi:current-dc
- type: custom:mushroom-entity-card
entity: sensor.victron_pv_power_system
name: PV instantané
icon: mdi:solar-power
- type: custom:mushroom-entity-card
entity: sensor.victron_pv_power_10m_avg
name: PV moyen 10 min
icon: mdi:chart-bell-curve
- type: custom:mushroom-entity-card
entity: sensor.victron_consumption_power_l1
name: Charge maison
icon: mdi:home-lightning-bolt
- type: custom:mushroom-entity-card
entity: sensor.victron_grid_power_l1
name: Réseau
icon: mdi:transmission-tower
- type: custom:mushroom-entity-card
entity: switch.edf_general_ok_switch
name: Commande EDF
icon: mdi:flash
- type: custom:mushroom-entity-card
entity: sensor.victron_ac_in1_available
name: AC-IN dispo
icon: mdi:power-plug
# 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-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é
subtitle: Runtime réel
- type: grid
columns: 2
square: false
cards:
- type: custom:mushroom-entity-card
entity: switch.tt_chauffe_eau_pleumeur_switch
name: Alim ECS
icon: mdi:water-boiler
- type: custom:mushroom-entity-card
entity: sensor.tt_chauffe_eau_pleumeur_energie_totale
name: Énergie totale ECS
icon: mdi:counter
- type: custom:mushroom-entity-card
entity: input_number.victron_water_heater_observed_power_w
name: Puissance observée
icon: mdi:flash
- type: custom:mushroom-entity-card
entity: input_text.victron_water_heater_observed_regime
name: Régime observé
icon: mdi:eye
- type: custom:mushroom-entity-card
entity: input_number.victron_water_heater_energy_total_prev_kwh
name: Énergie précédente
icon: mdi:history
- type: custom:mushroom-entity-card
entity: input_datetime.victron_water_heater_energy_prev_at
name: Échantillon précédent
icon: mdi:clock-outline
- type: custom:mushroom-title-card
title: Sortie advisor
subtitle: Décision calculée
- type: custom:vertical-stack-in-card
cards:
- type: entities
entities:
- entity: input_select.victron_water_heater_recommended_mode
name: Mode recommandé
- entity: input_select.victron_water_heater_advice_color
name: Couleur conseil
- entity: input_text.victron_water_heater_advice_state
name: État advisor
- entity: input_text.victron_water_heater_advice_reason
name: Raison
- entity: input_number.victron_water_heater_projected_end_of_day_soc
name: SOC projeté fin de jour
- entity: input_number.victron_water_heater_budget_margin_kwh
name: Marge budget
- entity: input_number.victron_load_water_heater_kwh
name: Charge retenue
- entity: input_text.victron_water_heater_advice_last_signature
name: Signature
- type: custom:mushroom-title-card
title: Mismatch & protection
subtitle: Interaction humaine + sécurité EVCS
- type: custom:vertical-stack-in-card
cards:
- type: entities
entities:
- entity: input_text.victron_water_heater_pending_user_action
name: Action utilisateur attendue
- entity: input_datetime.victron_water_heater_mode_mismatch_since
name: Mismatch depuis
- entity: input_boolean.victron_water_heater_forced_off_by_advisor
name: Coupé par advisor
- entity: input_text.victron_water_heater_forced_off_reason
name: Raison coupure
- entity: input_datetime.victron_water_heater_forced_off_at
name: Coupé à
- entity: input_number.victron_water_heater_mode_mismatch_delay_min
name: Délai mismatch
- entity: input_number.victron_water_heater_restore_surplus_w
name: Surplus mini restauration
- type: custom:mushroom-title-card
title: Intégration EVCS
subtitle: Priorité maison globale
- type: custom:vertical-stack-in-card
cards:
- type: entities
entities:
- entity: input_boolean.victron_evcs_priority_active
name: EVCS prioritaire
- entity: input_select.victron_energy_priority_mode
name: Mode priorité énergie
- entity: input_text.victron_energy_priority_reason
name: Raison priorité
- entity: input_datetime.victron_evcs_priority_until
name: Priorité jusqu'à
- type: custom:mushroom-title-card
title: Réglages usage ECS
subtitle: Demande, horaires, politique
- type: custom:vertical-stack-in-card
cards:
- type: entities
entities:
- entity: input_boolean.victron_water_heater_advisor_enabled
name: Advisor activé
- entity: input_boolean.victron_water_heater_notifications
name: Notifications
- entity: input_select.victron_water_heater_hot_water_demand
name: Demande ECS
- entity: input_boolean.victron_water_heater_morning_boost_priority_enabled
name: Priorité boost matin
- entity: input_datetime.victron_water_heater_morning_boost_latest_time
name: Heure max boost matin
- entity: input_datetime.victron_water_heater_late_red_time
name: Heure red tardive
- entity: input_datetime.victron_flexible_day_start_time
name: Début fenêtre jour
- entity: input_datetime.victron_flexible_day_stop_time
name: Fin fenêtre jour
- type: custom:mushroom-title-card
title: Réglages énergie
subtitle: Seuils et garde-fous
- type: custom:vertical-stack-in-card
cards:
- type: entities
entities:
- entity: input_number.victron_water_heater_green_power_w
name: Green W
- entity: input_number.victron_water_heater_auto_power_w
name: Auto W
- entity: input_number.victron_water_heater_boost_power_w
name: Boost W
- entity: input_number.victron_water_heater_strong_forecast_kwh
name: Forecast fort
- entity: input_number.victron_water_heater_medium_forecast_kwh
name: Forecast moyen
- entity: input_number.victron_water_heater_strong_pv_now_w
name: PV fort
- entity: input_number.victron_water_heater_medium_pv_now_w
name: PV moyen
- entity: input_number.victron_water_heater_morning_boost_min_soc_strong_day
name: SOC mini boost matin jour fort
- entity: input_number.victron_water_heater_boost_min_soc_medium_day
name: SOC mini boost jour moyen
- entity: input_number.victron_water_heater_end_of_day_soc_guard
name: Garde SOC fin de jour
- entity: input_number.victron_end_of_day_soc_target
name: Cible SOC fin de jour
- entity: input_number.victron_base_load_remaining_kwh
name: Base load restante
- entity: input_number.victron_flexible_safety_margin_kwh
name: Marge sécurité
- 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
- type: history-graph
title: ECS / PV / Maison
hours_to_show: 24
refresh_interval: 60
entities:
- entity: input_number.victron_water_heater_observed_power_w
name: ECS observé
- entity: sensor.victron_pv_power_system
name: PV
- entity: sensor.victron_consumption_power_l1
name: Maison
- entity: sensor.victron_grid_power_l1
name: Réseau
- type: history-graph
title: États / protection
hours_to_show: 24
refresh_interval: 60
entities:
- entity: switch.tt_chauffe_eau_pleumeur_switch
name: Alim ECS
- entity: input_boolean.victron_water_heater_forced_off_by_advisor
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