Pebble Seizure Detect
github.com
github.com
Way back(~2004) I was working for UPS. One of our package loaders had a BlackBerry, back when only suits had them. He was mute and since he couldn't speak he used the BB for all of his communication. Here I was just geeking out over smartphone tech(Kyocera 7135, woo!) and he was able to have his whole life changed in a fundamental way with tech that was conceived for business productivity.
One thing that IMO should be modified is the dependency on Twilio. I don't know how it is in the US, but Android users in Europe should not need an Internet connection for sending text messages - the phone is capable of doing it by itself. I think it's more common to be without Internet access but with mobile service than the other way around.
EDIT: submitted the suggestion as a GitHub issue.
On iOS, I'm fairly certain it's not possible for an app to send a text message from the phone by itself, without user intervention. This is probably a good thing; Candy Crush can't text me about my wife's latest achievements, etc.
So it's probably more of an operating system limitation than a US vs Europe thing.
Replying to text messages through Pebble works on Android though (and I've also been using Tasker to send regular texts for some time), so Android owners could use this feature. I guess it's time to write that patch :).
EDIT: The author confirmed that it is indeed an iOS issue.
Software should be allowed to help you. If you want it to be able to send a message on your behalf, it should be able to. The ability to toggle permissions per-app is one of the strengths of iOS and the limited nature of the OS is one of its greatest weaknesses.
He made it a way that works for his needs -- if you think it should work otherwise; feel free to contribute. Suggestions are a dime a dozen 'round these parts.
Some of the stuff suggested is ridiculous or impossible but sometimes they suggest stuff that in hindsight would have been blindingly obvious but I'm not the end user no matter how hard I try to put myself in their shoes.
If the author is interested in pull requests and doesn't have time, I do actually consider sitting down and writing that feature - that's the reason I asked.
For those of us who have to live with a loved one who suffers seizures, thank you to the author for making this and thank you ingve for sharing it. Hopefully it can avert a tragedy like mine for someone else in the future.
Kudos. This is awesome.
* More specifically, Myoclonic Astatic Epilepsy (MAE), which he appears to have been lucky enough to have outgrown, though I don't know if saying he "had" epilepsy (past tense) is accurate (or even relevant to the discussion).
For many patients, it's important to record how long their seizures last - to escalate/911 if needed, and also after the fact to aid diagnosis and treatment. I could see this app playing a role there too. After the event, the Pebble might prompt the wearer/responder whether to log it as a seizure, which would (mostly) automate the seizure log recommended by Epilepsy Society.
[1] now on iPhone too http://neutun.com/ [2] https://cloudpebble.net/
// A sqrt function I got from the web that
uses integers only (since Pebble emulates floating point math)" [1]
Pebble has a soft-float implementation? So is this integer sqrt approximation is faster than the soft-float one?[1] https://github.com/PebbleSeizureDetect/PebbleSeizureDetect/b...
Really almost anything is faster than FP emulation.
If you are interested in wearable tech and epilepsy you should also check out the "Embrace Watch" [1] - It measures electrical conductivity across the skin of a person wearing the watch and is able to use that as a proxy for heightened electrical activity within the brain (which can be indicative of a tonic-clonic seizure). It pairs with phones to send SMS messages to nominated contacts as alerts.
It was developed out of MIT and is now being commercialized. I'm currently waiting to take delivery of this watch (from an IndieGoGo campaign last year), so can't speak to its effectiveness but I have high hopes, particularly since it doesn't just rely on motion. Motion detection is helpful, but by then it is too late for the person having a seizure as they have no warning to make themselves safe.
There are commercial devices that work along similar lines, such as http://smart-monitor.com which is bought as a $20 per month subscription. But something open running on a platform like pebble is much more interesting.
"Made by Smart Monitor, the SmartWatch is a patented, intelligent motion detecting and alerting wristwatch."
Yeah, right.
EDIT: The watch names suggest it too[2]. Also note that they're basically charging 50% more for the watch itself than the official Pebble shop, and that is before the activation fee and monthly subscription fee.
EDIT2: The more I search, the more I'm confused about them. They look legit, and apparently[3] they even had their own smartwatch prototype before moving to Pebble. But there's no mention of "Pebble" on their site, or in any materials related to them that I can find. Moreover, this interview[4] says they're planning to get this (presumably Pebble version) FDA-certified, which makes me wonder - aren't they going to find themselves in competition with Pebble itself? Ironically, both them and Pebble seem to be cooperating with Stanford[5][6].
Oh, and did I mention they claim to have a trademark on the word "smartwatch" itself?
[0] - http://smart-monitor.com/smartwatch/about-smartwatch/
[1] - http://smart-monitor.com/wp-content/gallery/gallery1/PW-watc...
[2] - http://smart-monitor.com/buy-now/
[3] - https://plus.google.com/+DanievanderMerwe/posts/BiNUbBgpi8B
[4] - https://www.youtube.com/watch?v=rcu8Ts9MFtY
[5] - https://www.youtube.com/watch?feature=player_detailpage&v=rc...
Pricks.
My wife died of a tonic-colonic seizure 11 years ago. Something like this might have saved her.
Google returns several papers about detecting seizures with wearable accelerometers, but I haven't been able to find an openly available dataset. It would be great if there was one.