From: Bernhard Tittelbach Date: Wed, 6 Nov 2013 16:26:29 +0000 (+0000) Subject: shrug X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=0b67c3a83d670df97ef1af07f47365a11cb0da65;p=svn42.git shrug --- diff --git a/go/r3-eventbroker_zmq/presence.go b/go/r3-eventbroker_zmq/presence.go index cf58e5d..94f48d7 100644 --- a/go/r3-eventbroker_zmq/presence.go +++ b/go/r3-eventbroker_zmq/presence.go @@ -32,7 +32,7 @@ func MetaEventRoutine_Presence(ps *pubsub.PubSub, movement_timeout, button_timeo last_event_indicating_presence = evnt.Ts } else { if last_presence { Syslog_.Printf("Presence: Mhh, SomethingReallyIsMoving{%+v} received but presence still true. Quite still a bunch we have here.", evnt) } - if front_locked && front_shut && back_shut && evnt.Confidence >= 20 && last_event_indicating_presence > 1800 { + if front_locked && front_shut && back_shut && evnt.Confidence >= 90 && last_event_indicating_presence > 1800 { new_presence = false } }