Fitbit app for AngelHacks San Francisco 2018
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
resources first commit Jul 29, 2018 Update Aug 3, 2018
architecture.png Add files via upload Jul 31, 2018
danger.png Add readme pics Jul 31, 2018
help.png Add readme pics Jul 31, 2018
normal.png Add readme pics Jul 31, 2018
ok.png Add readme pics Jul 31, 2018
package.json first commit Jul 29, 2018
warning.png Add readme pics Jul 31, 2018


Heartbee tracks senior users' heart rate real time using the Fitbit watch. If the heart rate increases above a danger threshold and meets certain conditions, we will notify the senior's family and friends immediately and enable online video chat via our paired web and iOS apps. Care for your loved ones, easy as can bee.

Heartbee was born at AngelHack San Francisco 2018 over the weekend of July 28-29, created together with my amazing teammates: Ami Zou (Software Engineer), Gabi Stein (Product Manager + Database Enginner), and Sophia Liu (Designer). This repo is for the Fitbit app, which I was responsible for. The frontend is in svg and css, and backend is in JavaScript. To see our paired web and iOS apps, check out Ami's repo.

The original code submitted for AngelHack is frozen at the original branch. Future changes should be made in the develope branch.


  • AngelHack's Code For A Cause Impact Award winner
  • Fitbit's Healthcare Challenge winner
  • HyperTrack's $1000 Challenge winner

The Story

Imagine that Madeline is a busy young professional living in the city, and her grandma lives alone in Chinatown. Madeline's grandma has high blood pressure and heart disease. Even though grandma doesn’t speak English, she’s stubbornly independent, loves to do things herself like grocery shop. A month ago, Madeline went to grandma's place for dinner. Madeline arrived, found grandma on the ground short of breath. She was suffering from a fast heart rate. Madeline wished she could have taken care of grandma during an emergency like this, but it’s not easy to check up on your elderly parents when they insist on living alone.

San Francisco Chinatown is full of elderly citizens like Madeline's grandma. Statistics show that more than 70% of them suffer from cardiovascular disease. We want to connect elderly parents and their family members in a way that doesn’t intrude on their independence, but make sure they’re being taken care of.

System Architecture


The Fitbit App

We created this seamless watch face with just two buttons. If everything is normal, the background will be green. If the heart rate goes near the danger threshold, the background will turn yellow as a warning. Currently we are using the formula (220 - user age) to calculate the danger threshold. Potentially we can come up with better and more customized algorithms. If the heart rate goes above the danger threshold, the background will turn red and the watch will start vibrating. Now if the user doesn't press the "I'm OK" button within 5 seconds, the watch will automatically notify the user's family and friends. If the user presses the "I'm OK" button, the watch will stop vibrating and cancel the notification. However, if the user isn't feeling well, he or she can press the "HELP" button at any time, and the watch will immediately send out notifications regardless of heart rate.

normal warning danger

This message will show after the user presses the "I'm OK" button. It will auto disappear in 3 seconds.


This message will show after the user presses the "HELP" button. It will disappear after the user presses the "Got it" button. Currently we do not own "", but the idea is to ask the user to connect to our web app where video chat with family/friends will be auto started.