This is a great idea, and I think it’s very important for everyone who stays alone for more than 1 day. Even then, if this switch can be calibrated good enough to react within a few minutes without causing false alarm, it would be great for everyone.
So, some thoughts about how it’s useful and what logic I think is best here. Just laying out my thoughts.
Use cases:
Well. Anything can happen to us. And it’s good if you are in any condition to call 911 (or similar service for your country. But it actually seems that most countries mimick 911 number, by the way works in Russia, even though our own main number is 112, alias of 911 works too). And it can happen to all of us, however healthy we are. As simple as tripping in the bathroom, fall, hit your head. Maybe you’ll wake up on your own, good. But what if you hit it badly, and you have 1 hour for medical assistance, or you die? What if you had a stroke, or a pressure spike? It can happen to even the healthiest people, and often hard to predict.
Right now I’m in a situation where my wife left me, and I had a huge stress recently, and my pressure got up, so I even had to call out my work for a week, to rest. And I try to hold my phone with me all the time, but I keep thinking - will I even be able to call it, if something bad happens?
Not so long ago a relative, about 50 years old, just fainted, fell, hitting head on the table. Woke up an hour or two later, in blood, with cat standing and just shouting without pause The only dead-man’s switch that triggered. And probably helped with waking up. But it would be much better if some alarm was triggered.
Had another relative, who was… chubby, and got stuck in a narrow bath. Could not get out of it herself. And it so happened, that she was visited often, but at that moment there was a delay of 3 days. 3 days in that bath, only being able to drink water from it. For some time. Only then, by coinsidence, someone finally tried to reach out, and finally forced the door open and came in, and called for help. But that already caused irrevesible damage to old-person’s health, so basically this event triggered the final countdown timer, so to speak… And thinking of it, something as simple as voice-controlled system would help that time. As simple as calling “Hey google, send a message “i need help im stuck, etc” to this contact”.
So. I can go on, but I think there’s enough said for everyone to realise that in theory, I think we all, all people, need such system.
Now about implementation
Logic:
I think that we should approach it with human side. How would human react to this? Or say - Jarvis AI system.
First and important thing, noted by @GigabitGuy , is a warning. False alarms are bad, we all know the story with the boy who alarmed the village with “Wolves” each night, until nobody came when there was real trouble.
So. Mixing how a real person would approach this and what a system should do
1 - Try to call the person, gently, asking if he\she is ok.
Sort of like if you found something lying in an awkwrad pose, first thing is to call their name. This should be done through multiple systems. I would suggest SMS, Pushbullet, WhatsApp, Skype and ideally through some acoustic system at home, with TTS.
Now it gives just a few minutes to respond. I think something like 2 minutes should be enough at this stage.
2 - Try to wake the person up.
Like if in real life you would probably try to shake a person, to wake up. If there’s an audio system at home, I would suggest trying triggering an alarm. Or maybe triggering an alarm on person’s phone. Actualy loud one. It could wake the person up. If it has fitness tracker, it would be perseft to vibrate it or something.
Give 1-2 minutes more to respond
3 - If all that fails, send a warning about triggering an alarm.
I’d say 5 minutes, summing it up to 7-10 minutes for the whole thing. Which is already much, in fact, if a person is in need of immediate assistance. Considering that medics need time to be alerted and arrive as well. But better than nothing.
So, wait 5 more minutes. Optionally it may be time to send some ‘soft’ notification to parents\wife. Closest person or two. Something soft like “Please, try to reach out to this person, it may be in need of assistance. This is just a first-line warning, it may be false alarm. Thank you for your time, etc.”, I’m not that good with english to give the best phrasing here. But it should give a clear indication, that it may be false alarm.
4 - Finally, notify people.
This time the message should be relayed to more people, and sound differently. Like "This person is very likely in need of medical assistance. I could not reach out to him to turn off the dead-man’s switch alarm, this is the final warning. Try to reach out to the person, and if you fail, he may be in need of medical assistance. Last known location - X. Last movement in the house - Y. " and some more information maybe.
So this system has 3 points at which it can be turned off, and 10 minutes to switch it off. 10 minute and 3 pre-alarm notify threshold against false alarms.
It should also have multiple ways of turning it off. I, for example, have a self-written AI\Voice assistant system at home, and it has a skype-bot interface, so I can just write something to skype, like “false alarm”, and it would be able to contact HASS and turn it off.
Now the hardware part.
Clearly, just using prescence detection is not reliable. And not everyone would like to spend money on lots of PIR sensors, or time on setting them up. Using WiFi detection is also not reliable, my wife, for example, turns wifi off at night. With me - turning off detection by scedule is also not a good idea.I often have irregular schedule. Or at least not regular enough for this system to work.
So even a mix of all things discussed would not work for me. It leaves too much windows when something can go wrong and not trigger an alarm.
So I think that the most reliable option here is using fitness tracker with heart rate. This way we could even have multiple layers of alarm. Depending on heartbeat. If there’s no movement - that’s soft alarm. If there’s no heart beat or it gets too irregular or fast, thats another situation. At night sensitivity can be lowered, when the person goes to sleep, but it should still be on. We still move at night, and we still have a heartbeat.
So… I think that it’s actually very important to be able to read data from fitness trackers. Without that, or some similar system, such systems are not reliable, and in most cases they may cause more hassle and trouble, than help. In that case, I would prefer to have a single-click button, like an app on my phone, or an actual button (like Fibaro’s button), which triggers the alarm immediately. So if I feel bad, I will only need to crawl to the button and punch it, then I can faint safely