Exploding lots of batteries to make a dataset... Frankly, that sounds kind of fun.
That said, if what's really being detected is the swelling of the battery breaking something... Just cut out the middleman: Design the enclosure so that the broken valve completes a circuit that drives a noisemaker.
Then humans could notice it too and distance themselves or prepare a fire extinguisher. With a standard frequency or pattern, external systems could detect it in a way which is much cheaper, more reliable, and privacy-conscious.
That said, if what's really being detected is the swelling of the battery breaking something... Just cut out the middleman: Design the enclosure so that the broken valve completes a circuit that drives a noisemaker.
Then humans could notice it too and distance themselves or prepare a fire extinguisher. With a standard frequency or pattern, external systems could detect it in a way which is much cheaper, more reliable, and privacy-conscious.