GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform - Page 1
Forum section: electronics / general

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 13, 2019, 04:49:18 pm
content: I m looking for a solution for a live-stream from Garmin watches to MATLAB, Python or other Desktop applications. I found the project from Dave Lusty, who works for Microsoft UK.Here are threads in the GARMIN forum about this subject:https://forums.garmin.com/developer/connect-iq/f/discussion/209439/eventhubapphttps://forums.garmin.com/developer/connect-iq/f/discussion/8077/sending-sensors-data-to-pc/976852?focus=trueThe GARMIN watch - ConnectIQ-Watch-IoT - solutions depends on the Microsoft Azure Platform.It is possible to get an Azure free account starting with 12 months of free services:https://azure.microsoft.com/en-us/free/search/?&ef_id=EAIaIQobChMIxNWbwtay5gIVWODtCh2DEAlHEAAYASAAEgJARPD_BwE:G:s&OCID=AID2000121_SEM_oVxkVMom&MarinID=oVxkVMom_369075826040_%2Bazure%20%2Bmicrosoft_b_c__78092043804_kwd-22984673891&lnkd=Google_Azure_Brand&dclid=CJLxn8jWsuYCFWnDuwgd4HUNGQThis includes $200 credit to explore any Azure service for 30 days. That's confusing. Has someone experience with the Azure Platform pricing model? What happens after the 30 days of the 12 months of free services period?

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 13, 2019, 06:33:08 pm
content: Does that mean that after 30 days, outbound data transfers going out of Azure data centers has to be paid for:https://azure.microsoft.com/en-us/pricing/details/bandwidth/?First 5 GB /Month of outbound data transfer is free.Is it possible to get more than 5 GB of data transfer per month with a GARMIN watch, e.g. when the watch is running 24 * 7, the way mine does normally?

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 13, 2019, 08:58:08 pm
content: Does someone understand the following statements from:https://azure.microsoft.com/en-us/free/search/?&ef_id=EAIaIQobChMIxNWbwtay5gIVWODtCh2DEAlHEAAYASAAEgJARPD_BwE:G:s&OCID=AID2000121_SEM_oVxkVMom&MarinID=oVxkVMom_369075826040_%2Bazure%20%2Bmicrosoft_b_c__78092043804_kwd-22984673891&lnkd=Google_Azure_Brand&dclid=CJLxn8jWsuYCFWnDuwgd4HUNGQWhat can I do with my free account?With your Azure free account, you get all of this—and you won’t be charged until you choose to upgrade12 months of popular free services +$200 credit to explore any Azure service for 30 days +Always free 25+ services?

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 13, 2019, 09:44:31 pm
content: In the Azure free account FAQ:https://azure.microsoft.com/en-us/free/free-account-faq/There is a long list of features which are free for 12 month, but thery are limited.I still cannot see it through what that means for my simple GARMIN watch. Are there any limitations which might be critical for a simple GARMIN watch user?

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 14, 2019, 12:10:36 am
content: After a failure to use livetracking.io to for a live-stream from Garmin watches to MATLAB, Python or other Desktop applications:https://github.com/PeterGamma/What-happened-to-livetrack.io-I found this new project from Dave Lusty:https://sqlbits.com/Speakers/Dave_Lustyhttps://www.youtube.com/channel/UCfPEiDVbqZuwWWlUngDitCg/abouthttps://github.com/davedoesdemos/DemoIndex#garmin-app-and-demo-seriesGARMIN watches have heart rate sensors which are little controversial compared to heart rate sensors of other watches, e.g. the heart rate sensors of current Amazfit watches. Reviewers recommended to use an external heart rate sensor for applications with fast movements for Amazfit watches:What is missing is an interface to use those watches for desktop applications.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 14, 2019, 05:06:59 am
content: - Dave Lustys project only works with newer GARMIN watches, starting with the Forerunner® 245 for 300 USD. A GARMINwatch which costs less and suports this feature is not available.- There is a Home Version of Matlab, and more and more data analysis libraries are available also in Python- ConnectIQ-Watch-IoT only works with Microsoft Azure Platform, which starts at 13 USD per month.- The connect IQ is the part of the code of GARMIN watches which can be modified by the user.- The EventHubApp is free and open source.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 14, 2019, 08:55:08 am
content: Here are the solutions which are/where available for GARMIN watches for a live-stream of sensor data to desktop applications:1. there was a live-stream solution from old-man biking:https://www.thisisant.com/forum/viewthread/544/2. there is a live-setup in GoldenChetaah:https://groups.google.com/forum/#!topic/golden-cheetah-users/Gn2fOxUqTFkI tried to continue my thread in the GoldenChetaah user group. But my contribution was not published. Does the GoldenChetaah useer group responsible decide which contributions are published, and which contributions are not published?3. There is "virtual power" for bicycle turbo trainers . For live-streaming of ANT+ sensor data to PC applications like Matlab, Python or other applications, modify the example "virtual power" for bicycle turbo trainers :https://github.com/dhague/vpowerwhich runs on a Raspberry Pi, Linux and on a virtual machine running in Windows.4. There was livetracking.iohttps://github.com/PeterGamma/What-happened-to-livetrack.io-/blob/master/README.md5. Solutions from THIS IS ANT+«Most of the latest tools we offer directly for desktop development are written in "C" languages (C, C++, C#)»https://www.thisisant.com/forum/viewthread/6429/6. There where other options for a live-stream which are not available anymore:https://www.thisisant.com/forum/viewthread/544/7. Solutions for Raspberry PiTrack Your Heartrate on Raspberry Pi with Ant+https://johannesbader.ch/blog/track-your-heartrate-on-raspberry-pi-with-ant/8. GARMIN watch - ConnectIQ-Watch-IoTwhich requires Microsoft Power B and the Microsoft Azure Platformhttps://forums.garmin.com/developer/connect-iq/f/discussion/209439/eventhubapp9. Ant+ USB with LabVIEW- someone did this 2014https://forums.ni.com/t5/LabVIEW/Ant-USB-with-LabVIEW/td-p/3012979?profile.language=enand there where some troubles with it 2018, and someone suggested a solution in 2019-https://www.thisisant.com/forum/viewthread/7035/

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 14, 2019, 12:32:30 pm
content: Me personally, I prefer a solution to stream sensor data to Matlab, Python or other desktop applications1) which is free and2) is platform independentConnectIQ-Watch-IoT depends on the Microsoft Azure Platform.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 14, 2019, 01:46:41 pm
content: From the OpenBCI documentation:"Lab streaming layer is a system for synchronizing streaming data for live analysis or recording. LSL is a good way to send your OpenBCI stream to applications that can record or manipulate the data, such as Matlab (see our Matlab tutorial for using LSL in this context).09.08.2019"https://docs.openbci.com/docs/06Software/02-CompatibleThirdPartySoftware/LSLThe EventHubApphttps://apps.garmin.com/en-US/apps/b27ddfe5-e5f7-4754-94ce-ce3007fe49b9depends on the Microsoft Azure Platform and uses Azure Event Hubs as a data streaming platform.There are LSL interfaces available for MATLAB and Python, and LSL can also be integrated in other desktop applications.Can the LSL code be integrated in Dave Lustys POWER BI GARMIN front-end?If so, Dave Lustys POWER BI GARMIN front-end:1. can be used for a live-stream of sensor data to Matlab2. an be used for a live-stream of sensor data to Python3. can be used for a live-stream to other deskop applications by integrating LSL in these apps.There is a support from LSL (community, Mailing list) which supports developers to integrate LSL in applications.https://labstreaminglayer.readthedocs.io/

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 14, 2019, 02:02:58 pm
content: Integrating of Lab streaming layer LSL in Dave Lustys solution would give a Matlab interface, a Python interface, and a interface to other applications with a LSL interface, but the dependency from the Microsoft Azure Platform is still there.1. Can a solution be created wich is independent from the Microsoft Azure Platform?2. Does Microsoft offer a free version of the Microsoft Azure Platform to stream sensor data to Matlab, Python or other applications?

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 14, 2019, 02:08:07 pm
content: Microsoft, make the Microsoft Azure Platform free from "Highway Taxes" for streaming sensor data to MATLAB, Python. or other desktop applications. Microsoft risks to loose those costumers by charging "Highway Taxes".

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 15, 2019, 05:53:46 pm
content: Quote by lustyd, developer of the EventHubApp:"Yes you can use any REST API endpoint as a target".https://forums.garmin.com/developer/connect-iq/f/discussion/209439/eventhubapp/985750?focus=trueMATLAB can handle with REST APIs .https://ch.mathworks.com/help/thingspeak/rest-api.html

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 17, 2019, 08:13:43 am
content: Good news for programmers, bad new for people like me with skills in scripting and debugging of MATLAB scripts and scripts of other applications.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 17, 2019, 11:06:56 pm
content: For writing scripts, Ant+ USB with LabVIEW is available. LabVIEW uses a graphical programming language, often called "G," to create programs in a pictorial form.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 18, 2019, 12:40:32 am
content: ANT+ Toolkit for LabVIEW:http://inusolutions.com/ant-toolkit/Single Profile€500ANT+ Toolkit€1000ANT-FS AddOn€0TBA coming soonThe ANT+ Toolkit for LabVIEW is $1,500.00,https://sites.fastspring.com/inusolutions/product/anttoolkitforlabviewAnd there seems to be also a trial version:https://www.thisisant.com/forum/viewthread/7035/What is ther difference between those AddOn an Toolkits? For me personally, it s confusing.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 18, 2019, 06:07:52 am
content: It should be possible to use the "virtual power" for bicycle turbo trainers running in Ubuntu 16.04 (PC) and on Debianhttps://github.com/dhague/vpoweras a template to read HR datahttps://www.thisisant.com/forum/viewthread/6665/Hi Thomas,I did a project over the holidays to use Python with a Raspberry Pi and ANT+ stick to read bicycle speed and write bicycle power.You should be able to use it as a template to read HR data by reading the ANT+ HR profile spec and adapting the SpeedCadenceSensorRx.py code to suit.Here's the project if you want to try it out:https://github.com/dhague/vpowerGood luck,DarrenHi Darren,Thanks a lot for that link, I'll give it a go! I assume you didn't have to create a udev rule or anything like that, just plug the ANT+ USB stick in?Cheers,ThomasYes, exactly - in Ubuntu 16.04 (PC) and on Debian Jessie (Pi) it just worked, no udev rules. I did have to run the program with "sudo" though.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 18, 2019, 07:32:02 am
content: Supported Operating Systems for Intel® Compute Sticks:https://www.intel.com/content/www/us/en/support/articles/000005899/intel-nuc/intel-compute-sticks.htmlIntel® Compute Stick Models / Customer-reported OSsSTK2m3W64CC Ubuntu* 16.xxSTK1A32SC Linuxium* UbuntuSTCK1A32WFC LinuxiumSTCK1A8LFC Linuxiumhttp://linuxiumcomau.blogspot.com/2017/06/customizing-ubuntu-isos-documentation.htmlMATLAB is also available for Linux 32 bit and should work on Intel® Compute Sticks.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 18, 2019, 08:21:25 am
content: Is MATLAB supported on 32-bit Linux?Versions of MATLAB prior to R2012a are fully supported on 32-bit Linux.After R2012a, MATLAB is no longer supported on 32-bit Linux. Newer release of MATLAB are not available for 32-bit Linux.For more details, see the system requirements page for more information:http://www.mathworks.com/support/sysreq/current_release/https://ch.mathworks.com/matlabcentral/answers/222489-is-matlab-supported-on-32-bit-linux

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 18, 2019, 09:06:19 am
content: System Requirements - Matlab Release 2012bUbuntu 11.10 and 12.04 LTSRed Hat Enterprise Linux 5.x and 6.xSUSE Linux Enterprise Desktop 11.x Debian 6.x Any Intel or A 1024 MBAt least 2048 MB RAM recommendedhttp://www.cc.iitd.ac.in/CSC/images/pdfs/req.pdfIntel® Compute Stick STK1A32SC HAS 2GB memory and should work:https://ark.intel.com/content/www/us/en/ark/products/91064/intel-compute-stick-stk1a32sc.html

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 18, 2019, 09:21:04 am
content: MATLAB can also run in the the Cloud with Microsoft Azure:https://ch.mathworks.com/de/videos/how-to-run-matlab-in-the-cloud-with-microsoft-azure-1542633563140.htmlBut this makes sense only for programmers which can handle with REST APIs

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 18, 2019, 09:38:23 am
content: There is no interface published yet between:the GARMIN connect IQ EventHubAppandMATLAB REST API endpoint as a target.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 18, 2019, 09:55:52 am
content: For a mobile solution, an alternative to the Intel® Compute Stick could be a Jumper Ezbook 3 pro notebooks with 4 GB RAM & 64 bit OS (minimal requirement for most Matlab editions). Ubuntu can be installed on the Jumper EZBook 3:https://techtablets.com/forum/topic/how-to-install-ubuntu-17-10-on-jumper-ezbook-3-pro-v4/

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: December 18, 2019, 12:48:01 pm
content: I continue the part which is notGARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure PlatformbutGARMIN watch- ANT+ stick- virtual boxhere:https://www.eevblog.com/forum/cloud-computing/live-stream-from-garmin-watches-via-ant-stick-virtual-box-(evtl-coud-iot)/to keep those two path separate.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: January 22, 2020, 06:58:06 pm
content: Quote from: Peter Gamma on December 14, 2019, 12:10:36 amFrom a accuracy point of view, the Polar OH1 is worth looking at, see the discussion forum here:https://the5krunner.com/2019/04/06/polar-oh1-review-2019/#PRICING_AVAILABILITY_Polar_OH1_Review

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: January 22, 2020, 07:34:06 pm
content: Quote from: Peter Gamma on December 18, 2019, 09:55:52 amOr a virtual machine running in windows:https://itsfoss.com/install-linux-in-virtualbox/an instruction how to clone the OS to a faster SSD can be found here:compatible SSDs can be found here:https://techtablets.com/forum/topic/ssds-compatible-with-ezbook-3-pro/page/6/

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: January 23, 2020, 09:08:06 pm
content: There is also a discussion how to stream ANT+ sensor data to MATLAB in the MATLAB cummunity:https://www.mathworks.com/matlabcentral/answers/142677-capturing-heart-rate-from-usb-ant-dongle-and-chest-strapNo easy, low-cost and high quality solution to this date. Although such solutions are possible.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: January 24, 2020, 05:29:17 am
content: Alternatives to the streaming server:https://livetracking.io/to MATLAB are very very expensive.https://github.com/PeterGamma/What-happened-to-livetrack.io-https://forums.garmin.com/developer/connect-iq/f/discussion/209486/build-new-livetracking-io-service-form-old-livetracking-io-components

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: January 24, 2020, 11:16:34 am
content: For a live-stream of sensor data from a GARMIN watch to MATLAB, those options are / were available:1.https://livetracking.io/which according to Niels Kielinga. «yes, this should work»b. and «was a free and open source» service2.Dave Does Demos Demo solution (Dave Lusty who works for Microsoft UK)https://forums.garmin.com/developer/connect-iq/f/discussion/209439/eventhubappwhich can stream sensor data from a GARMIN watch to Microsoft Power BI. But streaming from Microsoft Power BI to MATLAB only works with MATLAB production server, which is according to the MATLAB community «expensive». For a price request a quote.3.A Linux MATLAB version running in a virtual box in windowshttps://www.eevblog.com/forum/cloud-computing/live-stream-from-garmin-watches-via-ant-stick-virtual-box-(evtl-coud-iot)/this option has no streaming server and uses an ANT+ stick. There is no smartphone buffer to this system.A direct sensor stream without interruption is necessary betwen a GARMIN watch and a PC or mini PC:

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: January 24, 2020, 05:47:15 pm
content: Here is a Lab Streaming Layer (LSL) Tutorial for Windows:https://ws-dl.blogspot.com/2019/07/2019-07-15-lab-streaming-layer-lsl.htmlIs it possible to integrate LSL into Microsoft Power BI? Is LSL streaming sensor data from Microsoft Power BI to MATLAB possible ?

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: January 24, 2020, 09:56:13 pm
content: Also the Microsoft Power BI forum is not free:https://community.powerbi.com/t5/Developer/Power-BI-integration-with-MatLab/td-p/424467A work or school email address is necessary to sign up:https://docs.microsoft.com/en-us/power-bi/service-self-service-signup-for-power-bi

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: January 24, 2020, 10:18:31 pm
content: The MATLAB forum is open minded. You don t need MATLAB to post there.In the XDA Developer forum, at least eight helpful posts are necessary before it is possible to be a developer there. I miss for instance a company independed GARMIN watch section there. I tried to create one, but failed because I created too little helpful posts to this date.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: January 25, 2020, 08:32:31 pm
content: How to Use the expensive MATLAB Production Server Interface for Microsoft Power BI Software:https://www.mathworks.com/videos/how-to-use-matlab-production-server-interface-for-microsoft-power-bi-software-1537959094440.htmlfor MATLAB Production Server request a quote from MATLAB.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: January 26, 2020, 02:34:30 pm
content: A straightforward solution would be:1. Labstreaming layer support for the GARMIN watch2. a Windows Python Library for the GARMIN watchwhere every user is free which application to choose for his needs.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: January 26, 2020, 06:06:19 pm
content: EEVblog – No Script, No Fear, All Opinion.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: March 06, 2020, 01:04:45 pm
content: A solution which is ready to go for live-stream data is Scott Hardens HARDEN TECHNOLOGY CHANNEL RECORDER:

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: March 06, 2020, 01:14:10 pm
content: To stream data from Scott Hardens recorder to a MATLAB or PYTHON project is already described:https://www.eevblog.com/forum/testgear/light-weight-usb-oscilloscope-with-matlab-support/msg2446242/#msg2446242

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: March 06, 2020, 06:00:55 pm
content: Scotts channel recorder is ready to go. It only needs soldering.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 07, 2020, 04:09:52 am
content: I did not get the EventHubApp working:https://apps.garmin.com/de-DE/apps/b27ddfe5-e5f7-4754-94ce-ce3007fe49b9and no one confirmed that he managed to get it to work:https://forums.garmin.com/developer/connect-iq/f/discussion/209439/eventhubapp/985907I did not spend much time trying to get it to work, since there where other options more attractive for me personally.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 07, 2020, 04:36:48 am
content: I did not test an ANT stick solution to stream sensor data to a PC. I could not find a product or an open source solution for an ANT stick that is available and is confirmed that it is working.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 07, 2020, 04:39:47 am
content: The solution from THIS IS ANT with an ANT stick was not attractive for me personally, for the same reasons the EventHubApp was not attractive for me personally.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 07, 2020, 04:45:31 am
content: Bitalino ECG for instance can be paired in an easy way via Bluetooth to a PC, and there are no monthly fee s to pay for this streaming service.

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 07, 2020, 05:04:25 am
content: Quick Tip from DC Rainmaker: Broadcast Garmin Optical HR to Apps Like Zwift // ANT & Bluetooth:Matlab supports BLE, but I could not find an example of someone confirming that BLE streaming to Matlab is working: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_contriblnk

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 07, 2020, 06:41:29 am
content: i could not find an example code for an ANT stick or the EventHubApp which shows that it is working with Matlab. Bitalino has an example code for MatlabExample of Measuring Heart Rate from Acquired ECG Signalshttps://www.mathworks.com/matlabcentral/fileexchange/53983-bitalino-toolbox

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 07, 2020, 07:05:06 am
content: I could not find an example which demonstrates that a Garmin watch, an ANT stick, or the Microsoft Azure Cloud EventHubApp works with Python. Bitalino has APIs for many different kinds of applicationshttps://bitalino.com/en/development/apis

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 07, 2020, 07:17:14 am
content: I put links to available options herehttps://github.com/PeterGamma

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 08, 2020, 12:05:44 pm
content: Dave Does Demos (Dave Lusty from Microsoft UK) slogan “Keep Calm, Microsoft Azure” (more is not to be seen from Daves T-Shirt. What does Dave hide on his T-shirt?) was not convincing to me personally:Dave published this video shortly after I gave him a negative feedback for the EventHubApp in the Garmin App store:https://apps.garmin.com/de-DE/apps/b27ddfe5-e5f7-4754-94ce-ce3007fe49b9Nobody else wrote something about the EventHubApp, and nobody confirmed, that the EventHubApp is working, and nobody gave a positive feetback about the EventHubApp.Is Dave not open to criticism?

author: Peter Gamma
author_rank: Frequent Contributor
timestamp: June 08, 2020, 07:58:15 pm
content: Next the Microsoft Azure Cloud, there are now also options available for ANT and BLE sensors to stream to an MQQT Brocker. What is the difference between an Microsoft Azure EventHub and an MQQT Brocker?