Call up the local fire marshal. I did just the other day about Smoke/CO detectors. In ICC its if you have any fossil fuel devices in the house (I'm paraphrasing now) you need a CO detector within 10' of all sleeping areas. Im shoppig for those Combination Smoke/CO devices now.
Follow the directions on the package but around here it's also 3 feet from air source (vent or fan blade). One in each sleeping area, one outside sleeping area, in stairways, on each floor, over panel. The commercial applications are limited for out of the box smoke detectors. Sometimes needing a FACP for specific notification and alarm purposes or not enough devices allowed. If ya need more than the number of listed devices in series then you have to go with a FACP installation.
Something so simple as a smoke detector, can get so complicated. There are many different standards. Check with the locals to see what rules they are currently allowed to follow.
IF you don't have any carved in stone so to speak, there is always the ol Stick em Up on the wall type. They are great till they fall off the wall or the battery goes dead and around here are OK if its not new or substantially changed construction (by definition). Its not what a good electrician does, but its allowed. here. for now. kinda. They melt to unrecognizable glob of plastic when exposed to extreme heat source, historically.