You and I are going through something very similar. My H left for a few months, then came home in April and we have been working on things. I made the mistake of thinking that things would just go right back to the way they were, but they didn't. In fact, last night he told me that all he can be right now is my friend, nothing more. It hurts like heck, as you well know...the feeling of not being wanted or loved. My H tells me that he loves me, but just doesn't feel that "passion" that a man and wife should have. That is a tough one to swallow.
I need to follow the advice I am about to give you but be happy, DB your rear off, and be his friend. As hard as that is going to be for the both of us, that is what we need to do. I am so blessed that he is home, because so many on here aren't that fortunate.
Good luck to you and email me if you ever need to talk!