GithubHelp home page GithubHelp logo

farmer-eds-shed / heart-rate-alarm Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 243 KB

Heart Rate / Epilepsy Alarm

License: GNU General Public License v3.0

CSS 15.85% HTML 20.64% JavaScript 63.51%
ble epilepsy heart-rate monitor epilepsy-monitoring epilepsy-warning epileptic-seizure-detection epileptic-seizures seizure seizure-detection

heart-rate-alarm's Introduction

Disclaimer: I am not a medical professional, no clinical trials have or will be performed on this software. Use of any code within this repository is entirely at your own risk. It should be noted that not all seizures are the same and what works for detecting one persons may not work for another, also no seizure alarm can guarantee detecting every seizure including some very serious.

App is a work in progress and there is still much to do.

Heart Rate Alarm

This App works by monitoring heart rate and will issue an audible alert in the event of the heart rate exceeding some definable parameters.

I am developing this software to help monitor my daughters nocturnal epileptic seizures. I have tried using a commercial device, but it is not working for us as it goes into a low sensitivity mode if the wearer gets up and my daughter often sits or even stands up out of bed immediately prior to her seizures due to a feeling of nausea. We have also looked at other commercial devices and decided against for a number of reasons including:

  • low sensitivity modes.
  • Loudness of alarm - we want to be woken but some devices suited for hospitals / care homes are just too loud.
  • Accelerometers - movement is not a big feature of our daughters seizures and we found they only raise false alarms for us.

If you are looking for an opensource solution based on heart and movement monitoring I would suggest looking at https://github.com/OpenSeizureDetector.


Devices

Devices Tested

  • Fitcent Heart Rate Monitor Works fine, but needs to be manually turned on, may switch off automatically if not detecting heart rate for a few min.
  • Bangle JS 2 OK for testing but heart rate is very inaccurate.

Devices to be Tested

  • COROS Heart Rate Monitor Looks Promising as it has an auto wear detection feature, so shouldn't need to worry about manual power on or auto power off.

Android Devices

Software

Cordova install

$ cordova platform add android

$ cordova run

Node-Red

Node-Red is being used a server to monitor the App via a WebSocket. This will be used for graphing heart rate over night as well as test and debug of the App. May also be used in conjunction with a Notification service such as NTFY to alert if the App itself crashes.

Disable Power Saving Options

Android Permissions are required to allow app to run in background and provide notification services, all power saving options should be turned off or set to least restrictive.

Some devices may require more drastic steps - see: https://dontkillmyapp.com/

  • adb shell
  • dumpsys deviceidle disable
  • exit

Screenshots

drawing

drawing

drawing

drawing

drawing

Credits:

heart-rate-alarm's People

Contributors

farmer-eds-shed avatar

Stargazers

 avatar

Watchers

 avatar

heart-rate-alarm's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.