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.

Table 1. Available fields in blickfeld.percept_processing.data.States
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

Scene

-

-

Global states in the scene

Scene

A message containing scene-wide states

Table 2. Available fields in blickfeld.percept_processing.data.States.Scene
Field Type Default Unit

security

Security

-

-

Global security states

Security

States of the security scene

Table 3. Available fields in blickfeld.percept_processing.data.States.Scene.Security
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

States Entry

Table 4. Available fields in blickfeld.percept_processing.data.States.StatesEntry
Field Type Default Unit

key

string

-

-

value

State

-

-