jec6613
Getting the hang of it
Such switches exist and they're not even very expensive. Example link, but the same company sells 24 different models that will work in an attic: 8-Port Industrial Gigabit PoE+ Wall-Mounted Front Access Switch - Front Access Switch - TRENDnet TI-PG80FPutting a PoE switch in the attic is a bad idea because they're not designed to function in extremely hot environments like an attic. If anything move it down into the garage space. Upgrade your cable to Cat6....I never run Cat5/5e anymore because they are such lower quality cables.
And depending on your climate and PoE load, you can actually use a pretty normal switch in an attic. When lightning took out my industrial switch in my garage, I swapped it for a regular one - It's using about 20% of its PoE budget and is actively cooled with dual fans, so it always generates enough heat to stay warm even when it's -10 out, but not so much it can't stay cool in the summer (though when it's 100 degrees out the fans are definitely pretty loud). And to be fair, I got the cheapest one that met my standards and figured if it dies in a few years, oh well!