projects
/
svn42.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0eff4b5
)
--bug
author
Bernhard Tittelbach
<xro@realraum.at>
Thu, 17 Oct 2013 01:45:44 +0000
(
01:45
+0000)
committer
Bernhard Tittelbach
<xro@realraum.at>
Thu, 17 Oct 2013 01:45:44 +0000
(
01:45
+0000)
inject_presence.py
patch
|
blob
|
history
diff --git
a/inject_presence.py
b/inject_presence.py
index
731469f
..
aa695ad
100755
(executable)
--- a/
inject_presence.py
+++ b/
inject_presence.py
@@
-16,8
+16,9
@@
zmqctx.linger = 0
zmqpub = zmqctx.socket(zmq.PUB)
zmqpub.connect("tcp://wuzzler.realraum.at:4243")
+time.sleep(5)
#listen for sensor data and forward them
-sendR3Message(zmqpub,"PresenceUpdate",{"Presence":True,"Ts":int(time.time())})
+sendR3Message(zmqpub,"PresenceUpdate",{"Present":True,"Ts":int(time.time())})
zmqpub.close()
zmqctx.destroy()