feat(occupancy): retrieve and stage historical HikCentral flow #162
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#162
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?
Part of #160.
Result
An admin can fetch a completed facility-calendar month of HikCentral people-counting history into durable staging without changing live events, calibration, or published statistics. One-time manual runs are supported; automatic future gap repair is outside scope.
Acceptance
POST /artemis/api/aiapplication/v1/people/statisticsTotalNumByTimeat hourly resolution, collecting every expected people-counting camera. Default to the current count of 12 cameras for historical months; surface and require validation of a count or identity mismatch without assuming today's camera membership was always present.pageSize: 1; never use page progression alone as a termination rule. Deduplicate by source, camera and hour.Primary reference: Hikvision people-counting OpenAPI guide. The deployed route and July/August 2026 hourly rows were verified read-only in #160. Follow repository controller/service/repository seams.
gabogg referenced this issue2026-09-27 23:39:54 +00:00
gabogg referenced this issue2026-09-28 09:00:59 +00:00