From d766a207605d4868e4303ce11886047d86e0f986 Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Thu, 17 Oct 2013 01:45:44 +0000 Subject: [PATCH] --bug --- inject_presence.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inject_presence.py b/inject_presence.py index 731469f..aa695ad 100755 --- 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() -- 1.7.10.4