Chauffe-eau : Grafana « Le chauffe-eau », historisation (compteur rattrape depuis le 14/08), jour faible = aussi surplus solaire reel et securite douche de 20 h
This commit is contained in:
@@ -26,11 +26,11 @@ function executer(snapshot) {
|
||||
// Snapshot de base : matin d'un jour faible, contacteur ouvert, chauffe-eau sous tension.
|
||||
const BASE = {
|
||||
soc_percent: '45', battery_current_a: '-5', pv_power_w: '900', pv_power_10m_avg_w: '850',
|
||||
house_ac_power_w: '700', grid_power_w: '0', grid_state: 'off', victron_acin1_available: '0',
|
||||
house_ac_power_w: '2000', grid_power_w: '0', grid_state: 'off', victron_acin1_available: '0',
|
||||
today_remaining_kwh: '15', tomorrow_kwh: '25', forecast_source: 'vrm',
|
||||
advisor_enabled: 'on', notifications_enabled: 'off', hot_water_demand: 'normal',
|
||||
water_heater_switch: 'on', water_heater_energy_total_kwh: '18.25',
|
||||
ecs_nuit: 'on', hc_session_committed: 'off', ecs_24h_kwh: '5.5', off_jour_faible_prev: 'off',
|
||||
ecs_nuit: 'on', hc_session_committed: 'off', ecs_24h_kwh: '5.5', ecs_jour_kwh: '3', off_jour_faible_prev: 'off',
|
||||
evcs_priority_active: 'off', forced_off_by_advisor: 'off',
|
||||
};
|
||||
const cas = [
|
||||
@@ -43,6 +43,12 @@ const cas = [
|
||||
attendu: { action: 'turn_on', desired: true, etat: 'jour_faible_eau_froide', owner: true } },
|
||||
{ id: 'jour-faible-energie-illisible-aucune-restriction', snap: { ecs_24h_kwh: 'indisponible' },
|
||||
attendu: { action: 'none', etat: 'jour_faible_energie_illisible', owner: true } },
|
||||
{ id: 'jour-faible-surplus-solaire-chauffe', snap: { water_heater_switch: 'off', off_jour_faible_prev: 'on', pv_power_w: '3500', pv_power_10m_avg_w: '3400', house_ac_power_w: '900' },
|
||||
attendu: { action: 'turn_on', desired: true, etat: 'jour_faible_surplus_solaire', owner: true } },
|
||||
{ id: 'jour-faible-surplus-insuffisant-reste-coupe', snap: { water_heater_switch: 'off', off_jour_faible_prev: 'on', pv_power_w: '1500', house_ac_power_w: '900' },
|
||||
attendu: { action: 'none', etat: 'jour_faible_coupe', owner: true } },
|
||||
{ id: 'jour-faible-sous-tension-sur-batterie-coupe', snap: { water_heater_switch: 'on', pv_power_w: '1500', house_ac_power_w: '2100' },
|
||||
attendu: { action: 'turn_off', desired: false, etat: 'jour_faible_coupe', owner: true } },
|
||||
{ id: 'jour-normal-remise-sous-tension', snap: { ecs_nuit: 'off', water_heater_switch: 'off', off_jour_faible_prev: 'on' },
|
||||
attendu: { action: 'turn_on', desired: true, etat: 'jour_normal_remise_sous_tension', owner: false } },
|
||||
{ id: 'jour-normal-coupure-manuelle-respectee', snap: { ecs_nuit: 'off', water_heater_switch: 'off', off_jour_faible_prev: 'off' },
|
||||
|
||||
Reference in New Issue
Block a user