In my current job I work four days a week, with one in the office and the rest from home. When initially advertised it was a five day, 9-5 in the office job.
Both before and during the interview I made it clear that I was looking for a job where I could work remotely (I'd have a 2 hour commute each way otherwise). It turned out they thought I was the best person for the job, and they were willing to be flexible on exactly where I worked so long as I was in the office for the team meeting on a Monday morning. Getting a day off a week was a pleasant side effect of them not having enough money to pay for me full time, and me deciding I'd rather have more free time then more money.
In summary the key factor in getting a remote job is to make it very clear that it's part of your terms. If the company really wants you they'll be flexible. If not, there are plenty of other jobs out there for a good developer at the moment.
Both before and during the interview I made it clear that I was looking for a job where I could work remotely (I'd have a 2 hour commute each way otherwise). It turned out they thought I was the best person for the job, and they were willing to be flexible on exactly where I worked so long as I was in the office for the team meeting on a Monday morning. Getting a day off a week was a pleasant side effect of them not having enough money to pay for me full time, and me deciding I'd rather have more free time then more money.
In summary the key factor in getting a remote job is to make it very clear that it's part of your terms. If the company really wants you they'll be flexible. If not, there are plenty of other jobs out there for a good developer at the moment.