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 |
|||
tampering |
bool |
- |
- |
Indicates if device is tampered - either due to movement or coverage |
|||