def METHOD_NAME(self, timeout=60):
    """waits until espeasy reponds via serial"""
    self.serial_needed()
    self._serial.reset_input_buffer();
    self.log.debug("Waiting for serial response")
    start_time=time.time()
    while (time.time()-start_time)< int(timeout):
            self._serial.write(bytes('.\n', 'ascii'));
            a=True
            while a!=b'':
                a=self._serial.readline()
                if a==b"Unknown command!\r\n":
                    self.log.debug("Got serial response")
                    self._serial.reset_input_buffer();
                    return
    raise(Exception("Timeout!"))