Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
self.Simulate = False
self.Stop = False
self.procid = 0
self.dev_mac = self.config['device_mac']
self.dev_channel = self.config['device_channel']
self.ringbuffer_size = self.config['buffer_size']
self.ringbuffer = [-254] * self.ringbuffer_size
self.ringbuffer_pos = 0
self.gone_duration = self.config['lock_duration']
self.gone_limit = -self.config['lock_distance']
self.active_duration = self.config['unlock_duration']
self.active_limit = -self.config['unlock_distance']
self.ErrorMsg = _("Initialized...")
self.sock = None
self.ignoreFirstTransition = True
self.logger = Logger()
self.logger.configureFromConfig(self.config)