def getProximity(self): try: s = Server("http://127.0.0.1:54000") signal = s.getProximity(self.macAddress) except: signal = None return signal