HR Monitor + training manager add-on

  • Idea
  • Updated 8 months ago
  • Under Consideration
If Locus will support HR monitors (bluetooth / ant+) it would be nice to make some add-on for create workouts.Endomondo and other apps can only record and publish your result but it's not possible prepare some, for example basic interval training. Garmind Edge/ Forunner series could do that but when I heave Locus and Xperia Activ and Ant+ sensors I would like leave my Garmin on the shlef and use phone:)
Photo of pajaku

pajaku

  • 47 Posts
  • 1 Reply Like

Posted 3 years ago

  • 63
Photo of Vladimir Kolotov

Vladimir Kolotov

  • 7 Posts
  • 5 Reply Likes
Guys, also please don't forget to make locus supported speed and cadence sensors using ant+!
Photo of prolegsP

prolegs

  • 8 Posts
  • 0 Reply Likes
+100500
Photo of Konstantin Grigoriev

Konstantin Grigoriev

  • 2 Posts
  • 0 Reply Likes
Yes, ant+ support will be great!
Photo of Christian Kernbeis

Christian Kernbeis

  • 1 Post
  • 1 Reply Like
I'm voting for Ant+ too, its much more reliable than Bluetooth.
Photo of Menion

Menion, Official Rep

  • 2961 Posts
  • 210 Reply Likes
didn't had this idea at morning around 9 votes? Interesting ...

Seems, I'll have to do something with it soon :)
Photo of fabrylama

fabrylama

  • 26 Posts
  • 3 Reply Likes
Just HR? What about speed/cadence (and eventually power sensor)? Locus would be the first and only android cartographic navigator with full ant+ support!
For the HR a chart would be great, but not really necessary, the important feature is recording HR (and cadence) into gpx or tcx.
Photo of Menion

Menion, Official Rep

  • 2961 Posts
  • 210 Reply Likes
hmm I need small explanations please

Bluetooth HR, like this for example http://www.zephyranywherestore.com/hx..., record heard cadence and speed, right?

What is then difference to ANT+?

It's only way how device communicated with your phone right? But information are quite similar (or same). Am I understanding correctly?

So my idea is just to purchase for example above device and add support for this. When it will work, I should borrow from someone phone + monitor with ANT+ support, and just add possibility to read also from this sensor, correct?
Photo of maciej.olek

maciej.olek

  • 13 Posts
  • 0 Reply Likes
Well. To be honest with you. BT heart rate strap is a dinosaur tech today. And I mean standard 2.0 BT. It's high energy consumption prevents from using it normally and signal is unstable to say the least. It's just not reliable.

What I would suggest You to focus on is BT 4.0 (aka BT SMART, BLE, BT SMART READY) it's a BT but with low energy consumption. It will be the competition for the ant+ in the nearest future. These two data formats stream mainly Heart rate and heart rate variability. I would not worry about the speed and cadence in zephyr because they are calculated from accelerometer. You can do it on any android device.

So to conclude.

ANT+ needs ant+ chip to communicate with android.
BT heart rate strap (old tech) needs simple bt chip to communicate.
BLE needs bt 4.0. That will be the best bet for you to focus on. (See iphone 4s and 5, they have and use it succesfully)

I mean there is a lot of info on the subject. If you want I can get you all the info by email. Too much spamming here i guess :)
Photo of fabrylama

fabrylama

  • 26 Posts
  • 3 Reply Likes
Hi, the belt transmit only the HR, (the speed and DISTANCE advertised, are provided by the phone'gps, so some kind of false advertising), but no cadence nor speed.
BT belts, like that one from zephyr and the one from polar (that works well, but only wit BT4 devices) transmits only HR, they are popular among runners.
On the other hand there are ANT+ devices, popular among bikers (garmin standard). ANT+ is a different wireless protocol, only few xperia phone have native ant+ support (xperia active is the more popular) but there are ant+ dongle available.
Among bikers are widespread HR ant+ belts, and also speed/cadence sensors (mainly from garmin), a s/c sensor is mounted on the bike, near the rear wheel and transmit data from the wheel (speed) and from the crank (cadence).
There are also power sensors (very expensive, >1000€) also mounted on the bike, as now I think only ipbike through ipsensorman support these on android, but it's not a cartographic app, only gps recording.
Photo of Menion

Menion, Official Rep

  • 2961 Posts
  • 210 Reply Likes
thank you both for very very valuable information. Currently I need to finish some other smaller tasks, so I expect that since next year, I'll start work on it.

So expect that I'll need some more info during a progress and also some testing ;). So thanks once more for now and I'll let you know what things start to move ...
Photo of Vladimir Kolotov

Vladimir Kolotov

  • 7 Posts
  • 5 Reply Likes
Oh yeap! :)

