code: def run_get_data_background(macs, queue):
      
  
      def callback(data):
          data[1]['time'] = str(datetime.now())
          queue.put(data)
  
      RuuviTagSensor.get_datas(callback, macs)
docs: Background process from RuuviTag Sensors