Author Topic: Locus Addon HeartRateAlert  (Read 2912 times)

Offline benuli

  • More than Newbie
  • *
  • Posts: 15
    • View Profile
Locus Addon HeartRateAlert
« on: March 10, 2015, 18:08:07 »
hi,
some months ago I have written a very simple addon for my personal use, that enables my phone to beep if a specific heart rate is reached. At the moment it only works with android 4.4 or maybe higher... (but I will change that in future).
Installation:
1.In your phone: Settings -> Security -> 'Allow installation of apps from unknown sources'
2.Download and install the apk from this post

Usage and first test:
1. open the app 'Locus - addon...' , the Locus symbol with the heart
2. to test that your phone will beep:
    - enter some value greater than 1 in the field left of ' beep if HR is lower' and check the checkbox at the right and 'Save Settings'
    - open locus pro and verify that there is one real important setting checked: Settings -> Miscellaneous -> 'Enable Periodic updates' , without this, there will be no beep!
   Now you should hear a single beep every five seconds or so.
If you hear that beep it works! (check your system sound settings, if you don't hear anything)
I took the sounds from a heart rate monitor in an emergency station. Maybe I make the sounds configurable, or some vibration...

Now you can activate your heart rate belt and connect it to Locus pro with the Bluetooth Manager and your smartphone should beep, dependend on your current heart rate.
The addon must not run always, it just works in background, the Userinterface is only for setting the alert zones. (if you forget to disable the checkbox 'beep if HR is lower', your smartphone will always start to beep, if you start Locus pro, even without a heart rate sensor in use.

It's my first Android app so be patient with me!
But I will try to help, if you get problems.







 

Offline ohgood

  • More than Newbie
  • *
  • Posts: 53
    • View Profile
Re: Locus Addon HeartRateAlert
« Reply #1 on: March 11, 2015, 11:39:30 »
yesterday, i decided i wanted to track HR, and today, you shared your app. THANKS !

do you have any recommendations for good/cheap HR monitors, and any additional information about whether ANT or bluetooth is better for battery life ?

thanks again, when people write apps, we all LOVE them for it !
« Last Edit: March 11, 2015, 11:42:26 by gynta »
 

Offline benuli

  • More than Newbie
  • *
  • Posts: 15
    • View Profile
Re: Locus Addon HeartRateAlert
« Reply #2 on: March 11, 2015, 12:47:05 »
I use a Bluetooth 4 Sensor from Polar. Battery drain is not the Problem.  My longest use of locus with 2 Bluetooth Sensors active was about 10 hours with display on about 3 hours. The trick was to set my i9100G with CM11 installed in airplanemode and then only activate Bluetooth!
 

Offline Calidris

  • Newbie
  • *
  • Posts: 1
    • View Profile
  • Device: Galaxy S5
Re: Locus Addon HeartRateAlert
« Reply #3 on: April 12, 2015, 22:41:07 »
Has anyone tried this on Android 5.0 and Samsung Galaxy S5? Seems it doesn't work for me or I am doing something wrong. I have Garmin ANT+ HRM. Thank you.
 

Offline benuli

  • More than Newbie
  • *
  • Posts: 15
    • View Profile
Re: Locus Addon HeartRateAlert
« Reply #4 on: April 13, 2015, 19:22:35 »
I'm sorry. I don't have Android 5.
 

Offline LALocususer

  • Newbie
  • *
  • Posts: 3
    • View Profile
  • Device: Sony Xperia Z3
Re: Locus Addon HeartRateAlert
« Reply #5 on: May 02, 2015, 23:04:49 »
@benuli Thank you for your contribution :)
 

Offline benuli

  • More than Newbie
  • *
  • Posts: 15
    • View Profile
Re: Locus Addon HeartRateAlert
« Reply #6 on: May 07, 2015, 16:39:07 »
With moto g 2014 and Android 5.0.2 it works
 

Offline radek_9

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Locus Addon HeartRateAlert
« Reply #7 on: July 20, 2015, 15:19:50 »
Hi.
I can't see a link to download. Thanks for sending. Radek

edit
sorry I found it.
« Last Edit: July 20, 2015, 15:27:16 by gynta »
 

Offline talybont

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Locus Addon HeartRateAlert
« Reply #8 on: September 09, 2015, 20:33:02 »
That is what I looked for. I will test with Xperia Z3.

edit
It works with Xperia Z3 and Android 5.1.1
Well done!!
« Last Edit: September 10, 2015, 01:03:52 by gynta »
 

Offline zigzag

  • Newbie
  • *
  • Posts: 9
  • Thanked: 2 times
    • View Profile
  • Device: Sony Z1 Compact
Re: Locus Addon HeartRateAlert
« Reply #9 on: January 22, 2017, 10:19:30 »
Hi,
I have made a very-very simple addon to tell on your heart rate zone changes.

https://play.google.com/store/apps/details?id=com.gilisztaturmixgmail.locus_addon_hr
« Last Edit: January 27, 2017, 11:42:31 by zigzag »