Please consider the following use case:
Everyday bike wokrout
1. I have installed ANT+ sensors on my bike, e.g. speed and cadence
2. I have HRM sensor and wear it
3. I pair them to an android phone
4. I launch the locus application
5. I chose a track or start record workout track
6. I open custom screen with the following widgets: current speed, overal speed, distance, cadence and HRM
7. I do my workout, using my android phone as a bike computer.
Photo of Michal PMP

Michal P

  • 1 Post
  • 0 Reply Likes
ANT+ support once more !

Bike lovers will all switch to this app then and forget about buying expensive toys.

Speed, cadence and HR sensors - it's what everyone needs (this summer...)
Photo of SkidsS

Skids

  • 18 Posts
  • 1 Reply Like
I would also support this, since I already have the sensors, but my phone does not support Ant+, and my understanding was that it is only the Sony Xperia phones that currently do.
Photo of fabrylama

fabrylama

  • 26 Posts
  • 3 Reply Likes
Please develop ANT+, it's true not many phone have it, but many bikers are buying the xperia active , a great device with ant+ !
Photo of Michal Paseka

Michal Paseka

  • 5 Posts
  • 0 Reply Likes
Kdyby bylo potreba, jsem ochoten zapujcit pres zimu svoji Xperii Active s ANT+ :)
Photo of yojo afeYA

yojo afe

  • 6 Posts
  • 0 Reply Likes
Iḿ also voting for ANT+ support.
Photo of maciej.olek

maciej.olek

  • 13 Posts
  • 0 Reply Likes
I have Neo V. Can BETA test!

+1!
Photo of Jiří SůvaJS

Jiří Sůva

  • 2 Posts
  • 0 Reply Likes
Take jsem dal hlas, mam doma hrudni pas, nozni senzor a zvazuji senzor rychlosti/kadence na kolo - tohle by se mi moc hodilo...
Photo of Menion

Menion, Official Rep

  • 2961 Posts
  • 210 Reply Likes
Good new year to all that voted to this, currently most wanted idea ...

I firstly though that it will not be so complicated, to add support for Ant+ sensor. Currently I'm able to start Locus and probably read data from various devices communicating over ANT protocol. It took me three days till I understand how ANT system works and created this really basic system. From my point of view, it's worst and most complicated API I ever saw :).

Anyway, because it's almost impossible to test something without devices, I already ordered cheapest HR monitor I found, so during next week, I'll test it on real, on my device. Till then, I want

1. notify that this "idea" is in progress now

2. check if you will help me with some testing and ask you for patience, because I believe it will take some time till all will works correctly

3. meanwhile, who want, may test this (https://dl.dropbox.com/u/8015949/Locu...) test version. In menu > functions is "Ant manager" button that open simply screen. Only active button is the one at bottom, that enable ANT service. So try it together with you devices, if it will work (connect to them) and if you'll see any values on screen.

This is major part ... to get correct values. Once this will be working, rest (recording data together with coordinates and export to files) is quite simply.
Photo of fabrylama

fabrylama

  • 26 Posts
  • 3 Reply Likes
Hi, it doesn't work: when I try to enable ant+, it asks to download from the market "ant radio service" but I already got it, tried unistalling and reinstalling the radio service but nothing.
Btw, ant+ on my device works well with other apps.
Photo of prolegsP

prolegs

  • 8 Posts
  • 0 Reply Likes
HR works on xperia active
Photo of Michal Paseka

Michal Paseka

  • 5 Posts
  • 0 Reply Likes
Speed & Cadence sensor (Garmin GSC 10) works well on Xperia Active @ CM10. Great Work. Can i pay one more time? :)
Photo of fabrylama

fabrylama

  • 26 Posts
  • 3 Reply Likes
ps. My phone is xperia arc s with android 4.0
Photo of maciej.olek

maciej.olek

  • 13 Posts
  • 0 Reply Likes
https://play.google.com/store/apps/de....

XPERIA 8 might require system update
Photo of fabrylama

fabrylama

  • 26 Posts
  • 3 Reply Likes
sorry I have 2 phones, I tried with the new one (and it didn't work), but by mistake I wrote the name of the old one. now I edited the post
Photo of fabrylama

fabrylama

  • 26 Posts
  • 3 Reply Likes
I dug out my old xperia x8 with android 2.3 and ant+ of this beta works.
Photo of maciej.olek

maciej.olek

  • 13 Posts
  • 0 Reply Likes
Is ant+ working wirh other apps on you arc s? if now i will send you neccasry files so you can put them to your rom. Root needed
Photo of fabrylama

fabrylama

  • 26 Posts
  • 3 Reply Likes
Yes, usually it works, but I just tried and no ant+ app was working, fixed with a reboot, and this beta works too.
Photo of maciej.olek

maciej.olek

  • 13 Posts
  • 0 Reply Likes
Heart Rate working on xperia neo v, gb 2.3.4.
Photo of Konstantin Grigoriev

Konstantin Grigoriev

  • 2 Posts
  • 0 Reply Likes
Wahoo HR + Xperia Active working good.
Photo of Menion

Menion, Official Rep

  • 2961 Posts
  • 210 Reply Likes
so fo my big surprise, for all of you it works? :). I have just yesterday received Ant+ HRM from Holux and seems also to work. Perfect ...

