My night headaches have been year-round, and not attributable to anything I’ve ever been able to isolate. I’m sorry you are suffering with the seasonal/barometric element. I know that does affect many people. (I have to look up ‘drug metabolism polymorphisms’, as I am unfamiliar with that term.)
I was also recommended topiramate, and took it for almost four years. I recently discovered that it is linked to bone density loss, a problem I already have. Needless to say, I am unhappy that no doctor mentioned this as a serious side effect.
So far, the coffee/caffeine treatment is working quite well. I had another headache-free night last night. It’s early days, but I am hopeful.
I wish you well in finding a treatment that eases your headaches. We fellow sufferers know how debilitating they are!