2 Presence Meta Event Injector:
3 events indicating presence:
5 - door lock using manual movement closing (unless door ajar, assume we would not use key to close from inside )
6 - door unlock (any method, manual, key, card, phone, ssh, etc)
8 - door toggle button press
10 - movement sensor (maybe threshold number movements within 5 minutes)
12 events indicating somebody left:
13 - door closed with card, phone, ssh (while backdor and frontdoor shut)
14 - no movement within 3 hours and movement within the last 6 hours (disable trigger if sensor is broken)
16 events indicating "alarm state" / special message:
17 - Panic Button pressend
18 - Sudden rise in Temp-Sensor-Value
19 - Sudden rise in Dust/Smoke-Sensor-Value
22 Movement Meta Event Injector:
23 movement sensor (maybe threshold number movements within 5 minutes) -> Movement Passed Threshold
24 no movement within 3 hours and movement within the last 6 hours -> Movement Absence Passed Threshold
26 Sensor Spike Event Injector:
27 monitors sensor values and calculates running average mean, stddev over last hours,
28 raises Event is value spikes, aka rised beyond mean +- stddev within 2 min (enables after 1 hour of collecting data)