Passive-Aggressive smoke detectors
I had this problem for awhile with my recently installed hardwired detectors.  At first I started replacing the batteries figuring maybe the ones included in the box were old (who knows how long they were sitting on the shelf at the store?).  Then it kept happening even on some of the detectors that I had already replaced the battery with a fresh one so I stopped replacing the batteries but I would disconnect the hardwire, reset the alarm and re-attach it. That usually would stop it for awhile but a couple days later it kept happening, so I was repeating the procedure and I saw a little spider run across the inside of the alarm.  My theory is I have these little spiders were running around inside the alarm.  So now I just take them off the ceiling and blow real hard inside to try and get anything out that might be inside.