I was working from home full time 2 summers ago, when I lost a good deal of weight.
To me, working from home is MUCH easier than being in the office because I have complete control over what food is available to eat. While I realize I ultimately have control over what goes in my mouth, it's much easier when you're not dodging all the office treats and goodies in the cafeteria.
That's my tip I guess, only buy things for your home that you should be eating. If your family wants other things, keep them in a location that won't be easy for you to get too. (For example, my husband will keep cookies downstairs)