From: Bernhard Tittelbach Date: Thu, 17 Oct 2013 01:45:44 +0000 (+0000) Subject: --bug X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=d766a207605d4868e4303ce11886047d86e0f986;p=svn42.git --bug --- 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()