EV-18: no floor alarm at a quarter's start while the car explains the excess #264

Merged
ems-agent merged 4 commits from EV-18 into release/1.0 2026-11-19 15:13:34 +01:00
2 changed files with 5 additions and 4 deletions
Showing only changes of commit ef8c5dcf62 - Show all commits
@@ -148,9 +148,10 @@ up to 1.8 kW; the 40 Wh floor fixes that.)
batteries (`_car_over_now`), or by the EV-10 test above. A `None` car figure
or battery reading explains nothing in that cycle and latches nothing; a car
known to draw nothing (fresh, not charging) still grades the house's need.
Owner 2026-11-19: a figure the energy meter contradicted (fresh, charging,
not corroborated) stays untrusted to the quarter's end. After a restart or a
gap the car's earlier energy is not known, so it counts as house.
Owner 2026-11-19: a figure the energy meter contradicted (it answered over a
whole window and fell short; an unknown reading is no contradiction) grades
no alarm to the quarter's end; the guard's input keeps it. After a restart
or a gap the car's earlier energy is not known, so it counts as house.
- **Our own write is ours until its mute ends** (EV-12). The mute of the tracker's
own detector opens before the write and runs 15 s from when it returns, because
the read-back reaches the cycle while the write still waits for it.
+1 -1
View File
@@ -355,7 +355,7 @@ class CarMixin:
# EV-18 (owner 2026-11-19): a figure the meter contradicted grades no
# alarm again in that quarter, not even as our own pause's stand-in.
# The alarm decision only: the car's energy count, the guard's input
# (`car_exclude`) and the car-over row keep the figure.
# (`car_exclude`) and, with the cover off, the car-over row keep it.
key = None if real_proj is None else real_proj.block_start
if key is not None and not own and self._car_contradicted(mono):
self._car_contra_block = key