States
A message that contains the processed states: per zone and globally in the scene A state is an information generated by the system based on the select zone type or device. For example, a state can contain information about the volume or the intrusion in the zone.
| Field | Type | Default | Unit |
|---|---|---|---|
timestamp |
uint64 |
- |
ns |
The timestamp of the measurement(s) used to compute the states. |
|||
states |
repeated StatesEntry |
- |
- |
Map of states where the key is the generator UUID of the state |
|||
injected |
bool |
- |
- |
Indicates if at least one of the states (global or per zone) was overwritten with event state injected by inject event service |
|||
scene |
- |
- |
|
Global states in the scene |
|||
Scene
A message containing scene-wide states
| Field | Type | Default | Unit |
|---|---|---|---|
security |
- |
- |
|
Global security states |
|||
Security
States of the security scene
| Field | Type | Default | Unit |
|---|---|---|---|
intrusion |
bool |
- |
- |
Indicates if there is an intrusion in the scene |
|||
motion |
bool |
- |
- |
Indicates if there is motion in the scene |
|||
moved_tampering |
bool |
- |
- |
Indicates if there is tampering due to device movement |
|||
covered_tampering |
bool |
- |
- |
Indicates if there is tampering due to device coverage What this is measured from depends on whether any zone configures a minimum coverage. With one, every device sets this as the rollup over the zone states it decided itself, and a leader ignores what its sensors report here: a follower’s rollup covers its own single view only, so aggregating it would let one blocked sensor tamper the whole swarm. With none, there is nothing to measure per zone and each sensor falls back to a whole-device verdict from its point rate, which a leader does aggregate across its sensors - that verdict carries no zone rollup and so speaks for no single zone. |
|||
tampering |
bool |
- |
- |
Indicates if device is tampered - either due to movement or coverage |
|||