Building code requires smokes. Electrical code tells you how to wire them. Not sure if 12 volt smokes meet code. I can't see why not. Call you local fire department (not via 911) and ask them. They are usually very helpful when it comes these things.
Do not PM with questions that can be asked in a forum. I will not respond.