Expand description
RuView sensing primitives → HAP characteristic mapping (ADR-125 §2.1.d).
Per ADR-125, RuView’s privacy-class-2/3 events map to HomeKit primitives as semantic ambient signals, not surveillance events:
| RuView primitive | HAP service | Rationale |
|---|---|---|
edge_vitals.presence | OccupancySensor | Anonymous presence = occupancy |
edge_vitals.motion | MotionSensor | Motion burst |
edge_vitals.fall_detected | LeakSensor | HA convention: abnormal events |
edge_vitals.breathing_present | OccupancySensor | Sleep-room occupancy |
Raw identity_risk_score, rf_signature_hash, and class-0 BFI data are
never mapped. Structural invariant I1 (ADR-118 §2.2) is enforced here.
Structs§
- Edge
Vitals - Parsed RuView edge vitals event from the sensing-server.
- RuView
ToHap Mapper - Maps
EdgeVitalsto aVec<AccessoryMapping>— one per RuView primitive that should be exposed as a distinct HAP service (child accessory).