I know you should, like an infant, never leave your printer without surveillance.
But sometimes we all do, trusting our double thermistors and heat runaway configurations. But electronics fry and who says there is no danger even after the print job has finished and it's cooling down, still hooked up?
I have searched but smoke/fire detectors come in a wide range of varieties:
They can be battery powered or hardwired, they detect different things: carbon monoxide, heat, smoke..., they thus also have different detectors like photoelectric sensors, ionization sensors or both. We also print with different materials...
So what's the best safeguard for my 2 year old (CoreXY ^^)?
Since some prints can take literally days, I would use a combination of techniques if you're worried about a fire. According to The Internets, firefighters are willing to inspect your stuff to see if they pose fire hazards. You could ask your local firefighters what they think of your risk with yoru 3D printer.
Keep your workplace free of dangers
Don't keep flammables, explosives, or similar stuff near your printer. If it does catch fire, these kinds of things will make it worse. There are plenty of valid 3D printer supplies that fall in this category: alcohol, alcohol pads, acetone, acetone pads, various glues, various cleaners, hairspray, etc.
Periodically inspect the high amperage parts of the system
Inspect crimps, but splices, solder joints, relays, etc for burn marks, loose connections, or other problems. Solve the problems before they catch fire.
One or more smoke alarms should detect a fire. However, they may give false positives for ABS, because ABS gives off that burning plastic smell. I would experiment with the super-cheap ones and one or two more expensive models to see what kinds of false positives you get. You'll probably want to put at least one of them directly above the printer. If your printer is enclosed, put a sensor in the enclosed area.
I think smoke alarms should be sufficient, but I'm not an expert (or even hobbyist) on fire alarms. I have not come across any information that states Carbon Monoxide or Radon are a worries with 3D printers. Area-affect heat sensors may give many false alarms because of how hot printer stuff gets. However, you could use contact heat sensors for parts that should not get too hot and monitor them with a microcontroller or Raspberry Pi. Reading this article, it seems you may want some ionization sensors for the printer, and not photoelectric. My WAG (link) is that the plastic (or electronics) would smolder long before catching fire, so you want sensors that would detect the smoldering.
OctoPrint/OctoPi make it easy to use a webcam to monitor your printer. However, if your printer is on fire and you're remote, it may or may not be able to shut the printer down. Even if successful, you still have a fire to deal with.
You should have a fire extinguisher available to someone to put out your printer should it catch fire. Printers will need at least an extuingsher of Class C rating, and since we're working with plastics, you probably want Class B as well. Most of the fire extinguishers you can find in consumer stores are going to be ABC rated, and powder based. The powder will make a mess and wreak havoc on electronics. CO2 or Halon will not themselves damage the electronics, but are substantially more expensive than their powder based brethren. For example, I get 5lb Fire Extinguishers for ~$30 at Costco, but an equivalent in CO2 would be several hundred.
Automatic suppression system
As a maker, you could build a reactionary fire suppression system. I imagine it would be cost prohibitive to hire someone to do it for you. Basically, you would use the alarms or special sensors to activate one or more fire extinguishers. You should over-engineer this so that your fire suppression system completely overwhelms any fire that occurs. According to The Internets, firefighters are willing to inspect your stuff to see if they pose fire hazards. You could ask your local firefighters what they think of your risk and suppression system.
You could build a robot to detect fires about put them out, as sort of an advanced automatic suppression system. Something like Tony Stark's robot, or something emulating what is actually in service (US Navy (CNN), Australia tracked firefighter).
enter image description here">
enter image description here">