I've mostly worked at home since my son was born (he's 26 now). I used to go in one day a week, I worked for startups for years and would start full time, drop off to 4->3->2 days a week. These days I never go in (I live 10,000km away at the moment, it's no longer a 1 hour drive in the Valley).
I think there's a few things you have to realise about working at home: - you get to avoid almost all office politics - you will eventually lose at office politics
Essentially you need to have a manager who will step up and root for you, and you guys need to talk so he/she knows where your head is at