EV-20: SPIKE-05 decisions C1, C6, C9 (brief v5) with rows for C1, C5, C6, C8, C9
C1: an own 0 A not yet read back is kept with the mode; a start in Off with it writes the 0 A (retried), without it nothing; a start that will not write warns once when the charger still has the add-on's current. C6: Solar's 30 s gate also counts from Manual's latest write. C9: an exit also owes its 0 A when the read-back shows Solar's own value. Rows for C5 and C8 too. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w
This commit is contained in:
@@ -88,3 +88,23 @@ one small set of facts and derives every path from them:
|
||||
today's kWh; stored with its day, reset at the day's change.
|
||||
- **Rollback.** An older build reads a stored `car_mode = solar` as Off
|
||||
(`start_mode`) and writes nothing; no state migration.
|
||||
|
||||
## SPIKE-05 decisions (brief v4/v5)
|
||||
|
||||
- **C1.** An own 0 A that is out and not read back is kept in the store with
|
||||
the mode (`car_exit_0a_pending`). A start in Off with that flag writes the
|
||||
0 A (when it may write), retried by the exit rule; Off without it writes
|
||||
nothing (N10). A start that will not write (shadow, control stopped) after
|
||||
Manual or Solar, with the charger showing a current, writes nothing and
|
||||
raises one warning, *Charger kept its current*, taken down at 0 A.
|
||||
- **C5.** Each shutdown try waits 4 s for its read-back (D3 above).
|
||||
- **C6.** One write clock: Solar's 30 s gate also counts from Manual's latest
|
||||
non-zero write, the start included. Solar's first write after Manual is its
|
||||
0 A, which is never gated.
|
||||
- **C8.** A charger or HA outage ends a phase change: the return restarts the
|
||||
plan paused, so nothing of the sequence resumes; only a 0 A may come before
|
||||
the start rule.
|
||||
- **C9.** An exit owes its 0 A while Solar's own value may stand: by its own
|
||||
bookkeeping (a 0 A not read back counts) or by the read-back showing a value
|
||||
it sent, confirmed, tried or saw at a refused try.
|
||||
- **C3** is T43-T45; **C7** is EV-22's.
|
||||
|
||||
Reference in New Issue
Block a user