So what kind of generator setup do you have? I have said for a while I want to do this and will probably be my next project.
It's made by Generac. It's a 12KV generator with autostart. It runs on propane, which is no big deal. I use propane to cook and dry my clothes. We had an electrician do the connections for us due to not knowing what we were doing and not wanting to burn the place down. What I like about it is it has a timer on it. Once a week at a chosen time it fires itself up for 12 minutes which is long enough for it to do a self check and keep the battery topped off so that when I need it, like last night, it was there and I didn't have worry about it. If you want the Reader's Digest version of how it works, I'll gladly spell it out for you. Let me know.
If you're wondering cost, I do not remember for it about 12 years ago that it was installed. It was installed due primarily to my aging dad being home alone all day. We worried that if the power went out, he wouldn't be physically able to get the wood stove fired up. At the time we heated the house and DHW with oil. It gave my brothers and I a peace of mind and we able to concentrate on our jobs while we were at work. Roger