So this should be the worst part. Now I need some help about basic usage. Is useful some info screen like there is now, so you can see if sensors are enabled and it's values (just for checking if all is fine, not for usage)?

And then, how to work with it. Some new settings under "track recording" settings like
- "Automatically enable ANT+" (yes/no)
- Configure ANT+ (by click display this configuration screen)

And final task. You said that you mainly need export to GPX/KML. Have someone some sample file for me so I may see a way, how data are written?

I expect using of
- HRM sensor (so one BMP value)
- cadence, speed or combined sensor (cadence value, speed value values)
- stride speed/distance sensor (speed, distance values)

right? Is speed useful for you? Expect yes, because should be precise then GPS speed. Any other sensor are usable in common life?

Sorry for quite a lot of question. As you noticed, I have experience in this field so I'll gladly receive some advices about common usage
Photo of Michal Paseka

Michal Paseka

  • 5 Posts
  • 0 Reply Likes
There is a gpx file with the recorded speed and cadence sensor. The record was recorded through Endomondo. I hope it helps.

https://docs.google.com/open?id=0B-iK...

And my idea of ​​how to use it:
- Turn on the support ANT + (can be also automatically)
- Start recording tracks
- I'll let you see the custom view with the following information:

Current speed (accurate data from the sensor)
Mean speed
Altitude
Time on the road
Cadence
HR info
Total Distance

After recording, GPX file is exported to my favorite GPS tracking server.

Or so similarly :)
Photo of fabrylama

fabrylama

  • 26 Posts
  • 3 Reply Likes
yes, a screen with all the values is important, is also really important a configuration screen where one can chose which sensor enable and directly imput the sensor ID (if ant+ is first started near other cyclists it could pick up their sensors)

Yes, exporting to gpx is really important, I don't know if there is a gpx extension which supports all the main sensors (hr, speed, cadence, power), but for sure exists a tcx extension for all that.

About speed sensor: it's definitely more precise than gps speed, but as far as I know every analysis program ignores the speed field in the gpx and calculate it's own value from the gps points, but for the tcx there's a distance field where you can put the current distance (in meters) calculated with the speedsensor (because the speed sensor is primarily a distance sensor, you just need to record the n° of wheel rotations to know the exact distance for every gps point), this field is then used in sporttracks.

For tcx, the schema is here: http://developer.garmin.com/schemas/t...
http://www8.garmin.com/xmlschemas/Tra...

Here's a open source tcx writer:
http://code.google.com/p/mytracks/sou...

Here's a sample of the trackpoint:
https://docs.google.com/document/d/19...
Photo of pajaku

pajaku

  • 47 Posts
  • 1 Reply Like
Theoretically in Garmin when GPS reception is poor (or speed is low) speed is calculated from speed sensor.

BTW: what's about calibration /auto (supported by GPS) of wheel size?
Photo of fabrylama

fabrylama

  • 26 Posts
  • 3 Reply Likes
I read something about that, but then I believe the speed value isn't written into the tcx directly, but as a distance measurement.

Of course if the speed sensor is present, I think locus should show the speed calculated from the sensor and not from the gps, but for the logging I believe there's no speed support neither in the gpx nor in the tcx files.

As for the auto calibration of the wheel size I don't care, how many meters on a straight line are necessary to have a precise measure? Isn't simpler to measure the wheel size with a ruler?
Photo of pajaku

pajaku

  • 47 Posts
  • 1 Reply Like
1. For me the best would be some screens like in Germin Edge 800. Definitely Locus should show HR, avg HR total time, HR avg lap time

2. It's important to set HR zones with some kind of sound alert

s. Futre story could be make some task-training-list: for example
a. Run with HR 120 0r "be in Zone 1" for 5 min
b. Run with HR 130-145 "be in Zone 2" for 20 min
c: Run with HR 145-155 or "be in Zone 3" for 5 min
d: repeat 4x

3. Recorded files should be full compatible with http://www.zonefivesoftware.com/sport...
Photo of maciej.olek

maciej.olek

  • 13 Posts
  • 0 Reply Likes
First of all I would like to express my great excitement that this project is actually airborne! Fantastic!

There is so many features that can be implemented that maybe we can sort them in some order?

I have experience with many devices and softwares that I used in the past.
Sporttracks, Endomondo, Runtastic,Run,Gps trainer. plus many more.
Most of the garmins.

Lets start with a simple recording of heart rate data along track in to one single file (GPX or TCX, both'll do!). Then some nice exporting.

I personally use SportTracks 3.1 because it is the best. I don't like to share my routes online so offline app is a must for me.

Menion, please start simple!
Photo of maciej.olek

maciej.olek

  • 13 Posts
  • 0 Reply Likes
BTW I can sense that this can be the best PROFESSIONAL sport app in the world!