How about a fibaro door sensor or similar with a temperature probe attached
It the probe cable is long enough then you could place the door sensor in a more accessible place so you can change the battery as needed.
I have a couple of these as normal door sensors with batteries that have, so far, lasted more than a year.