Live-stream from Garmin watches via ANT+ stick & virtual box (evtl. coud, IOT) - Page 1
Forum section: electronics / general

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 18, 2019, 12:42:45 pm
content: to MATLAB, Python & other Desktop applicationsI continue the thread from here:https://www.eevblog.com/forum/cloud-computing/garmin-watch-connectiq-watch-iot-microsoft-azure-platform/and continue here with the part which is notGARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure PlatformbutGARMIN watch- ANT+ stick- virtual boxto keep those two path separate.Is it possible to create a linux virtual box which can run independendly as a Linux OS, but also as a virtual box running in windows, for a GARMIN watch, which contains all the components for a live-stream to MATLAB, Python & other Desktop applications?The size should be not more than 2GB, so that it can run on a Intel® Compute Stick STK1A32SC:https://ark.intel.com/content/www/us/en/ark/products/91064/intel-compute-stick-stk1a32sc.htmlas well as on a Jumper EzBook 3 PRO:https://de.gearbest.com/laptops/pp_647765.htmlA virtual box could become a community project which contains all the sensor tables helpful for GARMIN watches.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 18, 2019, 01:30:28 pm
content: A linux virtual box running in windows with sensor tables and all the software necessary to stream to MATLAB, Python or other deskop applications.A linux virtual box running in windows 10 of e.g. Jumper EzBook 3 PRO, which makes it not necessary anymore to install Ubuntu. All software for streaming integrated in a virtual box.But how can sensor data from a linux virtual box running in windows be streamed to the host windows 10 operating system?edit:This is not necessary. MATLAB is also available for LINUX and MATLAB can be installed in a LINUX virtual machine running in windows. No streaming to the host windows 10 operating system necessary.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 18, 2019, 02:31:35 pm
content: i.e. through a streaming server. livetracking.io had an integrated open-source streaming server.Which streaming server could be helpful to stream sensor data from a linux virtual box to the host windows operating system?

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 18, 2019, 07:20:45 pm
content: An alternative to Jumper EzBook 3 PRO withwith 4 GB RAM & 64 bit OS (minimal requirement for most Matlab editions)is the Trekstor SURFBOOK E11Bhttp://www.trekstor.de/products/notebook/detail-notebook/product/SURFBOOK%20E11B-CO.htmlwith Ubuntu 18.04 und Mate Desktophttps://www.heise.de/forum/c-t/Kommentare-zu-c-t-Artikeln/Aldi-Notebook-im-Test-Medion-Akoya-E6246-mit-256er-SSD-fuer-400-Euro/Trekstor-E11B-CO/posting-33859257/show/

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 18, 2019, 08:37:09 pm
content: There are also newer Mini 10 PC sticks with 4G RAM & Windows 10 64 bit (minimum for newer MATLAB versions):https://www.aliexpress.com/item/32826816000.html?spm=a2g0o.cart.0.0.206d3c00MwHGDE&mp=1and USB Type-C:https://www.aliexpress.com/item/32852962272.html?spm=a2g0o.cart.0.0.206d3c00MwHGDE&mp=1Did someone test those newer devices with Linux?

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 18, 2019, 09:41:07 pm
content: There are / where so many projects with an ANT+ and Windows for a live-stream from a GARMIN watch:Quote from: Peter Gamma on December 14, 2019, 08:55:08 amIs there a project with ANT+ windows code tables available, which can be modified? To have a live-streaming solution in LINUX for the only reason that there are no windows ANT+ code tables available is complicated.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 19, 2019, 12:25:25 pm
content: I m a person with skills in scripting and debugging of MATLAB scripts and scripts of other PC applications. For me personally, to make this project real takes time.For the time being, I let go of a real-time stream, even though it s interesting, and go back to the csv import method from GARMIN CONNECT without a live-stream.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 19, 2019, 03:07:18 pm
content: I miss a sports watch which is really smart.I miss a sports watch with an easy to use and contemporary windows 10 interface.I miss a live-tracking service which is simple and smart, instead of a live-tracking service for data nerds:https://livetracking.io/which stops as soon as someone comes which is interested in that service.https://livetracking.io/was near to that. And in my few, it could be brought there quiet easily.I miss a live-streaming service for professionals.Dave Lustys ConnectIQ-Watch-IoT - Microsoft Azure Platform solution is near to it. I miss support for more watches instread of support only for new and expensive watches, and I miss support not only for the Microsoft Azure Platform and Microsoft Power BI, but also for other platforms and applications.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: March 12, 2020, 05:19:05 pm
content: Darren Hague s project is also ready to go.https://www.thisisant.com/forum/viewthread/6665/https://github.com/dhague/vpowerBut it needs a live-stream without interrupton to an ANT+ stick. In my view, just for indoor activites, that's fine.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: March 12, 2020, 05:37:05 pm
content: When you are ready to carry arround a Jumper Book 3 for 24 * 7, then Darren's project is 24 * 7 ready to go.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: March 15, 2020, 08:14:21 am
content: Jumper EZBOOK 3 PRO:https://de.gearbest.com/laptops/pp_647765.htmlwith more than thousand costumers which are happy with it, I'm one of those.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: March 15, 2020, 12:07:34 pm
content: This real-time data aquisition system consists of:- Jumper EZBOOK 3 PRO- Vivoactive 3- Polar OH1- Stryd Foot Pod ( no calibration needed. I have also a GARMIN foot pod, but unfortunately it is not calibrated to this date)- Darren HagueS ANT+ Virtual Power- Virtual Box running in Windows with MATLAB- no Microsoft Azure Platform, no GARMIN connect IQ, no Watch-IoT, but heavy. But not as heavy as an ADINSTRUMENTS channel recorder equipement and not as expensive as an Equivital system, and longer warrranty time.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: March 26, 2020, 05:31:51 am
content: It is also possible to take a Moximonitor ANT to Serial Converter instead of a ANT+ stick and a virtual Box running in Windows with Python ANT+:https://www.moxymonitor.com/product/ant-to-serial-converter/Still a heavy equipement.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: March 26, 2020, 06:21:18 am
content: Pairing this setup with this mini PC and a battery pack:https://de.aliexpress.com/item/32852962272.html?spm=a2g0s.9042311.0.0.27424c4dvJApcDbut is it robust and stable?

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: March 26, 2020, 07:19:34 am
content: 7 inch Windows 10 tablets are rare to find. But what about building up one with a 7 inch display and a Windows 10 mini PC?https://de.aliexpress.com/item/32832814420.html?spm=a2g0s.9042311.0.0.27424c4dvJApcD

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 01, 2020, 10:50:31 pm
content: Scott W Harden, DMD, PhD, dentist and biological research scientist with a passion for collaborative public software and hardware development:https://www.swharden.com/wp/about-scott/developed the sound card ecg:and the ScottPlot:https://github.com/swharden/ScottPlotThere are now two options availble for a live-stream from a GARMIN watch:1. Moxymonitor ANT to Serial Converter which is commercially available (for MATLAB):https://www.thisisant.com/forum/viewthread/7074/2. Garmin IoT Series is a Microsoft Azure Cloud solution from Dave Does Demos :https://forums.garmin.com/developer/connect-iq/f/discussion/209439/eventhubappIs Scott s software a good free and open-source toolbox which could be used as a standard interface for the GARMIN watch? For me personally, yes. Is there any software which is better than Scott s software for this purpose? For me personally, no.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 03, 2020, 04:09:16 am
content: Shechen Rabjam Rinpoche, the grandson and spiritual heir of Dilgo Khyentse Rinpoche, one of the foremost Tibetan Buddhist masters of the 20th century. says, in Tibet, 10 % of the people go a spiritual path an live in a monastery. Therefore, Tibet has many Spiritual Masters. They are world champion.In South America, there are many football players, and football world champions.Practising meditation is a sports like playing football. But for meditators, GARMIN CONNECT is a nightmare. I parctise medtiation regularly. And I export my training data with csv. Is this a contemporary solution for the year 2020?Data analysis is so complicated, that my data analysis is restricted to data aquisition currently. This is a tragedy. There are so many data analysis tools available today. Some are very expensive, some are free and open source. But data import is so complicated, that I don t do it.Stop discriminating meditators, and make contemporary analysis tools available for the year 2020.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 04, 2020, 12:06:54 am
content: For my personally, world champion among the developers is the one who manages to connect Dave Lustys EventHupApp:https://github.com/davedoesdemos/ConnectIQ-Watch-IoTwith Dr. Scott Hardens ScottPlott:https://github.com/swharden/ScottPlot

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 04, 2020, 03:01:25 am
content: The EventHubApp connect the Microsoft Azure EventHubs. There is another app called "Namaste App", which connects to GARMIN CONNECT.https://www.programmableweb.com/news/how-to-design-device-ui-garmin-connect-iq/sponsored-content/2016/10/31What about modifying the app to make it connect to Dr Hardens Scott Plott?

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 04, 2020, 05:40:07 am
content: I suggest the name "real-time Namaste" for this new app:https://forums.garmin.com/developer/connect-iq/f/app-ideas/220116/combining-namaste-app-and-eventhubapp-to-make-a-live-stream-to-dr-hardens-scott-plott

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 04, 2020, 03:48:23 pm
content: Nicolas Kral (AlphaMonkeyC) is the "author" of the Namaste app:https://www.programmableweb.com/news/how-to-design-device-ui-garmin-connect-iq/sponsored-content/2016/10/31Nicolas Kral works for Garmin International. He is the Connect IQ Product Manager and is working to innovate and grow the Connect IQ program. Since joining Garmin International in 2005, Nicolas has worked with various Garmin teams as a software developer for mobile apps, search and navigation on automotive products and mobile phone operating systems.https://www.thisisant.com/business/events/ant-symposium-2019/speakerI suppose Nicolas Kral is an experienced software developer. It would be great when he joined this project.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 04, 2020, 04:34:29 pm
content: Here is Nicolas Krals youtube video:

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 05, 2020, 01:54:48 am
content: Where is the real-time Namaste Connect IQ App from GARMIN which connects to Dr. Scott Hardens Scott Plott which makes all sentient beings free from suffering?

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 05, 2020, 05:16:59 am
content: Nothing around for world champions from Garmin. And also Dave Lustyshttps://sqlbits.com/Speakers/Dave_LustyGarmin IoT series who works for Microsoft UK was no fun to this date. I did not manage to get a working solution with my Fenix 5.I described the problems I had with my Garmin Fenix 5 and Dave Lustys Garmin IoT series in the video description.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 05, 2020, 05:46:36 am
content: You can find the experiences I made with a Live-stream-of-sensor-data-from-Garmin-watches on my GITHUB account:https://github.com/PeterGamma

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 05, 2020, 07:32:55 am
content: For all meditators who suffer and also fail to meditate with Garmin Fenix 5 and Microsoft Power BI, try it with Moxymonitor ANT to Serial Converter:https://www.moxymonitor.com/product/ant-to-serial-converter/https://www.thisisant.com/forum/viewthread/7074/P30

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 05, 2020, 08:45:32 am
content: May all beings be free from suffering and the causes of suffering. May all beings rejoice in the well-being of others. May all beings live in peace, free from greed and hatred. Each of the four verses corresponds to a mental state: loving kindess, compassion, sympathetic joy, and peace (or equanimity).https://www.ling.upenn.edu/~beatrice/buddhist-practice/four-immeasurables.htmlFor all those who don t wan t to suffer, I recommend this solution:https://forums.garmin.com/developer/connect-iq/f/discussion/8077/sending-sensors-data-to-pc

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 05, 2020, 04:48:37 pm
content: Or the heart monitor:https://mind-monitor.com/forums/viewtopic.php?f=15&t=1116

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 05, 2020, 05:06:07 pm
content: Or find a C# programmer with a heart for Meditators.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 05, 2020, 06:32:26 pm
content: ScottPlott had 9.360 total downloads, 29 downloads per day (avg) this is also Champions League.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 05, 2020, 06:33:33 pm
content: Here you can find the figures:https://www.nuget.org/packages/ScottPlot/

