research(occupancy): decide the policy for a single silent counting camera #236
Labels
No labels
blocked
bug
enhancement
high-priority
low-priority
needs-info
needs-triage
ready-for-agent
ready-for-human
referenced
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gabogg/hikcentral#236
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Blocked by: #199
Split from #199 during triage (2026-10-03). #199 now covers phase A only: documenting how the app behaves today when one counting camera goes silent. This issue is phase B: deciding what the app should do. It takes over #199's questions 4 and 5, and any part of question 1 that phase A can't answer from stored data.
Why this is a separate issue, labelled
needs-triageThese are policy and product decisions. They belong to the maintainer and shouldn't be guessed by an implementing agent:
They also shouldn't be decided before phase A's findings exist. Without a traced failure case and evidence of what HikCentral reports, any policy would rest on assumptions. So this issue stays
needs-triageuntil #199 closes, then gets a grilling session (/triage→ grilling + domain-modeling). The decisions land inCONTEXT.mdand an ADR before any implementation issue is cut.Questions to settle (once #199 has reported)
ENTRANCE/EXIT/BIDIRECTIONAL), the entrance's share of traffic, outage duration, or whether another camera covers the same path? Don't invent a weighting without defensible evidence; phase A reports whether any exists.Outcome
CONTEXT.md(terms) and an ADR (policy).Related: #199 (phase A), #129 (statistics data-quality marker), ADR 0005 (one camera per Camera Group), ADR 0006 (published occupancy and calibration honesty).
Phase A Findings: Open Questions Requiring Live HikCentral Outage Observation (Ref #199 / PR #248)
As documented in
docs/research/199-single-camera-outage-behaviour.md(PR #248), offline analysis of repo OpenAPI specifications and client models confirms that Artemis passenger-flow payloads (resourceGroupRealTimeCount) contain only cumulative integers (enterNum,exitNum) with no health flags, sensor codes, or per-camera status fields.The following questions cannot be resolved from repo documentation or client models alone and require controlled empirical testing on physical hardware by the maintainer:
resourceGroupRealTimeCountduring camera outage:When a physical counting camera loses power or network link, does Artemis:
data.listentirely?Does HikCentral emit an asynchronous alarm or event over the OpenAPI event subscription (port 7016/7017) when a camera drops offline (comparable to door hardware alarms 131585–131588)?
statisticsTotalNumByTime):During camera outages, how are historical hourly intervals reported in Artemis: omitted rows, zero counts, or a degraded
completenessscore?Does HikCentral expose an authoritative camera online/offline status API (e.g., via video/resource endpoints) that could be correlated with people-counting groups to detect silent cameras?