Author Topic: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform  (Read 2638 times)

0 Members and 1 Guest are viewing this topic.

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« on: December 13, 2019, 04:49:18 pm »
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/eventhubapp

https://forums.garmin.com/developer/connect-iq/f/discussion/8077/sending-sensors-data-to-pc/976852?focus=true

The 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=CJLxn8jWsuYCFWnDuwgd4HUNGQ

This 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?


 
« Last Edit: December 14, 2019, 11:18:39 am by Peter Gamma »
 

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
Re: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« Reply #1 on: December 13, 2019, 06:33:08 pm »
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?

« Last Edit: December 14, 2019, 12:24:54 pm by Peter Gamma »
 

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
Re: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« Reply #2 on: December 13, 2019, 08:58:08 pm »
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=CJLxn8jWsuYCFWnDuwgd4HUNGQ

What 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 upgrade

12 months of popular free services +

$200 credit to explore any Azure service for 30 days +

Always free 25+ services

?

 

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
Re: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« Reply #3 on: December 13, 2019, 09:44:31 pm »
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?
 
 

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
Re: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« Reply #4 on: December 14, 2019, 12:10:36 am »
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_Lusty

https://www.youtube.com/channel/UCfPEiDVbqZuwWWlUngDitCg/about

https://github.com/davedoesdemos/DemoIndex#garmin-app-and-demo-series

GARMIN 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.
« Last Edit: December 15, 2019, 05:43:44 am by Peter Gamma »
 

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
Re: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« Reply #5 on: December 14, 2019, 05:06:59 am »
-  Dave Lustys project only works with newer GARMIN watches, starting with the Forerunner® 245 for 300 USD. A  GARMIN 
    watch 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.

« Last Edit: December 15, 2019, 02:21:48 pm by Peter Gamma »
 

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
Re: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« Reply #6 on: December 14, 2019, 08:55:08 am »
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/Gn2fOxUqTFk

I 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/vpower

which runs on a Raspberry Pi, Linux and on a virtual machine running in Windows.


4. There was livetracking.io

https://github.com/PeterGamma/What-happened-to-livetrack.io-/blob/master/README.md


5. 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 Pi

Track Your Heartrate on Raspberry Pi with Ant+

https://johannesbader.ch/blog/track-your-heartrate-on-raspberry-pi-with-ant/


8. GARMIN watch - ConnectIQ-Watch-IoT

which requires Microsoft Power B and the Microsoft Azure Platform

https://forums.garmin.com/developer/connect-iq/f/discussion/209439/eventhubapp


9. Ant+ USB with LabVIEW
 
- someone did this 2014

  https://forums.ni.com/t5/LabVIEW/Ant-USB-with-LabVIEW/td-p/3012979?profile.language=en

  and there where some troubles with it 2018, and someone suggested a solution in 2019

- https://www.thisisant.com/forum/viewthread/7035/



« Last Edit: December 27, 2019, 02:44:15 pm by Peter Gamma »
 

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
Re: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« Reply #7 on: December 14, 2019, 12:32:30 pm »
Me personally, I  prefer a solution to stream sensor data to Matlab, Python or other desktop applications
   
     1) which is free and
     2) is platform independent

ConnectIQ-Watch-IoT depends on the Microsoft Azure Platform.
« Last Edit: December 15, 2019, 05:48:17 am by Peter Gamma »
 

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
Re: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« Reply #8 on: December 14, 2019, 01:46:41 pm »
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/LSL

The EventHubApp

https://apps.garmin.com/en-US/apps/b27ddfe5-e5f7-4754-94ce-ce3007fe49b9

depends 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 Matlab
2. an be used for a live-stream of sensor data to Python
3. 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/