author: janoc
author_rank: Super Contributor
timestamp: April 05, 2020, 07:22:38 pm
content: I am not sure what you expect people to do with this "brain dump" and saying that for you "it takes time" (It doesn't for others? Or do you expect people to do this for free for you?). However, I can give you my experience with implementing a custom solution for ANT+.It wasn't for the Garmin watch but we needed to integrate the Tacx cycling trainer (possibly the Vortex Smart but not 100% sure about the model) in one of our projects. I had to completely reverse engineer the communication because only the protocol for the brake was standard, the rest (the control "puck" and the Blacktrack steering sensor) uses an undocumented, proprietary profile over ANT+. And Tacx doesn't provide any meaningful SDK or access to the data, of course.The easiest way to get anything working is to download the ANTWARE II for testing, then download their SDK:https://www.thisisant.com/developer/resources/downloads/(you will need to register).There is an C/C++ SDK version for all major OSes, including Linux, for Windows there is also C#. That will save you a ton of time because most of the low level ANT+ complexity is handled there for you. That doesn't mean it is easy - the SDK is a mess, unfortunately. Of course, in order to be able to talk ANT+ to anything, your computer will need a supported dongle - some recommended ones are listed on that page, alternatively your watch may have come with one already.I also strongly recommend to read the available documentation for the protocol, it is all explained there, including all the standard profiles. ANT+ is a bit oddball protocol in some aspects and the documentation will explain what is going on.With this you should have no issues getting the data from the Garmin watch, assuming it uses standard ANT+ profiles (not every device does!), even though it will certainly require some elbow grease.Alternatively, you can do it also in hardware - e.g. the Nordic nRF52 SoC series expressly supports ANT+ (and, in fact, the nRF52840 is the chip most commonly found in those ANT+ USB dongles). However, that is significantly more complex and you may need to sign some paperwork with Nordic/ANT to get an implementor's license before you could get your hands on the necessary Nordic protocol stack.Re your idea of running this on some "compute stick" and such - as long as you can get the application to compile and run and the platform supports an USB dongle (I believe the ANT+ dongles are standard USB to serial devices not requiring any particular drivers), it will likely run OK. The determining factor will be what you want to do with your application (data processing, how many devices you are talking to simultaneously, networking, etc.) and not ANT+. ANT+ is designed to be a very low power and simplistic protocol not requiring much computing power to implement.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 06, 2020, 03:00:42 am
content: Thank you for sharing your experience, janoc . I know THIS IS ANT, and I ve seen the documents you mentioned before. For me personally, there are two options interesting:1. Moxymonitor ANT to Serial Converter which is commercially available (for MATLAB):https://www.thisisant.com/forum/viewthread/7074/2. Garmin IoT Series is a Microsoft Azure Cloud solution from Dave Does Demos :https://forums.garmin.com/developer/connect-iq/f/discussion/209439/eventhubappVersion 2, I ve tested with a Fenix 5 and Microsoft Power BI. Unfortunately, I did not get it to work.Version1 for the Moxymonitor ANT to Serial Converter there is a Matlab example available. This is fine for research institutes. But I think as a community project, Moxymonitor ANT to Serial Converter with the ScottPlott could be a success. This would be a low cost high quality solution. The Matlab example can be »reversed ingeneered» to a C# script which then can be connected to the ScottPlott.https://www.thisisant.com/forum/viewthread/7074/P30In my view, this would make sense as a community project to try it out. I don t know whether it is possible to develop commerial products in this field. How many are interested in those? But to focus those people on one or two projects which will finally work could be a success.

author: janoc
author_rank: Super Contributor
timestamp: April 06, 2020, 07:20:48 am
content: Quote from: Peter Gamma on April 06, 2020, 03:00:42 amIn other words, you are hoping someone will solve your very specific problem for free under the guise of a "community project". Also I don't get the logic that if something isn't (supposedly) commercially viable because there isn't enough interest, so you hope someone will rather do it for free as a "community project"?I am afraid that's not how this works.Open source/community projects are about scratching one's own itch first and foremost - you have the problem, you have the hardware so you start coding and share your code, then someone who finds it useful or interesting will contribute. It won't happen otherwise. Alternatively, you provide both the hardware to test it on and pay someone else to develop the code for you (which you may open source later).

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 06, 2020, 02:36:37 pm
content: I contributed to this project the best I can. You can see my contributions on my GITHUB page:https://github.com/PeterGammaWhen you try to convince someone to code who is not a C# programmer, this will take very, very, very very long.To pay someone to code it could be very expensive.A Dr. heart is needed.And when AlphaMonkeyC from Garmin, Dave Lusty who works for Microsoft UK, Walter Roberson from Matlab, Roger Schmitz from Moximonitor, Dr Scott Harden from Sound Card ECG, James Clutterbeck from Mind Monitor, Dr. Milind Y. Desai from Cleveland Clinic, Arnauld Delorme from the Swartz Center for Computational Neuroscience, Richard Davidson from the Center of Healthy Minds, or the Dalai Lama, Spritual Leader of the Tibetans, or a Superconductor from EEV Blog is not interested in developing this live-stream from a Garmin watch to a PC application, then I don t know whether this project will survive.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 07, 2020, 02:53:00 am
content: Or other simple contributors, bloggers, and c# programmers from EEVBLOG, as I am.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 08, 2020, 10:49:07 am
content: I ve got the following information from a friend who send a e-mail to Roger Schmitz - CEO - Moxy Monitor:«The Mox Ant to Serial converter works independently of a Moxy. It can be used with any one or any combination of the sensor types up to 15 sensors.The Converter will work with the following ANT+ profiles.• Muscle Oxygen• Heart Rate• Speed• Cadence• Combined Speed and Cadence• Cycling Power• Stride Based Speed and Cadence• FECIt just encodes the ANT+ data into a serial format and then sends that over the USB com port. You need to write something on the computer side to decode the data. Matlab was the intended target but any application that can read and decode a serial string would work. I had it streaming directly into Excel yesterday.Let me know if you'd like to setup an online call to discuss.Roger

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 09, 2020, 11:04:46 am
content: I suppose, the easiest and most comfortable way for a ant+ live-stream to MATLAB is:- Install Linux on a notebook like Jumper EZBOOK 3 PRO- Install a Linux Version of MATLAB- try to run Darren Hagues (SAP UK) Virtual Power in MATLAB and modify it to your needshttps://www.mathworks.com/matlabcentral/answers/142677-capturing-heart-rate-from-usb-ant-dongle-and-chest-strap

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 09, 2020, 01:38:07 pm
content: Darren Hague is Dr. heart.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 11, 2020, 04:59:53 am
content: Darren Hague solution is the easiest and most comfortable, exept for Dave Lustys Azure Cloud Power Bi solution, which is expensive, complicated and provided someone manages and confirms that it is working and manages to connect it to Matlab and to other applications.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 11, 2020, 12:08:00 pm
content: On the other hand, as of Matlab R2019b, Matlab supports Bluetooth smart. It should be possible to connect your Polar H7 directly to Matlab:https://ch.mathworks.com/matlabcentral/answers/308210-communicate-with-bluetooth-low-energy-ble-with-matlab

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 11, 2020, 01:39:50 pm
content: There already models there of BLE Devices with Heart Rate Profile:https://ch.mathworks.com/help/comm/examples/modeling-of-ble-devices-with-heart-rate-profile.htmlThis is the future.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 12, 2020, 03:16:12 pm
content: Will there be a revolution with bluetooth smart sensors, the GATT client-server scenario as specified in the Bluetooth core specification, and Wireshark?https://www.mathworks.com/matlabcentral/answers/142677-capturing-heart-rate-from-usb-ant-dongle-and-chest-strap

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 14, 2020, 03:10:00 pm
content: My personal Conclusion:Only nerds try to stream ANT+ sensors to Matlab. Smart people choose blueooth smart sensors, which can be connected directly to Matlab since Matlab release R2019b:https://www.mathworks.com/matlabcentral/answers/308210-communicate-with-bluetooth-low-energy-ble-with-matlaband try to connect them with the bluetooth smart example in Matlab, which exists since Matlab release R2020a:https://www.mathworks.com/help/comm/examples/modeling-of-ble-devices-with-heart-rate-profile.html

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 21, 2020, 01:23:04 pm
content: Unfortunately, there is currently no bluetooth smart-live stream example available:https://www.mathworks.com/matlabcentral/answers/518074-is-there-an-example-how-to-connect-the-polar-oh1-bluetooth-low-energy-heart-rate-sensor-with-matlab?s_tid=prof_contriblnkhttps://www.mathworks.com/matlabcentral/answers/518075-is-there-an-example-how-to-connect-the-stryd-low-energy-foot-pod-sensor-with-matlab?s_tid=prof_contriblnkGarmin fit files when converted to csv are a data soup. It takes a lot of time to get meaningful data out of it:www.mathworks.com/.../394287-is-there-a-matlab-function-to-read-in-a-fit-file-from-a-garmin-devicethere is also currently no live-steam example available from a GARMIN watch which would allow building up a data base with a simple and clear data structure:www.mathworks.com/.../518101-is-there-an-example-how-to-stream-ant-sensor-data-live-to-matlabAn EventHubApp, Microsoft Azure Cloud, Power BI, Matlab, Python example could solve this problem immediately.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 25, 2020, 11:13:19 pm
content: Post-processing alternative:Max Candocia, the developer of the tool «Converting Garmin FIT Files to CSV»https://maxcandocia.com/article/2017/Sep/22/converting-garmin-fit-to-csv/is a Data Scientist who lives in Chicago and works at Mark Bio Inc, a biotec start up as a data scientist. He has a MS in Physics and a BS in Statistics:According to the documentation, csv files generated by his tool have a simple an clear data structure. For me personally, the data structure of the files converted by the official THIS IS ANT .fit to .csv converter was not clear.I continued a thread about this subject in the GARMIN forum. Unfortunately, my posts where removed and the threat was locked:https://forums.garmin.com/apps-software/mobile-apps-web/f/garmin-connect-web/122799/see-all-date-exported-in-fit-file---maybe-excel-oder-some-other-program/683009#683009I don t know what was the reason for shut down.I tried to use the Candocia FIT Files to CSV converter. Unfortunatley, I failed the first time I tried tu use it. It uses Python as a base, and I m not familiar with it.I think for everyone who is interested in a simple and clear data structure of converted GARMIN fit files, it s worth having a closer look at Max Candocias tool.Here is the most recent tutorial I could find for Converting Garmin files FIT to CSV format:It uses code from Max Candocia. The resulting plot is very clear.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 25, 2020, 11:30:49 pm
content: What does a data scientist like Max Candocia who want s to pulll out the data from a GARMIN watch?The answer is decribed above.A wonder if there a better solution than the path a data scientist like Max Candocia is gone to solve this problem.Unfortunately, I m not a Python programmer. For the time being, I stay with copy and paste data from converted csv files to other application.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 26, 2020, 08:01:18 pm
content: The tool uses code from Max CandociaThe tutorial is from RD Gameplays & Tech from BRASILhttps://www.youtube.com/user/rdlady11/about

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 26, 2020, 08:38:44 pm
content: The second time I wrote posts in the GARMIN Forum about the "Max Candocia" FIT to CSV Tool, I receveived a message from GARMIN they were flagged as inappropriate. They where not published in the forum. I don t know the reason for that. There was no answer from GARMIN when I asked for the reason.I published my posts I wanted to post in the GARMIN forum in DC RAINMAKERS BLOG instead:https://www.dcrainmaker.com/2014/10/heads-resource-rainmaker.html/comment-page-1#comment-3545862

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 27, 2020, 09:41:07 am
content: Currently, me personally, I would choose the follwoing options to pull data from a GARMIN watch:Post-processing option:1. If you don t know how to download an run Python code, use the official THIS IS ANT .fit to csv converter:https://www.thisisant.com/forum/viewthread/6654/2. If you know how to download an run Python code try to use following guide for Matlab or other applications.https://www.mathworks.com/matlabcentral/answers/394287-is-there-a-matlab-function-to-read-in-a-fit-file-from-a-garmin-device#answer_426999?s_tid=prof_contriblnkReal-time stream option:3. For a real-time stream to Matlab or other applications, I would try the solution from Darren Hague:https://www.mathworks.com/matlabcentral/answers/518101-is-there-an-example-how-to-stream-ant-sensor-data-live-to-matlab?s_tid=prof_contriblnk

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 29, 2020, 09:41:14 pm
content: 4. For a windows solution connect Dave Lustys from Microsoft UK EventHubApp project to the rest API of Matlab or Pythonhttps://forums.garmin.com/developer/connect-iq/f/discussion/209439/eventhubapp

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: April 29, 2020, 10:53:01 pm
content: APIS for desktop applications should be standard for Garmin, Polar, Amazfit, etc. watches. Guiding star is Bitalinohttps://bitalino.com/en/development/apis

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 01, 2020, 06:08:57 am
content: 5.For a Windows version, according to Darren Hague, vpower should also run in a Linux virtual box running in Windowshttps://github.com/dhague/vpowerDarren Hague is an excellent programmer and former brain scientist. So for a windows solution, it should be possible to run vpower in a Linux virtual box running in Windows and integrate it in a Linux version of Matlab or Python.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 01, 2020, 09:30:17 am
content: I think it is worth having a closer look at Darren Hagues Virtual Power project:https://github.com/dhague/vpowerEventually, Darren Hagues Rasperry Pi zero could be maintained, redirected to Matlab or Python and serve as a data buffer

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 02, 2020, 11:25:05 am
content: Rasperri ANT project which sends data via a MQTT-Broker to Matlab or Python.https://www.thisisant.com/forum/viewthread/7074/P30/

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 05, 2020, 06:58:51 pm
content: In theory, it should be possible to have live stream of ANT sensor data from a Garmin watch to a Rasperri PI to a smartphone to a server to Matlab or Python.https://www.thisisant.com/forum/viewthread/7074/P45But this raises questions about the stability of this mqqt path.More easy to get a stable stream would be a stream as directly as possible from a sensor to Matlab or Python via Bluetooth smart to a mini PC stick with Matlab or Pythonhttps://ch.mathworks.com/matlabcentral/answers/518074-is-there-an-example-how-to-connect-the-polar-oh1-bluetooth-low-energy-heart-rate-sensor-with-matlab?s_tid=prof_contriblnkhttps://ch.mathworks.com/matlabcentral/answers/518075-is-there-an-example-how-to-connect-the-stryd-low-energy-foot-pod-sensor-with-matlab#answer_428502?s_tid=prof_contriblnkThere is a Bluetooth smart SDK from Polar and Stryd, but what is missing is an example code for those sensors.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 05, 2020, 10:13:10 pm
content: Or a short cut connection from a mqqt Raspperri PI data grabber to a PC with Matlab or Python as the last rescue of the ANT live stream path?

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 05, 2020, 11:23:38 pm
content: https://ch.mathworks.com/help/supportpkg/raspberrypiio/ref/raspi.htmlno comment.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 05, 2020, 11:30:26 pm
content: This looks betterhttps://github.com/Denkschmied/fire-and-ice/wiki/Connecting-Matlab-and-Raspberry-Pi

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 06, 2020, 07:19:56 am
content: Integrate a MQTT bridge between Matlab and Rasperri Pihttps://www.thisisant.com/forum/viewthread/7074/P45

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 10, 2020, 04:27:06 pm
content: I tried to post this instruction how to stream ANT+ sensor data live to Matlab or Python here in the Garmin Forum:https://forums.garmin.com/developer/connect-iq/f/discussion/8077/sending-sensors-data-to-pc/1043426#1043426But my post was not published. I received the following message from Garmin:Dear Peter Gamma:Your forum reply, RE: Sending sensors data to PC, in Discussion was flagged by other users as inappropriate and doesn't appear on the site right now.Reason: The forum reply was determined to be SPAM.Please help us keep the community content safe and enjoyable for everyone. If you feel your content shouldn't be hidden from the site, please let us know. You can use this form to appeal the finding before May 17, 2020 11:34 AM, and we'll promptly review it.I filled out the form. I did not receive an answer yet from Garmin. Why should my post be spam? Is Garmin not interested in an instruction how to stream Ant+ sensor data live to a PC? Is it spam, when I use the word "Matlab". I cannot see another reason.So I post my instruction, which I posted also in the THIS IS ANT forum also here. In a community, it is easier to develop a new path":Instruction:1. Example code from Reto:https://infinityflow.ch/raspberry-pi-ant/2. install a MQTT brocker on the Rasperri:https://mosquitto.org/download/3. Connect to RPi 3 ad-hoc network from windows PC:https://raspberrypi.stackexchange.com/questions/70621/connecting-to-rpi-3-ad-hoc-network-from-windows-pc4. Connect to Matlab MQTT:https://www.mathworks.com/matlabcentral/answers/300785-does-matlab-support-mqtt5. connect to Matlab example code:https://youtu.be/Ercd-Ip5PfQ6. Or connect to Python MQTT:https://pypi.org/project/paho-mqtt/7. connect to Python example code:

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 10, 2020, 04:41:10 pm
content: Further details can be seen here:https://www.thisisant.com/forum/viewthread/7074/P60

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 10, 2020, 05:33:48 pm
content: My post was flagged b y o t h e r u s e r s as inappropriate.One user had a problem with me in the Garmin forum. He complained, I should exlain the problem in simple words, without posting so many links.Since then, many of my posts where not published, I received a message from Garmin, that they where marked as inappropriate. I filled out a form. Some came back. But several posts dissappeared forever. Reason unknown.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 10, 2020, 08:03:32 pm
content: 17 month ago, Garmin migrated to a new forum software. During the migration, posts where lost. I miss a thread in the Garmin forum about foot pods, which was lost during the migration. Someone in the forum proposed I could complain about the lost posts, and that they could bring back the posts I complain about.I will not start a fight with Garmin about every single post to bring it back.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 11, 2020, 08:46:21 am
content: DC Rainmaker anwered in his blog, when I complained about my problem with the Garmin forum. Here his anwer:DC RainmakerMay 11, 2020 at 3:06 am#169The reason you’re probably getting automated spam request is simple unfortunately: Most platforms consider numerous links to have a high confidence of SPAM. So they put them in a queue.In fact, your message here went into my ‘requires approval’ bucket for exactly that reason. Anything over two links automatically gets placed into that queue. It’s not a perfect system, but it helps. In my case, I get between 2,000-4,000 pieces of SPAM daily. Yet only 1-2 usually slip through. Every little bit helps.Cheers!Replyhttps://www.dcrainmaker.com/2016/07/everything-you-ever-wanted-to-know-about-ant-fe-c-and-bike-trainers.html/comment-page-1#comment-3557941I love the system of the MATLAB community, which is better. Potential spam is marked immediately as potential spam, but stays published. You can write a message to the MATLAB support team, and then they remove the flag.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 11, 2020, 06:36:37 pm
content: I tried again and again to find a version to publish Max Candocias tool in the Garmin forum. Unfortunately, I always failed. Is this censorship? Here is my original post which was not accepted in the Garmin Forum:Title: FIT to CSV Python script (high quality)Max is a data scientist who the developed a python script which converts Garmin FIT Files to CSV:https://maxcandocia.com/article/2017/Sep/22/converting-garmin-fit-to-csv/The resulting data structure is very clear. Unfortunately, it is not as easy to handle as the official THIS IS ANT .FIT to CSV tool. Is it not in the interest of Garmin and the Garmin users to develop this tool further in the community?

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 11, 2020, 08:18:02 pm
content: I started a new Thread in the THIS IS ANT FORUM:Python script to Convert Garmin FIT Files to CSV (Max Candocia)which was censored in the Garmin Forum:https://www.thisisant.com/forum/viewthread/7358/

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 12, 2020, 05:14:19 am
content: I was asked in the Matlab community, where I discussed this subject, to replace“censorship”by“Unfortunately, I always failed, and I do not understand why so?”I can follow the arguments of the Matlab Community support team and changed my words.I replace also here“censorship”by“Unfortunately, I always failed, and I do not understand why so?”

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 13, 2020, 09:00:56 am
content: Why are my posts deleted from the Garmin forum?https://forums.garmin.com/de/plauderecke/f/forum/225702/why-is-a-wonderful-free-and-open-source-tool-to-convert-fit-to-csv-files-banned-from-the-garmin-forum

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 14, 2020, 05:04:51 am
content: Also in the Matlab community there is a risk that all post that do not relate to Matlab are deletedhttps://www.mathworks.com/matlabcentral/answers/394287-is-there-a-matlab-function-to-read-in-a-fit-file-from-a-garmin-device#answer_428282?s_tid=prof_contriblnk

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 14, 2020, 07:12:18 am
content: Other posts I wrote in the Garmin forum where first deleted, then restoredMessage from GarminDear Peter Gamma,We’ve reviewed your appeal and content, and have restored the content to the site. We appreciate your help in keeping the community experience safe and enjoyable for everyone, creating posts that are appropriate and consistent with our culture. The content is available here.https://forums.garmin.com/de/plauderecke/f/forum/225736/why-is-a-post-about-a-wonderful-free-and-open-source-raspberry-pi-ant-script-which-sends-sensor-data-to-a-mqtt-broketool-deleted-from-the-garmin-forum

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 14, 2020, 07:20:46 am
content: Link to the deleted post from the Garmin Forum, which was not restored, which i moved to the THIS IS ANT FORUMhttps://www.thisisant.com/forum/viewthread/7360/

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 16, 2020, 02:48:09 pm
content: Why is a live stream from a Garmin watch to Matlab or Python so complicatedhttps://www.thisisant.com/forum/viewthread/7362/and with a Bitalino Biomedcal Toolkit so simple?https://www.mathworks.com/matlabcentral/fileexchange/53983-bitalino-toolbox

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 16, 2020, 03:00:55 pm
content: Bitalino HeartBIT BT with direct bluetooth paring to Matlab is 190 Euros:https://plux.info/bundles/428-bitalino-revolution-heartbit-bt.htmlno GPS, no Footpod, but low-cost and simple.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 16, 2020, 03:57:15 pm
content: Bitalino offers real time recording to csv formathttps://books.google.ch/books?id=Hy7EDwAAQBAJ&pg=PA6&lpg=PA6&dq=bitalino+csv&source=bl&ots=VhnxUXPFuO&sig=ACfU3U26YsvcKWiznA7Oz3xOBrdEQZyW7g&hl=de&sa=X&ved=2ahUKEwiDo_W43rjpAhUs86YKHe1sBicQ6AEwB3oECAoQAQ#v=onepage&q=bitalino%20csv&f=falseno conversion from intransparent Garmin .fit file format to csv, which is so complicated, that to my knowledge, nobody has demonstrated to do it by an automatic script procedure to this date.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 16, 2020, 06:47:12 pm
content: Bluetooth 3.0 pairing allows pairing only to one device at a time.There is a Bitalino Open Signals Mobile app, which should eventually work for real time csv recording. For a second real time stream to Matlab or Python, a second device is needed.Bitalino can also be bought in parts. Costs for two devices in parts and build together yourself estimated 200 to 300 USD. Batteries for instance when bought from 3 th party seller are cheaper.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 18, 2020, 08:21:37 pm
content: Access of sensor data from a Garmin watch is difficult. With Bitalino, it is easier. And the Bitalino Community is very helpful, and gives very detailed answershttps://forum.bitalino.com/viewtopic.php?f=8&t=574&e=1&view=unread#unread

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 22, 2020, 07:58:44 am
content: Does Garmin want to control the user sensor data, so that it can only be accessed by Garmin?This makes alternatives like Scott Hardens sound card ECG much more attractive, which offers open source software which can run on different platformshttps://github.com/PeterGamma/Live-stream-from-Dr.-Scott-Hardens-Sound-Card-ECG

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 22, 2020, 01:27:44 pm
content: Determination of the accuracy of commercially available heart rate monitors should be based on a scientifically accepted method. Bitalino is accepted as a scientifically accepted reference device.https://forum.bitalino.com/viewtopic.php?f=12&p=2181#p2181I suppose is should be easy also to make tests with Scotts Sound Card ECG to make it scientifcally accepted. It would be a failure when a scientist like Scott Harden would develop an ECG machine which is not accepted by other scientists.The group of Milind Y. Desai tested the accuracy of commercially available heart rate sensors with a scientifically accepted methodhttps://www.ncbi.nlm.nih.gov/pmc/articles/PMC6732081/Not all heart rate sensors have been tested yet by a scientifically accepted method, for instance the Polar OH1 sensorhttps://www.dcrainmaker.com/2019/03/polar-oh1-plus-optical-hr-sensor-in-depth-review.html/comment-page-1#comment-3566124With a reference device as the Bitalino ECG device, everybody can termine the accuracy of heart rate sensors themselves. But raw data is necessary for such test. Garmin makes it difficult to access raw data. Here is a list of tools which makes access of Garmin raw data in the format of .csv values easierhttps://github.com/PeterGamma/Live-stream-of-sensor-data-from-Garmin-watchesA ranking of the accuracy of commercially available heart rate sensors would be desirable, when scientific quantification of these heart sensors has been done. Everybody can to this himself with the above described tools.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 22, 2020, 02:42:02 pm
content: There is one paper available about the accuracy of the Polar OH1 sensorhttps://journals.plos.org/plosone/article?id=10.1371/journal.pone.0217288

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 22, 2020, 06:11:15 pm
content: They came to the conclusion that the accuracy of the Polar OH1 is near to an ECG device, which is the most accurate HR measurement device available.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 22, 2020, 08:21:44 pm
content: In a similar scientific study Milind Y. Desai s group compaired the accuracy of several commercially available heart rate monitors in athletes. Milind Y. Desai s group did not test the Polar OH1. But they found that the accuracy of the Polar H7 chest strap is also near to an ECG devicehttps://www.ncbi.nlm.nih.gov/pmc/articles/PMC6732081/

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 23, 2020, 01:54:37 pm
content: Dr. Scott Hardens, PhD. ECG sound card system is a winning system for heart rate sensor data in real time. I little developement work would make it more attractivehttps://forum.bitalino.com/viewtopic.php?f=19&p=2184#p2184

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 24, 2020, 01:36:36 am
content: Until Scott s device can be bought somewhere as a kit with all the components or a ready made device, buy a HeartBIT Bitalinohttps://plux.info/bundles/428-bitalino-revolution-heartbit-bt.htmlwhich is already there where Scott s device should be, for a live stream of heart rate sensor data to a PC. It saves a lot of time.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 24, 2020, 02:22:57 am
content: I complained at the Garmin support about the deletion of several of my posts, or about threatening of deletion of my postshttps://forums.garmin.com/apps-software/mobile-apps-web/f/garmin-connect-web/226152/does-someone-work-on-the-android-application-a-training-tracker/1068421#1068421my posts where about a training tracker, Max Candocia s fit to csv converter Python Script, and the MQQT software to stream sensor data from a Garmin watch to a PC. All of these products depend on Garmin products, and lead to higher sales of Garmin products.The answer from the Garmin support was, that the link was a violation of the terms and condition of the Garmin forum, but that they are generally relaxed about this.When the hard style of moderator Trux in the Garmin forum is taken serious, a huge number of posts had to be deleted. This is complete nonsense. The moderator Trux should be brought to stop his deletion action of posts in the Garmin forum. I started a campain against him at the Garmin support.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 24, 2020, 02:55:43 am
content: I moved my thread about the discussion of a training tracker to the THIS IS ANT forum, where none of my posts where deletedhttps://www.thisisant.com/forum/viewthread/7363/and also all other threads where i discussed tools and scripts concerning the Garmin watch. Links can be found on my GITHUB:https://github.com/PeterGamma/Live-stream-of-sensor-data-from-Garmin-watches

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 24, 2020, 06:40:57 am
content: Also in the Matlab community, the moderator Rik threatens do delete all of my posts which are not related to Matlab.https://www.mathworks.com/matlabcentral/answers/394287-is-there-a-matlab-function-to-read-in-a-fit-file-from-a-garmin-device#answer_426776?s_tid=prof_contriblnkThe case is similar to the case of the moderator Trux in the Garmin Forum. When it is not allowed to write about a Python script in the Matlab community, there will probably no matlab function to read in a *.fit file from a Garmin device. A Python script can be integrated into a Matlab function, when someone has a problem with a Python script.These are two cases of abuse of power of moderators trying to get rid of a poster, or trying to set a poster under pressure to do what they want him to do, by arguing with the terms and conditions of the forum.Moderators like Trux and Rik are lowering sales figures of the products they are trying to sale. They make it unattractive to write posts in the Garmin Forum or in the Matlab Forum, because one cannot be sure about arbitrary deletion of posts.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 25, 2020, 06:29:38 pm
content: Bitalino uses Bluetooth or BLE soft- and hardware, Garmin watches use ANT+ broadcasting and almost only sensors with ANT+ support. There is hardly any ANT+ live streaming desktop applications available, and BLE would also be attractive for android application developement.Why does Garmin not offer a contemporary BLE live-streaming support for their watches and sensors, which can be connected to BLE desktop example code?https://www.mathworks.com/help/comm/examples/modeling-of-ble-devices-with-heart-rate-profile.html

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 25, 2020, 07:06:59 pm
content: Here is an example what is currently available for ANT+ sensor streaming from private developers who do it for fun:QBIKE ANT+ Cycling Training on Raspberry Pi (Jeffery Clive):https://github.com/clivemjeffery/qbikeDemo video:https://www.youtube.com/watch?v=lVoNQ8jtVbI&feature=youtu.bedeveloped by Jeffery Clivehttps://www.strava.com/athletes/98197Jeffery Clive s work is great. But why does Garmin let users only develop such simple Cycling Training on Raspberry Pi, and limits the creativity of great software developers with non-commercial private products, by not offering users the whole potential of what modern technology can do today?

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 25, 2020, 07:49:44 pm
content: And why does Garmin not promote research, by offering Matlab users the full potential of what their watches can do? Research scientists can probably not convince Garmin with sales figures. But Garmin will loose clients, when Garmin does not promote smart people, smart research scientists or smart non research scientists.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 26, 2020, 03:08:42 am
content: Garmin watches BLE v5.0 support:There is an example of BLE devices with Heart Rate Profile using the GATT client-server scenario as specified in the Bluetooth Core Specification v5.0, Dec. 06, 2016 in Matlab:https://www.mathworks.com/help/comm/examples/modeling-of-ble-devices-with-heart-rate-profile.htmlUnfortunately, there is no example code for a specific watch available for this example in Matlab to this date, neither from Garmin or from another manufacturer:https://www.mathworks.com/matlabcentral/answers/533393-are-there-specific-ble-heart-rate-sensor-devices-available-which-are-compatible-to-the-example-model?s_tid=prof_contriblnk

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 26, 2020, 03:26:32 am
content: Bluetooth LE SDK is available for Polar:https://www.mathworks.com/matlabcentral/answers/518074-is-there-an-example-how-to-connect-the-polar-oh1-bluetooth-low-energy-heart-rate-sensor-with-matlab?s_tid=prof_contriblnkand Stryd:https://www.mathworks.com/matlabcentral/answers/518075-is-there-an-example-how-to-connect-the-stryd-low-energy-foot-pod-sensor-with-matlab?s_tid=prof_contriblnk

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 26, 2020, 03:36:20 am
content: Keep Calm, Bluetooth Low Energy v5.0.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 27, 2020, 03:46:38 am
content: There is only a profile for heart rate in the Bluetooth 5.0 specification, not for speed and distance, as far as I know.A live stream for Garmin watches is not developed, and Garmin does not promote researchers to do develop it.There is a Bitalino Foot Pod. Bitalino has a Matlab toolbox and a bluetooth live stream. Software for a Foot Pod can be developed in Matlab, or one of the many other platforms which are supported by Bitalino.https://forum.bitalino.com/viewtopic.php?f=1&p=2191#p2191

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 27, 2020, 07:51:37 am
content: With Bitalino Biomedical Toolkit, it is possible to buld a sports watch with ECG heart rate and Bluetooth footpod with live stream of all sensor data over Bluetooth to Matlab or other Applications. This is a solution to get live stream sensor data until more attractive live streaming options for instance for Bluetooth 5.0 are available from Garmin or Polar.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 27, 2020, 12:27:26 pm
content: There is already an example in Matlab for step counting with the Beagle Bone Blue, which could also work as a real-time foot pod:https://www.mathworks.com/help/supportpkg/beagleboneblue/ref/counting-steps-using-beagleboneblue-hardware-example.htmlBut you probably need to have installed both Beagle Bone BLue and Software, before all links are workinghttps://www.mathworks.com/matlabcentral/answers/534838-broken-link-count-steps-using-mpu9250-sensor-of-beagleboneblue-hardware?s_tid=mlc_ans_email_view#comment_867918

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 27, 2020, 04:16:59 pm
content: Quick Tip from DC Rainmaker: Broadcast Garmin Optical HR to Apps Like Zwift // ANT & Bluetooth:

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 28, 2020, 08:07:46 am
content: To summarize:The Matlab BLE example requires Bluetooth 5.0. I could not find a heart rate sensor with Bluetooth 5.0. Maybe no additional software is needed when a device can be paired directly to a PC over Bluetooth 5.0. Polar devices are manly based on Bluetooth. Will Polar launch a new device with Bluetooth 5.0. soon? Or will a new Bluetooth 5.0 device only be launched, when the market is big enough for it?For Matlab and Python, I would choose for heart rate Bitalino ECG and for step rate BeagleBone Blue. For both devices there is already example code available in Matlab, and for both devices Python code libraries are also available.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 28, 2020, 09:09:11 am
content: Build your own sports watch with Bitalino and BeagleBone Blue.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 28, 2020, 10:01:02 am
content: Build your own sports watch with Bitalino and BeagleBone Blue, inspired by Seppo Säynäjäkanga's, the founder of Polar.Polar was founded in 1977 by Seppo Säynäjäkanga's, who worked at the University of Oulu on the developement of a heart rate monitor.He was inspired by talking to a trainer during a cross-country ski run in 1976. It was about using a measuring device that can be used not only for stationary training, but also on the body. Because the heart rate was still being measured on the finger at that time, the cabling was not given freedom of movement.Measurements where slow and and inaccurate. After intensive research and development, the world's first wireless heart rate monitor, the pulse monitor Sport Tester PE2000, came onto the market in 1982. The functionality has been continuously improved and the range of products.https://de.wikipedia.org/wiki/Polar_Electro

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 28, 2020, 06:54:03 pm
content: After all, times are getting better. The new Garmin HRM dual supports Bluetooth 5.0, and there is an example code in Matlab which is built for Bluetooth 5.0, so this should work together:https://www.mathworks.com/matlabcentral/answers/533393-are-there-specific-ble-heart-rate-sensor-devices-available-which-are-compatible-to-the-example-model?s_tid=prof_contriblnkBut this needs first to be confirmed.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 28, 2020, 09:02:47 pm
content: The World is your Venu™ (Garmin advertising) was yesterday. Build your own watch is today.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 29, 2020, 02:41:16 am
content: The idea of the whole world wearing the same sportswatch frightens me.In times of individualized society everbody should have the right to build his own sports watch, which fits for his needs.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 29, 2020, 04:26:28 pm
content: Does the Garmin HRM dual (Bluetooth 5.0) work with Matlab BLE example?https://www.mathworks.com/matlabcentral/answers/533393-are-there-specific-ble-heart-rate-sensor-devices-available-which-are-compatible-to-the-example-model?s_tid=prof_contriblnkA PhD. Software engineer is wanted to participate and test the Matlab BLE example.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 31, 2020, 03:38:28 pm
content: A solution which is a little bit easier is the new Pyloton Cycling Computer, an open source cycling computer that displays heart rate, speed, cadence, and song playback info.https://learn.adafruit.com/pylotonI was looking at the instruction, which is excellent, and I suppose it shoud be possible to connect the Pyloton over micro usb to Matlab or Pyton. Tere is a component of the Pyloton which is Arduino compatible and has a usb port.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 31, 2020, 08:37:50 pm
content: PYLOTON,open source bike computer, derived from Pedolon (streaming fitness classes to you live and on-demand), and Python.Pyloton has circuit Python language, firmware upgrade over usb, sensors are recognized in the Adafruit app, mounting system, mounting of sensors:

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: May 31, 2020, 11:13:55 pm
content: PYLOTON open source bike computer, no Azure cloud, no ANT+ stick, no Phd. computer engineer necessary to stream BLE sensor data to Matlab or Python.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 01, 2020, 06:13:56 am
content: What I miss on the PYLOTON open source bike computer is a real-time data aquisition software. To my knowledge, there is no real-time data aquisition system available for sporting activities to this date, exept for Equivital's wireless physiological monitoring system from Adinstruments, which is very expensive and has a short warranty time. Also it' s difficult to access raw data from sporting activies for instance from Garmin watches. Integration of the Pyloton Open Source Cycling Computer into OpenSignals could solve this problem.https://forum.bitalino.com/viewtopic.php?f=19&t=610Or a Windows Python project for the PYLOTON with graphs, plots and data in an easy accessible way.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 02, 2020, 05:27:20 am
content: Seven pages of Blog (Azure Cloud & ANT+ stick solution taken together) to stream Garmin ANT+ sensor data to a PC. Is there an instruction among these different kind of possibilities which is attractive to somone?55 pages of instruction for the Pyloton Open Source Bike computer , and you are there (55 pages of PDF printout instruction).The only problem which is not descripted is how to read out sensor data from the Pyloton usb port. But this should be possible, i see no reason why this should not work. There are many instructions for Matlab or Python how to read out data from an Arduino, and the Pyloton is Arduino compatible.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 06, 2020, 04:10:03 am
content: It is difficult to access raw data from a Garmin watches, either in real time, but also post processing. I ll choose the following setup. I will use a Polar OH1 and a Stryd foot pod to aquire sensor data for post processing purposes. Both are litte controversial for it s accuracy.Data scientist Max Candocia has developed a great python script how to pull out raw data from Garmin .fit files with their intransparent file structure:https://www.thisisant.com/forum/viewthread/7358/Who knows better than a Data Scientist how to pull out data from a Garmin watch? I will follow Max Candocias way.Garmin watches and also other sports watches are not built to access sensor data in real time. This can be solved by the new Pytolon BLE open source bike computer. But it is currently something for developers:https://github.com/PeterGamma/Pyloton-CircuitPython-Cycling-ComputerTo access sensor data in real time has the advantage, that it is possible to choose your own file format. To get real time heart rate data I will choose Bitalino ECG:https://plux.info/bundles/428-bitalino-revolution-heartbit-bt.htmlIt is easy to get real time data from Bitalino ECG; for instance in Bitalino s Matlab Toolbox.https://www.mathworks.com/matlabcentral/fileexchange/53983-bitalino-toolboxFor step counting I will choose the BeagleBone Blue. There is already an example which is working:https://www.mathworks.com/help/supportpkg/beagleboneblue/ref/counting-steps-using-beagleboneblue-hardware-example.htmlThe BeagleBone Blue is not optimal for step counting. Who wants to mount an energy hungry Linux computer on their foot, which not even has an HDMI out for testing? Migration of the step counting software to a Bitalino solution could solve this problem:https://forum.bitalino.com/viewtopic.php?f=1&p=2213&sid=cd8471bbf27ab54828b1b5a236df68c1#p2213

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 06, 2020, 11:36:07 pm
content: The accuracy of the Bitalino low cost biomedical toolkit has already been compaired to a standard deivce and is published. When using this setup of sensors, the accuracy of already tested sensors can be checked:https://forum.bitalino.com/viewtopic.php?f=12&p=2211#p2211

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 06, 2020, 11:39:30 pm
content: I have put together all the links of the discussed components and pasted them in .readme file on my Github, to contribute to it s further developement:https://github.com/PeterGamma

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 07, 2020, 12:09:50 am
content: There are alternatives to ANT+ sticks, Microsoft Azure Clouds, Linux Virtual Boxes running in Windows using Python ANT+, which costs less or are easier to handle.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 07, 2020, 12:38:43 am
content: Who does not want a device which can be plugged into a PC and shows the heart rate of your Garmin watch? I wonder why it does not already exist. I don t know whether it is possible to make money out of it. But for a software developer it is an easy job. But the information how to do it is not easy to find.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 07, 2020, 03:54:22 pm
content: Bitalino OpenSignals has the option for Lab Streaming Layer LSL. LSL is a well documented standard. This allows easy sensor streaming to other applications with LSL support, for instance Python.In this way a Bitalino real time system (ECG and foot pod), which are essential components of a activity tracking system can be made real without Matlab.https://downloads.plux.info/OpenSignals/opensignals_lsl_guide.zip

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 07, 2020, 08:10:22 pm
content: I downloaded OpenSignals from Bitalino. It has an option to switch on LSL, which can be received in Python. It has also an option for TCP/IP to switch on. There is a documentation available in OpenSignals for both options. These two options are only available in OpenSignals for Desktop, but not in OpenSignals mobile, which I also downloaded. No live streaming options can be choosen in OpenSignals mobile.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 08, 2020, 02:53:00 am
content: If you don t want to carry arround a laptop all the time for data aquisition, the android application a training trackerhttps://play.google.com/store/apps/details?id=com.atrainingtrackercan record ANT and BLE sensor data directy to csv.CSV data can directly be opened on the smartphone with Planmaker from Softmakerhttps://play.google.com/store/apps/details?id=softmaker.applications.planmaker.hdYou can add user comments to the .csv data on the smartphone in this way, store them, and then process the data further for instance in Microsoft Access.I had to make a hard reset every time I changed to a new heart rate sensor with a training tracker. But using always the same heart rate sensor, for instance a chest strap, or different smart phones for different sensors could solve the problem.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 08, 2020, 03:03:25 am
content: The same should be possible in OpenSignals mobile for Bitalinohttps://play.google.com/store/apps/details?id=info.plux.opensignalsmobileOpenSignals mobile can record Bitalino data directly to .txt files on the smartphone, where they should also be opened by Planmaker mobile from Softmaker.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 08, 2020, 03:23:33 am
content: To control user data to see whether it is possible to make money out of it is out.The user data belong to the user. Give free access to those data.CSV or TXT format instead of .fit file format which can only be accessed easily by companies.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 08, 2020, 03:40:39 am
content: Also use BLE sensorsinstead of ANT sensorsif you want to access your data on a PC. There are hardly any PC applications which can process ANT sensor data in real time. BLE is more widespread, for instance for video streaming. More and more software will be available for BLE.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 08, 2020, 04:00:43 am
content: Why to use a special ANT+ standard, and why to use a .fit file format? Why not use BLE sensors instead, and record data in a file format which can also be processed by Data Analysis software like Matlab?

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 08, 2020, 04:33:38 am
content: A file format which can be accessed by Matlab, Excel or other standard software, and does not need special converter software from a Data Scientist before it has a clear and transparent data structure.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 08, 2020, 06:48:33 am
content: To find the .csv generated by a training tracker is a bit tricky. First, you have to tick on in a training tracker, that you want .csv. Only then a folder is generated. I could find the folder with the .csv by connecting my Galaxy S5 to the PC, and then seraching for .csv files on the phone.This PC\Galaxy S5\Phone\Android\data\com.atrainingtracker\files\CSVOnce you got the .csv files, they are very clear. A clear time stamp, a clear data structure. Similar to the data struture generated by Data Scientist Max Candocias .fit to .csv Python script.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 08, 2020, 08:45:54 am
content: My goal is to replace ANT+ sensors, .fit file format, and Garmin Connect by alternative products. The world whould be a much better place for people who love their data and want free and easy access to it,with good alternatives to those products.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 08, 2020, 09:14:10 am
content: With a setup of Polar OH1 connected to a Garmin watch, Polar H7 connected to a training tracker, and Bitalino ECG connected to OpenSignals or OpenSignals mobile, you can record three heart rate sensors simultaneously, which are already tested for their accuracy by scientific methods, and you are able to compare your recordings to the scientific data.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 08, 2020, 10:33:28 am
content: Garmin has an activity tracking system wich monitors 24h 7d heart rate, steps, sleep duration, etc. But it is not satisfying for me personally, since quantification with the system from Garmin is very limited. A system with more accurate sensors would be desirable. And also a streaming system over an MQQT brocker, for easy access of data. All components are available, but needs to be developed.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: July 12, 2020, 07:15:12 pm
content: There is no solution, which is satisfying for all needs. I suggest:1. For a live-stream with real-time processing, choose Bitalino ECG with Matlab Toolbox:https://www.mathworks.com/matlabcentral/fileexchange/53983-bitalino-toolboxor another live streaming option which is available from the Bitalino APIs.2. The android application a training tracker can record directly to .csv format. I managed to get a stable recording with Polar h7.https://www.thisisant.com/forum/viewthread/7363/3. For post-processing use a Garmin watch paired for instance to a Polar OH1 sensor for accuracy reasons. Data can be converted after recording by Data Scientist Max Candocias .fit to csv Python script:https://www.thisisant.com/forum/viewthread/7358/

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: July 15, 2020, 08:22:13 am
content: These solutions are ready to go, and don t need developement.Live streaming solution wich I propose and need a bit of developement, or at least copy and pasting scripts together are the following:ANT+ sensors:A real-time stream from ANT+ sensors could be obtained by a Raspberry Pi Ant+ script which sends sensor data to a MQTT-Brokerhttps://www.thisisant.com/forum/viewthread/7360/this could be done on a Pinephone:https://www.thisisant.com/forum/viewthread/7372/BLE sensors:This can be done by the Pyloton open source bike computer:https://forums.adafruit.com/viewtopic.php?f=65&t=166045The Pyloton software could also run on a Pinephone:https://forum.pine64.org/showthread.php?tid=10172

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: July 20, 2020, 09:56:47 pm
content: Since my escape from the Garmin forum to the EEV Blog due to Garmin moderators which where not open to criticism, the Garmin forum has reached it s lowest level. Arbitary deletion of my posts and arbitrary inactivation of my account:https://forums.garmin.com/developer/connect-iq/f/discussion/233663/how-can-a-login-again-to-my-garmin-forum-accountTime to escape permanently from the Garmin forum.