Skip to content
This repository has been archived by the owner on Apr 18, 2020. It is now read-only.

Hackathon submission that uses HealthKit & Twilio to notify when heart rate reaches critical condition.

Notifications You must be signed in to change notification settings

Eric-Arellano/heart-rate-life-alert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Heart Rate Life Alert

Project for HackArizona 2017.

What it does

Interfaces with Apple Watch to continually check heart rate for critical emergency condition (like heart attack), and upon trigger sends text message with current location to trusted contact.

How to run

  1. in server/ directory, pip install -r requirements.txt
  2. export API keys in bash
    1. export TWILIO_ACCOUNT_SID="example"
    2. export TWILIO_AUTH_TOKEN="example"
    3. export GOOGLE_KEY="example"
  3. connect server and iPhone to same WiFi network/hotspot
  4. connect iPhone with Apple Watch to laptop with XCode
  5. build iOS app through XCode
  6. in server/ directory, launch server by running app.py

What I learned

  • Working with stack of multiple languages. Used both Swift and Python
  • JSON and HTTP requests
  • Flask practice
  • Basics of Swift and Healthkit

About

Hackathon submission that uses HealthKit & Twilio to notify when heart rate reaches critical condition.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •