if len(line) < 1:
raise Exception("EOF on Subprocess, daemon seems to have quit, returncode: %d",sshp.returncode)
logging.debug("trackSensorStatusThread: Got Line: " + line)
- connection_listener.distributeData(line)
+ if not line.startswith("Warning: Permanently added"):
+ connection_listener.distributeData(line)
m = RE_MOVEMENT.match(line)
if not m is None:
status_tracker.movementDetected()
self.lock.acquire()
self.door_open_previously = self.door_open
self.lock.release()
+ loggin.debug("doorOpen: open: %s, who: %s, how:%s, manual_switch: %s; physically_present: %s" % (self.door_open,self.door_who,how,self.door_manual_switch_used,self.door_manual_switch_used));
def doorClosed(self,who,how):
self.uwscfg.checkConfigUpdates()