As Barry mentioned, you could do something similar to his setup with SmartThings. The problem, though, is that SmartThings has some reliability issues. I definitely wouldn’t depend on it as a smoke alarm to wake somebody up.
When SmartThings works as intended, it’s my favorite home automation system, but you just can’t count on it yet. They are working on making it more reliable, but even they say you should never use it for life-and-death issues:
Data accuracy and consistency from SmartThings sensors, including those provided by SmartThings directly, resold by SmartThings, or supported by SmartThings, is not guaranteed.
Therefore, you should not rely on that data for any use that impacts health, safety, security, property or financial interests.
For example, because temperature readings may vary significantly from reading to reading on an individual device, between devices, or over time, those readings should not be used to control heating and cooling in environments where food spoilage, health risks, or damage to physical goods could occur.
Alternately, presence data from SmartThings devices or mobile/Smartphones can vary in accuracy, and therefore should not be used to control access to secure locations without secondary authentication.
There are a number of bed shaker alarms available, including some with smoke alarms or acoustic sensors to register when the regular smoke alarm goes off. As their own product guidelines say, though, I wouldn’t trust my life to SmartThings.
JMO