zmqctx = zmq.Context()
zmqctx.linger = 0
zmqpub = zmqctx.socket(zmq.PUB)
-zmqpub.connect("tcp://wuzzler.realraum.at:4243")
+zmqpub.connect("tcp://torwaechter.realraum.at:4243")
#listen for sensor data and forward them
trackSensorStatus(uwscfg, zmqpub)
go-linux-386 clean
#go-linux-386 build
#strip ${PWD:t}
-go-linux-386 build -ldflags "-s" && rsync -v --progress ${PWD:t} wuzzler.realraum.at:/flash/tuer/
+go-linux-386 build -ldflags "-s" && rsync -v --progress ${PWD:t} torwaechter.realraum.at:/flash/tuer/
go-linux-386 clean
#go-linux-386 build
#strip ${PWD:t}
-go-linux-386 build -ldflags "-s" && rsync -v --progress ${PWD:t} wuzzler.realraum.at:/flash/tuer/
+go-linux-386 build -ldflags "-s" && rsync -v --progress ${PWD:t} torwaechter.realraum.at:/flash/tuer/
go-linux-386 clean
#go-linux-386 build
#strip ${PWD:t}
-go-linux-386 build -ldflags "-s" && rsync -v --progress ${PWD:t} wuzzler.realraum.at:/flash/tuer/
+go-linux-386 build -ldflags "-s" && rsync -v --progress ${PWD:t} torwaechter.realraum.at:/flash/tuer/
go-linux-386 clean
#go-linux-386 build
#strip ${PWD:t}
-go-linux-386 build -ldflags "-s" && rsync -v --progress ${PWD:t} wuzzler.realraum.at:/flash/tuer/
+go-linux-386 build -ldflags "-s" && rsync -v --progress ${PWD:t} torwaechter.realraum.at:/flash/tuer/
flag.StringVar(&xmpp_login_.pass, "xpass", "", "XMPP Bot Login Password")
flag.StringVar(&xmpp_bot_authstring_, "xbotauth", "", "String that user use to authenticate themselves to the bot")
flag.StringVar(&xmpp_state_save_dir_,"xstatedir","/flash/var/lib/r3netstatus/", "Directory to save XMPP bot state in")
- flag.StringVar(&r3eventssub_port_, "eventsubport", "tcp://wuzzler.realraum.at:4244", "zmq address to subscribe r3events")
- flag.StringVar(&brain_connect_addr_, "brainconnect", "tcp://wuzzler.realraum.at:4245", "address to ask about most recent stored events")
+ flag.StringVar(&r3eventssub_port_, "eventsubport", "tcp://torwaechter.realraum.at:4244", "zmq address to subscribe r3events")
+ flag.StringVar(&brain_connect_addr_, "brainconnect", "tcp://torwaechter.realraum.at:4245", "address to ask about most recent stored events")
flag.BoolVar(&enable_syslog_, "syslog", false, "enable logging to syslog")
flag.BoolVar(&enable_debug_, "debug", false, "enable debug output")
flag.Parse()
go-linux-386 clean
#go-linux-386 build
#strip ${PWD:t}
-go-linux-386 build -ldflags "-s" && rsync -v --progress ${PWD:t} wuzzler.realraum.at:/flash/tuer/
+go-linux-386 build -ldflags "-s" && rsync -v --progress ${PWD:t} torwaechter.realraum.at:/flash/tuer/
zmqctx = zmq.Context()
zmqctx.linger = 0
zmqpub = zmqctx.socket(zmq.PUB)
-zmqpub.connect("tcp://wuzzler.realraum.at:4243")
+zmqpub.connect("tcp://torwaechter.realraum.at:4243")
time.sleep(5)
#listen for sensor data and forward them
zmqctx.linger = 0
zmqsub = zmqctx.socket(zmq.SUB)
zmqsub.setsockopt(zmq.SUBSCRIBE, "")
- zmqsub.connect("tcp://wuzzler.realraum.at:4244")
+ zmqsub.connect("tcp://torwaechter.realraum.at:4244")
while True:
self.config_parser.add_section('debug')
self.config_parser.set('debug','enabled',"False")
self.config_parser.add_section('broker')
- self.config_parser.set('broker','uri',"tcp://wuzzler.realraum.at:4244")
+ self.config_parser.set('broker','uri',"tcp://torwaechter.realraum.at:4244")
self.config_parser.add_section('tracker')
self.config_parser.set('tracker','secs_movement_before_presence_to_launch_event','1')
self.config_parser.set('tracker','secs_presence_before_movement_to_launch_event','120')
self.config_parser.set('json','limit_list_len',"10000")
self.config_parser.set('json','updateinterval',"30")
self.config_parser.add_section('zmq')
- self.config_parser.set('zmq','remote_uri',"tcp://wuzzler.realraum.at:4244")
- self.config_parser.set('zmq','sshtunnel',"realraum@wuzzler.realraum.at:22000")
+ self.config_parser.set('zmq','remote_uri',"tcp://torwaechter.realraum.at:4244")
+ self.config_parser.set('zmq','sshtunnel',"realraum@torwaechter.realraum.at:22000")
self.config_parser.set('zmq','sshkeyfile',"/home/guests/realraum.wirdorange.org/id_rsa")
self.config_parser.set('zmq','subscribe',"TempSensorUpdate IlluminationSensorUpdate DustSensorUpdate RelativeHumiditySensorUpdate MovementSensorUpdate")
self.config_parser.add_section('debug')
self.config_parser.add_section('debug')
self.config_parser.set('debug','enabled',"False")
self.config_parser.add_section('broker')
- self.config_parser.set('broker','uri',"tcp://wuzzler.realraum.at:4244")
+ self.config_parser.set('broker','uri',"tcp://torwaechter.realraum.at:4244")
self.config_mtime=0
if not self.configfile is None:
try: