RTMaps Toolkits Documentation日本語

Basic Toolkit › Macro Component

PresenceAlarm

Macro component that raises an alarm when a person is still present while monitoring is on (left-behind alarm), from the target state decoded by Hi_Link_LD2410C.

Processing

Usage

Data format

Notes

Outputs

NameDescription
alarmAlarm: 1 when a person has been present for more than 200 samples while monitoring, latched until monitoring_switch returns to 0; otherwise 0.
Type: Integer32
monitor_countCount: 0 = not monitoring, 1 = monitoring and nobody present, n + 1 = a person has been present for n consecutive samples.
Type: Integer32

Inputs

NameDescription
monitoring_switchMonitoring switch: non-zero (1) = on, 0 = off. Turning it off resets the count and the alarm.
Type: Integer32
target_stateTarget state from Hi_Link_LD2410C: 0 none, 1 moving, 2 stationary, 3 both (4 to 6: background noise detection, counted as absent).
Type: Integer32