feat(activate): home-01 — notify (V111) + pool control (V112) + EV start penalty (V113)
Operační aktivace nasazených featur přes Flyway: - V111: asset_vehicle.presence_nudge_enabled=true (tesla-my) → proaktivní nudge - V112: signal_route POOL_PUMP_ON → Shelly + asset_pool_pump.schedulable=true - V113: asset_ev_charger.planner_ev_start_penalty_czk=0.5 (anti-fragmentace, laditelné) Geofence (env EV_GEOFENCE_ARRIVAL_OBS_ENABLED) si nastaví uživatel na serveru. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
10
db/migration/V113__activate_ev_start_penalty_home01.sql
Normal file
10
db/migration/V113__activate_ev_start_penalty_home01.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
-- Aktivace anti-fragmentační start penalty EV na home-01 (konzervativně 0.5 Kč/start).
|
||||
-- V108 přidala sloupec asset_ev_charger.planner_ev_start_penalty_czk (default 0 = no-op);
|
||||
-- tato migrace zapíná malou penaltu → solver slepí EV nabíjení do souvislejší dávky
|
||||
-- místo rozsekání. 3f floor (Fix B) už 1f trickle vyřešil; tohle je doladění.
|
||||
-- Hodnota je laditelná — pokud by penalta přebíjela reálný cenový spread, snížit/zrušit
|
||||
-- novou migrací nebo operačním updatem.
|
||||
|
||||
update ems.asset_ev_charger
|
||||
set planner_ev_start_penalty_czk = 0.5
|
||||
where site_id = (select id from ems.site where code = 'home-01');
|
||||
Reference in New Issue
Block a user