« Last Edit: December 15, 2019, 10:24:46 am by Peter Gamma »
 

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
Re: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« Reply #9 on: December 14, 2019, 02:02:58 pm »
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?
« Last Edit: December 15, 2019, 07:32:00 am by Peter Gamma »
 

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
Re: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« Reply #10 on: December 14, 2019, 02:08:07 pm »
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".
« Last Edit: December 15, 2019, 01:39:37 pm by Peter Gamma »
 

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
Re: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« Reply #11 on: December 15, 2019, 05:53:46 pm »
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=true

 MATLAB can handle with REST APIs .

https://ch.mathworks.com/help/thingspeak/rest-api.html
« Last Edit: December 17, 2019, 08:36:40 am by Peter Gamma »
 

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
Re: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« Reply #12 on: December 17, 2019, 08:13:43 am »
Good news for programmers, bad new for people like me with skills in scripting and debugging of MATLAB scripts and scripts of other applications.
« Last Edit: December 17, 2019, 08:15:26 am by Peter Gamma »
 

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
Re: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« Reply #13 on: December 17, 2019, 11:06:56 pm »
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  :bullshit:.
 

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
Re: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« Reply #14 on: December 18, 2019, 12:40:32 am »
ANT+ Toolkit for LabVIEW:

http://inusolutions.com/ant-toolkit/

Single Profile
€500

ANT+ Toolkit
€1000

ANT-FS AddOn
€0TBA coming soon

The ANT+ Toolkit for LabVIEW is $1,500.00,

https://sites.fastspring.com/inusolutions/product/anttoolkitforlabview

And 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.
« Last Edit: December 20, 2019, 09:08:58 am by Peter Gamma »
 

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
Re: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« Reply #15 on: December 18, 2019, 06:07:52 am »
It should be possible to use the "virtual power" for bicycle turbo trainers running in Ubuntu 16.04 (PC) and on Debian https://github.com/dhague/vpower as a  template to read HR data

https://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/vpower

Good luck,

Darren

Hi 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,

Thomas
Yes, 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.
 

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
Re: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« Reply #16 on: December 18, 2019, 07:32:02 am »
Supported Operating Systems for Intel® Compute Sticks:

https://www.intel.com/content/www/us/en/support/articles/000005899/intel-nuc/intel-compute-sticks.html

Intel® Compute Stick Models / Customer-reported OSs   

STK2m3W64CC   Ubuntu* 16.xx   
STK1A32SC        Linuxium* Ubuntu   
STCK1A32WFC    Linuxium   
STCK1A8LFC       Linuxium

http://linuxiumcomau.blogspot.com/2017/06/customizing-ubuntu-isos-documentation.html

MATLAB is also available for Linux 32 bit and should work on Intel® Compute Sticks.
 

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
Re: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« Reply #17 on: December 18, 2019, 08:21:25 am »
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
 

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
Re: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« Reply #18 on: December 18, 2019, 09:06:19 am »
System Requirements -  Matlab Release 2012b

Ubuntu 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 MB

At least 2048 MB  RAM recommended

http://www.cc.iitd.ac.in/CSC/images/pdfs/req.pdf

Intel® 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
 

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
Re: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« Reply #19 on: December 18, 2019, 09:21:04 am »
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.html

But this makes sense only for programmers which can handle with REST APIs
 

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
Re: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« Reply #20 on: December 18, 2019, 09:38:23 am »
There is no interface published yet between:


the GARMIN connect IQ EventHubApp

     and

MATLAB REST API endpoint as a target.
 

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
Re: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« Reply #21 on: December 18, 2019, 09:55:52 am »
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/

 
 

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
Re: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« Reply #22 on: December 18, 2019, 12:48:01 pm »
I continue the part which is not

GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform

but

GARMIN watch- ANT+ stick- virtual box


here:

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.

 

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
Re: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« Reply #23 on: January 22, 2020, 06:58:06 pm »

GARMIN 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:


From 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
 

Offline Peter Gamma

  • Regular Contributor
  • *
  • Posts: 240
  • Country: ch
Re: GARMIN watch - ConnectIQ-Watch-IoT - Microsoft Azure Platform
« Reply #24 on: January 22, 2020, 07:34:06 pm »
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/

Or 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/

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf