Files
EVCS/dashboards/big_victron_debug.yaml
Tallagrand Thierry 3f987f1b3d Les paquets et cartes Home Assistant entrent enfin dans l historique
Treize paquets et dix-sept cartes n existaient qu en un seul exemplaire vivant
sur le partage de 10.10.10.17. La sauvegarde quotidienne les couvre contre la
perte, mais elle ne donne ni diff ni historique : le retrait des initial: du
06/09, les helpers de la reserve d orage, la politique batterie dynamique, la
carte du conseiller reecrite hier n avaient aucune trace de leur evolution.

⚠️ Ce sont des COPIES. La source de verite reste le partage — c est l inverse
de src/nodes/, et le LISEZMOI le dit en tete pour qu une prochaine session
n edite pas la copie en croyant changer l installation.

Verifie avant de verser : aucun identifiant en clair. Le paquet du bilan ne
porte que la DECLARATION de la cle Forecast.Solar, en mode password ; sa valeur
vit dans .storage, qui n entre pas ici.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GwpFpy2aQ2rJok6tNQSbVj
2026-09-14 02:11:13 +02:00

1097 lines
44 KiB
YAML
Executable File

views:
- title: Victron
path: victron
icon: mdi:battery-charging
panel: true
cards:
- type: vertical-stack
cards:
- type: conditional
conditions:
- entity: input_boolean.victron_auto_charge_enabled
state: "off"
card:
type: markdown
content: >
## ⚠️ Automatisation batterie désactivée
Le workflow batterie ne pilote plus automatiquement les consignes de charge.
- type: conditional
conditions:
- entity: input_boolean.victron_charge_override_enabled
state: "on"
card:
type: markdown
content: >
## 🖐️ Override manuel actif
Un profil manuel remplace temporairement les consignes automatiques.
- type: glance
title: Synthèse rapide
show_name: true
show_state: true
columns: 7
entities:
- entity: sensor.victron_battery_soc
name: SOC
- entity: sensor.victron_consumption_power_l1
name: Charges AC
- entity: switch.edf_general_ok_switch
name: Réseau
- entity: sensor.victron_grid_power_l1
name: Grid W
- entity: sensor.victron_pv_power_system
name: PV
- entity: sensor.victron_evcs_ac_power
name: EVCS W
- entity: sensor.victron_battery_current
name: Batt A
- type: horizontal-stack
cards:
- type: gauge
entity: sensor.victron_battery_soc
name: SOC Batterie
min: 0
max: 100
severity:
red: 0
yellow: 22
green: 35
- type: entities
title: Batterie - pilotage principal
show_header_toggle: false
entities:
- entity: input_boolean.victron_auto_charge_enabled
name: Automatisation batterie
- entity: input_boolean.victron_auto_charge_notifications
name: Notifications batterie
- entity: sensor.victron_battery_voltage
name: Tension batterie
- entity: sensor.victron_battery_current
name: Courant batterie
- entity: input_number.victron_soc_live
name: SOC vu par l'automate
- entity: input_text.victron_charge_reason
name: Raison batterie
- entity: input_text.victron_charge_last_signature
name: Signature batterie
secondary_info: last-changed
- type: horizontal-stack
cards:
- type: entities
title: Override manuel charge
show_header_toggle: false
entities:
- entity: input_boolean.victron_charge_override_enabled
name: Override actif
- entity: input_select.victron_charge_override_profile
name: Profil override
- entity: input_number.victron_override_charge_current
name: Courant override
- entity: input_number.victron_override_charge_voltage
name: Tension override
- entity: input_datetime.victron_charge_override_until
name: Override jusqu'à
- entity: input_text.victron_charge_override_reason
name: Raison override
- entity: input_text.victron_effective_charge_profile
name: Profil appliqué
- type: entities
title: Consignes batterie calculées / réelles
show_header_toggle: false
entities:
- entity: input_number.victron_target_charge_current
name: Courant cible automate
- entity: sensor.victron_max_charge_current_setting
name: Courant réglé Victron
- entity: input_number.victron_target_charge_voltage
name: Tension cible automate
- entity: sensor.victron_max_charge_voltage_setting
name: Tension réglée Victron
- entity: input_text.victron_charge_mode
name: Mode batterie
- entity: input_text.victron_effective_charge_profile
name: Profil batterie
- type: horizontal-stack
cards:
- type: entities
title: Production / réseau / prévisions
show_header_toggle: false
entities:
- entity: switch.edf_general_ok_switch
name: Réseau EDF
- entity: sensor.victron_grid_power_l1
name: Puissance réseau
- entity: sensor.victron_pv_power_system
name: Puissance PV
- entity: sensor.victron_consumption_power_l1
name: Charges AC maison
- entity: sensor.energy_production_today_remaining
name: Production restante aujourd'hui
- entity: sensor.energy_production_tomorrow
name: Production demain
- type: history-graph
title: Historique PV / AC / Grid
hours_to_show: 24
refresh_interval: 60
entities:
- entity: sensor.victron_pv_power_system
name: PV
- entity: sensor.victron_consumption_power_l1
name: Charges AC
- entity: sensor.victron_grid_power_l1
name: Grid
- type: horizontal-stack
cards:
- type: entities
title: Flexible Load Advisor
show_header_toggle: false
entities:
- entity: input_boolean.victron_flexible_load_advisor_enabled
name: Advisor actif
- entity: input_boolean.victron_flexible_load_notifications
name: Notifications advisor
- entity: input_number.victron_end_of_day_soc_target
name: Cible SOC fin de journée
- entity: input_number.victron_flexible_safety_margin_kwh
name: Marge sécurité
- entity: input_number.victron_base_load_remaining_kwh
name: Charge de fond restante
- entity: input_text.victron_flexible_load_state
name: État advisor
- entity: input_text.victron_flexible_load_reason
name: Raison advisor
- entity: input_text.victron_flexible_load_last_signature
name: Signature advisor
secondary_info: last-changed
- type: entities
title: Charges flexibles - verdict
show_header_toggle: false
entities:
- entity: input_boolean.victron_advice_evcs_ok
name: EVCS OK
- entity: input_boolean.victron_advice_water_heater_ok
name: Chauffe-eau OK (legacy)
- entity: input_boolean.victron_advice_dishwasher_ok
name: Lave-vaisselle OK
- entity: input_boolean.victron_advice_washer_ok
name: Lave-linge OK
- entity: input_boolean.victron_advice_garage_clim_ok
name: Garage OK
- entity: input_boolean.victron_advice_sdb_heater_ok
name: Chauffage SDB OK
- entity: input_select.victron_evcs_target_vehicle
name: Véhicule cible
- entity: input_number.victron_evcs_required_energy_kwh
name: Besoin EVCS
- entity: input_boolean.victron_evcs_departure_priority_enabled
name: Priorité départ
- entity: input_datetime.victron_evcs_departure_time
name: Heure départ
- type: markdown
content: |
## Feux vert / rouge - charges flexibles
- type: grid
columns: 5
square: false
cards:
- type: conditional
conditions:
- entity: input_boolean.victron_advice_evcs_ok
state: "on"
card:
type: markdown
content: |
### ✅ EVCS OK
- type: conditional
conditions:
- entity: input_boolean.victron_advice_evcs_ok
state: "off"
card:
type: markdown
content: |
### ❌ EVCS NON
- type: conditional
conditions:
- entity: input_boolean.victron_advice_water_heater_ok
state: "on"
card:
type: markdown
content: |
### ✅ Chauffe-eau OK
- type: conditional
conditions:
- entity: input_boolean.victron_advice_water_heater_ok
state: "off"
card:
type: markdown
content: |
### ❌ Chauffe-eau NON
- type: conditional
conditions:
- entity: input_boolean.victron_advice_dishwasher_ok
state: "on"
card:
type: markdown
content: |
### ✅ Lave-vaisselle OK
- type: conditional
conditions:
- entity: input_boolean.victron_advice_dishwasher_ok
state: "off"
card:
type: markdown
content: |
### ❌ Lave-vaisselle NON
- type: conditional
conditions:
- entity: input_boolean.victron_advice_washer_ok
state: "on"
card:
type: markdown
content: |
### ✅ Lave-linge OK
- type: conditional
conditions:
- entity: input_boolean.victron_advice_washer_ok
state: "off"
card:
type: markdown
content: |
### ❌ Lave-linge NON
- type: conditional
conditions:
- entity: input_boolean.victron_advice_garage_clim_ok
state: "on"
card:
type: markdown
content: |
### ✅ Garage OK
- type: conditional
conditions:
- entity: input_boolean.victron_advice_garage_clim_ok
state: "off"
card:
type: markdown
content: |
### ❌ Garage NON
- type: horizontal-stack
cards:
- type: entities
title: Chauffe-eau thermodynamique - Advisor V2
show_header_toggle: false
entities:
- entity: input_boolean.victron_water_heater_advisor_enabled
name: Advisor chauffe-eau actif
- entity: input_boolean.victron_water_heater_notifications
name: Notifications chauffe-eau
- entity: input_select.victron_water_heater_hot_water_demand
name: Besoin ECS
- entity: input_select.victron_water_heater_recommended_mode
name: Mode recommandé
- entity: input_select.victron_water_heater_advice_color
name: Couleur conseil
- entity: input_boolean.victron_water_heater_green_allowed
name: Green autorisé
- entity: input_boolean.victron_water_heater_auto_allowed
name: Auto autorisé
- entity: input_boolean.victron_water_heater_boost_allowed
name: Boost autorisé
- entity: input_number.victron_water_heater_projected_end_of_day_soc
name: SOC fin de jour projeté
- entity: input_number.victron_water_heater_budget_margin_kwh
name: Marge budget ECS
- entity: input_text.victron_water_heater_advice_state
name: État advisor ECS
- entity: input_text.victron_water_heater_advice_reason
name: Raison advisor ECS
- entity: input_text.victron_water_heater_advice_last_signature
name: Signature advisor ECS
secondary_info: last-changed
- type: entities
title: Chauffe-eau - réglages
show_header_toggle: false
entities:
- entity: switch.tt_chauffe_eau_pleumeur_switch
name: Chauffe-eau
- entity: sensor.tt_chauffe_eau_pleumeur_energie_totale
name: Énergie chauffe-eau
- 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: Fin fenêtre boost matin
- entity: input_datetime.victron_water_heater_late_red_time
name: Heure tardive défavorable
- entity: input_number.victron_water_heater_green_power_w
name: Puissance Green
- entity: input_number.victron_water_heater_auto_power_w
name: Puissance Auto
- entity: input_number.victron_water_heater_boost_power_w
name: Puissance Boost
- entity: input_number.victron_water_heater_strong_forecast_kwh
name: Prévision forte
- entity: input_number.victron_water_heater_medium_forecast_kwh
name: Prévision moyenne
- entity: input_number.victron_water_heater_strong_pv_now_w
name: PV fort instantané
- entity: input_number.victron_water_heater_medium_pv_now_w
name: PV moyen instantané
- entity: input_number.victron_water_heater_morning_boost_min_soc_strong_day
name: SOC mini boost 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_load_water_heater_kwh
name: Charge ECS estimée
- type: markdown
content: |
## Chauffe-eau - feu de décision
- type: horizontal-stack
cards:
- type: conditional
conditions:
- entity: input_select.victron_water_heater_advice_color
state: green
card:
type: markdown
content: |
### ✅ Chauffe-eau conseillé
- type: conditional
conditions:
- entity: input_select.victron_water_heater_advice_color
state: orange
card:
type: markdown
content: |
### ⚠️ Chauffe-eau possible mais prudent
- type: conditional
conditions:
- entity: input_select.victron_water_heater_advice_color
state: red
card:
type: markdown
content: |
### ❌ Chauffe-eau déconseillé
- type: horizontal-stack
cards:
- type: conditional
conditions:
- entity: input_select.victron_water_heater_recommended_mode
state: green
card:
type: markdown
content: |
### Mode recommandé : GREEN
- type: conditional
conditions:
- entity: input_select.victron_water_heater_recommended_mode
state: auto
card:
type: markdown
content: |
### Mode recommandé : AUTO
- type: conditional
conditions:
- entity: input_select.victron_water_heater_recommended_mode
state: boost
card:
type: markdown
content: |
### Mode recommandé : BOOST
- type: conditional
conditions:
- entity: input_select.victron_water_heater_recommended_mode
state: "off"
card:
type: markdown
content: |
### Mode recommandé : OFF
- type: horizontal-stack
cards:
- type: entities
title: Grid Hysteresis
show_header_toggle: false
entities:
- entity: input_boolean.victron_grid_hysteresis_enabled
name: Hystérésis réseau active
- entity: input_boolean.victron_grid_hysteresis_notifications
name: Notifications réseau
- entity: input_boolean.victron_grid_hysteresis_latch
name: Latch réseau
- entity: input_number.victron_grid_soc_on
name: Seuil réseau ON
- entity: input_number.victron_grid_soc_off
name: Seuil réseau OFF
- entity: input_number.victron_grid_min_on_minutes
name: Durée mini ON
- entity: input_number.victron_grid_cooldown_minutes
name: Cooldown réseau
- entity: input_text.victron_grid_control_state
name: État réseau
- entity: input_text.victron_grid_control_reason
name: Raison réseau
- entity: input_text.victron_grid_control_last_signature
name: Signature réseau
secondary_info: last-changed
- type: entities
title: Réseau - timestamps / sécurité
show_header_toggle: false
entities:
- entity: input_datetime.victron_grid_last_on_at
name: Dernier EDF ON
- entity: input_datetime.victron_grid_last_off_at
name: Dernier EDF OFF
- entity: input_number.victron_ac_loads_max_safe_w
name: Limite AC sûre
- entity: sensor.victron_consumption_power_l1
name: Charges AC maison
- entity: sensor.victron_grid_power_l1
name: Puissance réseau
- entity: switch.edf_general_ok_switch
name: Réseau EDF
- type: horizontal-stack
cards:
- type: entities
title: EVCS Victron - commandes
show_header_toggle: false
entities:
- entity: switch.victron_evcs_charging
name: Charge EVCS ON/OFF
- entity: switch.victron_evcs_auto_start
name: Auto Start EVCS
- entity: number.victron_evcs_set_current_command
name: Courant borne demandé
- entity: sensor.victron_evcs_set_current
name: Consigne borne lue
- entity: sensor.victron_evcs_current
name: Courant réel borne
- entity: sensor.victron_evcs_max_current
name: Courant max borne
- entity: sensor.victron_evcs_min_current
name: Courant min borne
- entity: sensor.victron_evcs_mode
name: Mode réel borne
- entity: sensor.victron_evcs_charging_time
name: Durée charge
- type: entities
title: EVCS - état / énergie
show_header_toggle: false
entities:
- entity: sensor.victron_evcs_status
name: Statut EVCS
- entity: sensor.victron_evcs_status_raw
name: Status brut
- entity: binary_sensor.victron_evcs_device_connected
name: EVCS connecté au GX
- entity: binary_sensor.victron_evcs_vehicle_connected
name: EV probablement connecté
- entity: sensor.victron_evcs_connected_raw
name: Connected brut
- entity: sensor.victron_evcs_ac_power
name: Puissance EVCS
- entity: sensor.victron_evcs_l1_power
name: Puissance L1
- entity: sensor.victron_evcs_l1_energy_forward
name: Énergie L1
- entity: sensor.victron_evcs_product_name
name: Produit
- entity: sensor.victron_evcs_custom_name
name: Nom EVCS
- entity: sensor.victron_evcs_serial
name: Série
- entity: sensor.victron_evcs_firmware_version
name: Firmware
- type: horizontal-stack
cards:
- type: entities
title: Charges pilotables maison
show_header_toggle: false
entities:
- entity: switch.tt_chauffe_eau_pleumeur_switch
name: Chauffe-eau
- entity: sensor.tt_chauffe_eau_pleumeur_energie_totale
name: Énergie chauffe-eau
- entity: switch.lave_vaisselles_socket_1
name: Lave-vaisselle
- entity: sensor.lave_vaisselles_energie_totale
name: Énergie lave-vaisselle
- entity: switch.tt_lave_linge_frigo_ariston_socket_1
name: Lave-linge
- entity: sensor.tt_lave_linge_frigo_ariston_energie_totale
name: Énergie lave-linge
- type: entities
title: Garage / SDB / auxiliaires
show_header_toggle: false
entities:
- entity: switch.clim_hygro_socket_1
name: Clim / Hygro garage
- entity: sensor.clim_hygro_energie_totale
name: Énergie clim / hygro
- entity: switch.sdb_prise_socket_1
name: SDB prise
- entity: sensor.sdb_prise_energie_totale
name: Énergie SDB prise
- entity: switch.deshumide_sdb_socket_1
name: Déshumidificateur SDB
- entity: sensor.deshumide_sdb_energie_totale
name: Énergie déshumidificateur
- entity: switch.sdb_radiateur_socket_1
name: Radiateur SDB
- entity: sensor.sdb_radiateur_energie_totale
name: Énergie radiateur SDB
- type: markdown
content: |
## Garage - lecture rapide
- type: horizontal-stack
cards:
- type: conditional
conditions:
- entity: switch.clim_hygro_socket_1
state: "on"
- entity: input_boolean.garage_clim_latch
state: "on"
card:
type: markdown
content: |
### ✅ Garage maintenu par l'automate
- type: conditional
conditions:
- entity: switch.clim_hygro_socket_1
state: "on"
- entity: input_boolean.garage_clim_latch
state: "off"
card:
type: markdown
content: |
### 🟠 Garage ON manuel / non maintenu
- type: conditional
conditions:
- entity: switch.clim_hygro_socket_1
state: "off"
- entity: input_boolean.garage_clim_latch
state: "off"
card:
type: markdown
content: |
### ☑️ Garage au repos
- type: conditional
conditions:
- entity: switch.clim_hygro_socket_1
state: "off"
- entity: input_boolean.garage_clim_latch
state: "on"
card:
type: markdown
content: |
### ❌ État garage incohérent à vérifier
- type: horizontal-stack
cards:
- type: conditional
conditions:
- entity: input_text.garage_clim_state
state: manual_on_outside_window
card:
type: markdown
content: |
**Garage :** ON manuel observé hors fenêtre
- type: conditional
conditions:
- entity: input_text.garage_clim_state
state: manual_on_not_adopted
card:
type: markdown
content: |
**Garage :** ON manuel non adopté par l'automate
- type: conditional
conditions:
- entity: input_text.garage_clim_state
state: manual_on_adopted
card:
type: markdown
content: |
**Garage :** ON manuel adopté par l'automate
- type: conditional
conditions:
- entity: input_text.garage_clim_state
state: auto_start
card:
type: markdown
content: |
**Garage :** démarrage automatique
- type: conditional
conditions:
- entity: input_text.garage_clim_state
state: auto_running
card:
type: markdown
content: |
**Garage :** fonctionnement automatique
- type: conditional
conditions:
- entity: input_text.garage_clim_state
state: hold_min_on
card:
type: markdown
content: |
**Garage :** maintien temps mini ON
- type: conditional
conditions:
- entity: input_text.garage_clim_state
state: hold_min_on_outside_window
card:
type: markdown
content: |
**Garage :** maintien mini ON hors fenêtre
- type: conditional
conditions:
- entity: input_text.garage_clim_state
state: outside_window
card:
type: markdown
content: |
**Garage :** hors fenêtre, pas de pilotage auto
- type: conditional
conditions:
- entity: input_text.garage_clim_state
state: outside_window_release
card:
type: markdown
content: |
**Garage :** relâché par l'automate hors fenêtre
- type: conditional
conditions:
- entity: input_text.garage_clim_state
state: conditions_not_met
card:
type: markdown
content: |
**Garage :** besoin détecté mais conditions insuffisantes
- type: conditional
conditions:
- entity: input_text.garage_clim_state
state: wait_min_off
card:
type: markdown
content: |
**Garage :** attente temps mini OFF
- type: conditional
conditions:
- entity: input_text.garage_clim_state
state: idle
card:
type: markdown
content: |
**Garage :** repos / confort OK
- type: horizontal-stack
cards:
- type: entities
title: Garage thermique - pilotage
show_header_toggle: false
entities:
- entity: input_boolean.garage_clim_surplus_auto_enabled
name: Auto garage
- entity: input_boolean.garage_clim_surplus_notifications
name: Notifications garage
- entity: input_boolean.garage_clim_manual_adopt_enabled
name: Adoption manuelle garage
- entity: input_boolean.garage_clim_latch
name: Latch garage
- entity: input_text.garage_clim_state
name: État garage
- entity: input_text.garage_clim_reason
name: Raison garage
- entity: input_text.garage_clim_last_signature
name: Signature garage
secondary_info: last-changed
- entity: switch.clim_hygro_socket_1
name: Clim / Hygro garage
- type: entities
title: Garage thermique - seuils
show_header_toggle: false
entities:
- entity: sensor.garage_t_temperature
name: Température garage
- entity: input_number.garage_temp_min_c
name: Temp min garage
- entity: input_number.garage_temp_max_c
name: Temp max garage
- entity: input_number.garage_clim_soc_on
name: SOC ON garage
- entity: input_number.garage_clim_soc_off
name: SOC OFF garage
- entity: input_number.garage_clim_pv_on_w
name: PV ON garage
- entity: input_number.garage_clim_pv_off_w
name: PV OFF garage
- entity: input_number.garage_clim_surplus_min_kwh
name: Surplus mini garage
- entity: input_number.garage_clim_min_on_minutes
name: Temps mini ON garage
- entity: input_number.garage_clim_min_off_minutes
name: Temps mini OFF garage
- entity: input_number.garage_clim_battery_discharge_stop_a
name: Décharge stop garage
- entity: input_number.garage_clim_house_ac_max_w
name: Charge AC max garage
- entity: input_datetime.garage_clim_start_time
name: Début autorisation garage
- entity: input_datetime.garage_clim_stop_time
name: Fin autorisation garage
- entity: input_datetime.garage_clim_last_on_at
name: Dernier ON garage
- entity: input_datetime.garage_clim_last_off_at
name: Dernier OFF garage
- type: horizontal-stack
cards:
- type: entities
title: SDB Climate & Surplus - pilotage
show_header_toggle: false
entities:
- entity: input_boolean.sdb_climate_surplus_auto_enabled
name: Auto SDB climate/surplus
- entity: input_boolean.sdb_climate_surplus_notifications
name: Notifications SDB
- entity: input_boolean.sdb_radiator_surplus_auto_enabled
name: Auto radiateur SDB
- entity: input_boolean.sdb_master_manual_adopt_enabled
name: Adoption manuelle maître
- entity: input_boolean.sdb_master_power_latch
name: Latch prise SDB
- entity: input_boolean.sdb_deshumide_latch
name: Latch déshumidificateur
- entity: input_boolean.sdb_radiator_latch
name: Latch radiateur
- entity: input_text.sdb_climate_surplus_state
name: État SDB
- entity: input_text.sdb_climate_surplus_reason
name: Raison SDB
- entity: input_text.sdb_climate_surplus_last_signature
name: Signature SDB
secondary_info: last-changed
- entity: switch.sdb_prise_socket_1
name: SDB prise
- entity: switch.deshumide_sdb_socket_1
name: Déshumidificateur SDB
- entity: switch.sdb_radiateur_socket_1
name: Radiateur SDB
- type: entities
title: SDB - ambiance / seuils
show_header_toggle: false
entities:
- entity: sensor.sdb_temp_hygro_temperature
name: Température SDB
- entity: sensor.sdb_temp_hygro_humidite
name: Humidité SDB
- entity: input_number.sdb_temp_on_min_c
name: Temp ON mini
- entity: input_number.sdb_temp_off_max_c
name: Temp OFF max
- entity: input_number.sdb_humidity_on_pct
name: Humidité ON
- entity: input_number.sdb_humidity_off_pct
name: Humidité OFF
- entity: input_number.sdb_deshumide_min_on_minutes
name: Déshumide temps mini ON
- entity: input_number.sdb_deshumide_min_off_minutes
name: Déshumide temps mini OFF
- entity: input_number.sdb_radiator_soc_on
name: Radiateur SOC ON
- entity: input_number.sdb_radiator_soc_off
name: Radiateur SOC OFF
- entity: input_number.sdb_radiator_pv_on_w
name: Radiateur PV ON
- entity: input_number.sdb_radiator_pv_off_w
name: Radiateur PV OFF
- entity: input_number.sdb_radiator_battery_charge_ceiling_a
name: Radiateur plafond charge batterie
- entity: input_number.sdb_radiator_house_ac_max_w
name: Radiateur AC max maison
- entity: input_number.sdb_radiator_min_on_minutes
name: Radiateur temps mini ON
- entity: input_number.sdb_radiator_min_off_minutes
name: Radiateur temps mini OFF
- entity: input_datetime.sdb_master_last_on_at
name: Dernier ON prise SDB
- entity: input_datetime.sdb_master_last_off_at
name: Dernier OFF prise SDB
- entity: input_datetime.sdb_deshumide_last_on_at
name: Dernier ON déshumide
- entity: input_datetime.sdb_deshumide_last_off_at
name: Dernier OFF déshumide
- entity: input_datetime.sdb_radiator_last_on_at
name: Dernier ON radiateur
- entity: input_datetime.sdb_radiator_last_off_at
name: Dernier OFF radiateur
- type: history-graph
title: Historique batterie / PV / charges AC / réseau
hours_to_show: 24
refresh_interval: 60
entities:
- entity: sensor.victron_battery_soc
name: SOC batterie
- entity: sensor.victron_pv_power_system
name: PV
- entity: sensor.victron_consumption_power_l1
name: Charges AC
- entity: sensor.victron_grid_power_l1
name: Grid
- type: history-graph
title: Historique garage / SDB / SOC
hours_to_show: 24
refresh_interval: 60
entities:
- entity: switch.clim_hygro_socket_1
name: Clim garage
- entity: switch.deshumide_sdb_socket_1
name: Déshumide SDB
- entity: switch.sdb_radiateur_socket_1
name: Radiateur SDB
- entity: sensor.victron_battery_soc
name: SOC batterie
- type: horizontal-stack
cards:
- type: history-graph
title: Historique courant cible vs réel batterie
hours_to_show: 24
refresh_interval: 60
entities:
- entity: input_number.victron_target_charge_current
name: Cible A
- entity: sensor.victron_max_charge_current_setting
name: Réel A
- entity: sensor.victron_battery_current
name: Batterie A
- type: history-graph
title: Historique tension cible vs réelle batterie
hours_to_show: 24
refresh_interval: 60
entities:
- entity: input_number.victron_target_charge_voltage
name: Cible V
- entity: sensor.victron_max_charge_voltage_setting
name: Réel V
- entity: sensor.victron_battery_voltage
name: Batterie V
- title: Test Cards
path: test-cards
icon: mdi:test-tube
cards:
- type: custom:mushroom-title-card
title: Validation cartes custom
subtitle: Test Mushroom / Button / Layout / Config Template / ApexCharts / Gauge Card Pro
- type: custom:layout-card
layout_type: grid
layout:
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr))
grid-gap: 16px
margin: 0
cards:
- type: custom:vertical-stack-in-card
cards:
- type: custom:mushroom-template-card
entity: sensor.victron_battery_soc
primary: Batterie
secondary: >
SOC {{ states('sensor.victron_battery_soc') }} %
• {{ states('sensor.victron_battery_power') }} W
multiline_secondary: true
icon: mdi:battery
icon_color: >
{% set s = states('sensor.victron_battery_soc') | float(0) %}
{% if s < 25 %} red
{% elif s < 50 %} orange
{% elif s < 75 %} yellow
{% else %} green
{% endif %}
- type: custom:config-template-card
variables:
- states['input_number.ui_max_pv_power'].state
entities:
- input_number.ui_max_pv_power
- sensor.victron_pv_power_system
card:
type: gauge
entity: sensor.victron_pv_power_system
name: PV - max dynamique
min: 0
max: "${ Number(vars[0]) }"
severity:
red: "${ Math.round(Number(vars[0]) * 0.25) }"
yellow: "${ Math.round(Number(vars[0]) * 0.50) }"
green: "${ Math.round(Number(vars[0]) * 0.75) }"
- type: custom:vertical-stack-in-card
cards:
- type: custom:mushroom-template-card
primary: VE.Bus
secondary: >
AC Out {{ states('sensor.victron_ve_bus_ac_out_l1_power') }} W
• {{ states('sensor.victron_mode_derived') }}
multiline_secondary: true
icon: mdi:transmission-tower
icon_color: >
{% if is_state('binary_sensor.victron_ve_bus_overload', 'on') %}
red
{% elif is_state('binary_sensor.victron_ve_bus_low_battery', 'on') %}
orange
{% else %}
green
{% endif %}
- type: custom:button-card
entity: switch.victron_evcs_charging
name: EVCS Charge
icon: mdi:ev-station
show_state: true
tap_action:
action: more-info
hold_action:
action: more-info
styles:
card:
- border-radius: 18px
- padding: 14px
name:
- font-size: 16px
- font-weight: 600
state:
- font-size: 13px
state:
- value: "on"
color: "#43a047"
- value: "off"
color: "#757575"
- type: custom:mushroom-template-card
primary: EVCS
secondary: >
{{ states('sensor.victron_evcs_status') }}
• Mode {{ states('sensor.victron_evcs_mode') }}
• {{ states('sensor.victron_evcs_current') }} A
multiline_secondary: true
entity: sensor.victron_evcs_status
icon: mdi:car-electric
icon_color: >
{% if is_state('switch.victron_evcs_charging', 'on') %}
green
{% elif is_state('binary_sensor.victron_evcs_vehicle_connected', 'on') %}
blue
{% else %}
grey
{% endif %}
- type: custom:vertical-stack-in-card
cards:
- type: custom:mushroom-title-card
title: ApexCharts
subtitle: Test historique 6h
- type: custom:apexcharts-card
graph_span: 6h
header:
show: true
title: Flux énergie
show_states: true
series:
- entity: sensor.victron_pv_power_system
name: PV
color: "#fdd835"
- entity: sensor.victron_consumption_power_l1
name: Maison
color: "#42a5f5"
- entity: sensor.victron_grid_power_l1
name: Réseau
color: "#ef5350"
- entity: sensor.victron_battery_power
name: Batterie
color: "#ab47bc"
- type: custom:vertical-stack-in-card
cards:
- type: markdown
content: |
## Gauge Card Pro
Si la carte ci-dessous s'affiche correctement, on l'utilisera pour le Master V1 final.
Si elle affiche une erreur, envoie-moi juste le message exact ou une capture.
- type: custom:gauge-card-pro
entity: sensor.victron_battery_soc
header: Test Gauge Card Pro
min: 0
max: 100
needle: true
segments:
- from: 0
color: "#f44336"
- from: 25
color: "#ff9800"
- from: 50
color: "#ffeb3b"
- from: 75
color: "#4caf50"