console.log(self.devices)