X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=go%2Fr3-eventbroker_zmq%2Fpresence.txt;fp=go%2Fr3-eventbroker_zmq%2Fpresence.txt;h=ee70af336ccbba6d8a307e6123351aa3343d3690;hb=7be7cb4517b411371b18375fd181d48df2184739;hp=0000000000000000000000000000000000000000;hpb=b412d63096cff71cef4030cffd3833da7ac35ba0;p=svn42.git diff --git a/go/r3-eventbroker_zmq/presence.txt b/go/r3-eventbroker_zmq/presence.txt new file mode 100644 index 0000000..ee70af3 --- /dev/null +++ b/go/r3-eventbroker_zmq/presence.txt @@ -0,0 +1,29 @@ + +Presence Meta Event Injector: + events indicating presence: + - front door ajar + - door lock using manual movement closing (unless door ajar, assume we would not use key to close from inside ) + - door unlock (any method, manual, key, card, phone, ssh, etc) + - panic button press + - door toggle button press + - back door ajar + - movement sensor (maybe threshold number movements within 5 minutes) + + events indicating somebody left: + - door closed with card, phone, ssh (while backdor and frontdoor shut) + - no movement within 3 hours and movement within the last 6 hours (disable trigger if sensor is broken) + + events indicating "alarm state" / special message: + - Panic Button pressend + - Sudden rise in Temp-Sensor-Value + - Sudden rise in Dust/Smoke-Sensor-Value + + +Movement Meta Event Injector: + movement sensor (maybe threshold number movements within 5 minutes) -> Movement Passed Threshold + no movement within 3 hours and movement within the last 6 hours -> Movement Absence Passed Threshold + +Sensor Spike Event Injector: + monitors sensor values and calculates running average mean, stddev over last hours, + raises Event is value spikes, aka rised beyond mean +- stddev within 2 min (enables after 1 hour of collecting data) +