While one may or may not plug in a smoke detector, the point I was making was that the wiring and junction box were not in a convenient location for the typical homeowner.
The NEC also doesn't regulate portable, battery-powered devices. If I'm concerned about fire safety then I can get UL, TÜV, or similar safety certification for insurance purposes. Most solar battery powered nicknacks carry no such certification nor do they need any to be sold legally.
Thanks for the vivid account, but some of us choose not to believe that everything novel is a slippery slope toward the bronze age.
The regulations and requirements surrounding them are based on the experience of firefighters and after action analysis of fatal fires over the past 100 years.
The point I was making is that smoke alarms are unlike other devices which may appear similar to a lay person - i.e. smoke alarms are held to much higher standards than thermostats or the DVD's remote. Hence, the annoying chirping sound to alert one to the dead battery.
If the idea is to create solar powered smoke detectors as a market disruptor, then it's a non-starter because they do not meet current code requirements for primary and secondary power supplies.
In an alternative case, homebrew electrical installations are why building permits are required and construction by intuition is why building codes have existed since the time of Hammurabi.
Few homes have one smoke detector and thus using one larger panel has some attractiveness. With surplus capacity, why not throw some LED lighting on the circuit? Etc. etc. down to the turtle.