projects
/
svn42.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb2342c
)
shrug
author
Bernhard Tittelbach
<xro@realraum.at>
Wed, 6 Nov 2013 16:26:29 +0000
(16:26 +0000)
committer
Bernhard Tittelbach
<xro@realraum.at>
Wed, 6 Nov 2013 16:26:29 +0000
(16:26 +0000)
go/r3-eventbroker_zmq/presence.go
patch
|
blob
|
history
diff --git
a/go/r3-eventbroker_zmq/presence.go
b/go/r3-eventbroker_zmq/presence.go
index
cf58e5d
..
94f48d7
100644
(file)
--- 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
}
}