in the hamster is in some sort of a cage, they can be place in front of an open window. I would recommend that they are not in direct sunlight for too long and that the weather is nice (no wind or...
Remove the door panel and lubricate all the mechanical linkages with WD40. Probably, rain or high humidity is collecting inside and rusting the metal badly enough to affect its functioning.